Skip to content
mentoor

Topic 2 of 5 · 4 min read

Connector scopes and what agents read

Goal: Read a connector's permission request and choose the narrowest access that still does the task.

A connector gives an assistant a key to your accounts, and the scope on the consent screen says how many doors that key opens. Connectors link ChatGPT, Claude, Gemini, Copilot and agent tools to Gmail, Google Drive, Slack, Outlook, calendars and more. Most use OAuth, a standard that lets you approve access without handing over your password.

Check yourself · 1 of 3

What does the scope on an OAuth consent screen describe?

Choose one answer

Why it matters

An assistant that can search your whole mailbox or drive sees far more than one question needs. Everything it can read may land in its context, be summarised in an answer, or be used by a linked tool. Old threads, HR files, bank statements and other people's private messages sit next to the file you wanted. A hidden instruction in one of those documents may also steer the agent, a risk Simon Willison calls the lethal trifecta: private data, untrusted content and a way to send data out, all in one agent.

How to read a consent screen

  1. Read the verbs. "View" is read-only. "Edit", "send", "delete" and "manage" let the tool change things. Refuse write access when the task is only to read.
  2. Read the object. "See all files in your Drive" is far wider than "see files you pick".
  3. Look for duration. Some access lasts until you revoke it, even when you stop using the tool.
  4. Check who is asking. Is it the vendor you know, or a small third-party app with a similar name?
  5. Prefer narrow options. Pick one folder, one label or one calendar. Use a separate account for the connector when the tool allows it.

Before and after

Before: Allow access to read, compose, send and delete all email, and see all Drive files, to summarise this week's invoices.

The task needs a few invoices. The grant covers every message and file, and can send mail as you.

After: Read-only access to the folder "Invoices 2026" and to the label "Invoices". No send, no delete.

What goes wrong

  • Scope creep. A connector set up for one task stays on for months and keeps reading.
  • Forgotten grants. Old tools you tried once still hold access. Your Google, Microsoft or Slack account page lists them, and you can remove them.
  • Shared data. Your drive holds files others shared with you. Connecting it lets the assistant read their content too, which they never agreed to.

Examples

Narrowing a request

A sales rep wants an assistant to prepare for tomorrow's calls. The consent screen offers full calendar and full mailbox access. The rep grants read-only access to the calendar and one shared folder of account notes. The task is still done, and the inbox stays private.

The forgotten tool

A manager tried an email-sorting app a year ago and never used it again. On the account's connected-apps page, it still holds read and send access. Removing it takes one click and ends that access.

Key points

  • A connector uses OAuth to give an assistant ongoing access, and the scope states how much it can reach.
  • Read-only access is safer than edit, send or delete when the task is only to read.
  • Choose a folder, label or calendar instead of the whole account when the tool allows it.
  • Private data, untrusted content and an outbound channel together make an agent risky.
  • Review and remove old connections in your account's third-party access page.

Common mistakes

  • Clicking Allow on the widest scope because it is the default.
  • Granting send or delete rights for a read-only task.
  • Leaving connectors on after the task is finished.
  • Forgetting that shared files belong to other people too.

Check yourself · 2 of 3

An assistant only needs to summarise invoices in one folder. Which grant is best?

Choose one answer

Check yourself · 3 of 3

Why can a connector to a shared drive expose other people's information?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic