Skip to main content
Glama

manageGmailSettings

Manage Gmail account settings for IMAP, POP, vacation replies, language, forwarding, delegates, and send-as by selecting a resource and action, with optional payload details.

Instructions

Manage Gmail account settings via a resource/action dispatch. Provide resource, action, and (where the action needs a body or identifier) a payload.

Valid resource → actions:

  • imap: get, update (payload: { enabled, expungeBehavior?, maxFolderSize? })

  • pop: get, update (payload: { accessWindow, disposition })

  • vacation: get, update (payload: { enableAutoReply, responseSubject?, responseBodyPlainText, restrictToContacts?, restrictToDomain?, startTime?, endTime? })

  • language: get, update (payload: { displayLanguage })

  • autoForwarding: get, update (payload: { enabled, emailAddress, disposition })

  • forwardingAddress: list, get/delete (payload: { forwardingEmail }), create (payload: { forwardingEmail })

  • delegate: list, get/create/delete (payload: { delegateEmail })

  • sendAs: list, get/delete/verify (payload: { sendAsEmail }), create/patch/update (payload: { sendAsEmail, displayName?, replyToAddress?, signature?, isPrimary?, treatAsAlias? })

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "resource": "<resource>",
      "action": "<action>"
    },
    "name": "manageGmailSettings"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesThe operation to perform (must be valid for the chosen resource)
payloadNoResource/action-specific fields (request body or identifier). See the description for valid keys per resource.
resourceYesThe settings resource to operate on

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden. It implicitly separates reads (get/list/verify) from mutations (update/create/delete/patch), which is useful, but it says nothing about permissions or domain-admin requirements, irreversibility of delete on delegate/forwardingAddress/sendAs, or the fact that verify likely triggers an outbound verification email.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the dispatch contract, then a scannable per-resource list; nearly every token earns its place. The compressed grouping ("get/delete/verify (payload: ...), create/patch/update (payload: ...)") is efficient but slightly forces the reader to parse which payload keys apply to which action in the group.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Inputs are thoroughly covered, which is the hard part for a free-form payload dispatcher, but with no annotations and no output schema the description leaves the agent without any behavioral or return-value context for destructive actions like delete on delegates or forwarding addresses.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema's payload is a free-form object (additionalProperties: {}) and even defers to the description for valid keys, so the description is the only source of payload semantics. It documents required and optional keys per resource/action, which the schema cannot express at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Manage Gmail account settings") and immediately names the dispatch mechanism (resource/action). The enumeration of the eight settings resources makes it unambiguously distinct from siblings like manageFilter, manageLabel, or manageCalendar.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The resource → actions matrix is effectively per-case usage guidance: it tells the agent which actions are legal for each resource, which is the main selection decision here. It stops short of saying when to reach for this tool versus a sibling (e.g. forwardingAddress vs manageFilter), so it is clear context rather than full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools