Skip to main content
Glama
gmail-reader-mcp

gmail-reader-mcp

by jgimitola

authenticate

Sign in to the Google account used by Gmail reader tools, returning a URL to open in a browser and grant read-only Gmail access; also reports the current account if already signed in.

Instructions

Sign in to the Google account used by the other tools. Returns a Google sign-in URL: show it to the user and ask them to open it in a browser on this machine and grant read-only Gmail access. Run this when other tools report that authentication is required. Safe to call anytime — reports the current account if already signed in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "authenticate"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/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 disclosure burden. It does well on the essentials — it reveals that a URL is returned, that the user must open it on this machine, that the grant is read-only Gmail access, and that re-calling is harmless. It is silent on what happens after the grant (does it need to be called again, is a token stored, does it expire), which are the details an agent most needs for a multi-step auth flow. I raised it from the 2-level because it discloses the interactive/human-in-the-loop nature clearly.

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

Conciseness5/5

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

Three short sentences that are front-loaded: what it does, what to do with the result, when to run it. The operational instruction about showing the URL to the user and the safety reassurance each earn their place.

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

Completeness4/5

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

With no output schema and no annotations, the description does the heavy lifting: it names the return value, the required user action, and the re-invocation behavior. The remaining gap is authentication lifecycle state (token persistence/expiry) after the grant, which an agent would want before deciding whether to re-call.

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

Parameters4/5

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

The tool takes zero parameters, so the schema baseline is 4 and there is nothing further the description could add. It correctly does not invent parameter guidance.

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 concrete verb and resource ('Sign in to the Google account') plus the immediately useful return value (a sign-in URL) and scope (read-only Gmail access). An agent can distinguish this from routine data tools without opening another schema.

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?

Gives an explicit trigger ('Run this when other tools report that authentication is required') and an explicit safety condition ('Safe to call anytime — reports the current account if already signed in'). It does not reference the sign_out sibling as the inverse case, so the alternative-routing element is only implicit.

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