Skip to main content
Glama

Set an access role's reach into a mailbox

set_access_role_mailbox_access

How far an access role's agents may reach into one mailbox: the access level (write = everything its capabilities allow, read = search and read only, none = hidden), which folders its file tools may use (all / only these / all except these, by folder path), and which calendars (all / only these / all except these, by calendar name). Give only the parts you want to change; the others stay as they are. list_access_roles shows the current standing. This only stages a request: the owner opens the link in their browser, reviews it, and approves it there with their agent PIN. Never ask for or accept the PIN in chat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleYesThe access role's name.
levelNoAccess level: write, read, or none (hidden).
foldersNoFolder paths for an only/except folder rule, e.g. ["Clients/Acme", "Shared"].
mailboxYesThe connected mailbox's address.
providerNoOnly needed when the same address is connected under more than one provider.
calendarsNoCalendar names (or ids) for an only/except calendar rule.
workspaceNoWhich workspace, by name or id. Only needed when you own more than one — list_workspaces shows them.
folderModeNoFolder rule for file tools: all, only, or except.
calendarModeNoCalendar rule: all, only, or except.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / provider / description
      Previous value: -"Only needed when the same address is connected under both providers."New value: +"Only needed when the same address is connected under more than one provider."
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "google",
      -  "microsoft"
      -]New value: +[
      +  "google",
      +  "microsoft",
      +  "agentmail"
      +]
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources