Skip to main content
Glama

Link to connect the sending email

connect_email

Use this when the owner wants their follow-up emails to go out from their own Gmail or Google Workspace address. Returns a one-time link (10 minutes, works once) that connects the account's sending email — the address its follow-up emails go out from — for Gmail or Google Workspace, through Google's own login. We ask Google only for permission to send email for them, never to read it. Give the person the link and tell them: "you'll get a code by email at your account address" — the page emails a 6-digit code to the account's confirmed email, and only that code lets the connect go ahead (so a link sent to someone else is useless to them). Then wait for them to say it is done and call get_started to confirm (connected.sending_email). For any other email provider (Outlook, a business mail server…) this link does not apply: tell them to connect it in the console, at Settings › Connections › Sending email. If the link expires or was used, call this again for a fresh one.

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": "connect_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoClient website slug (or id). Leave out on your own account; required for platform-scoped keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: the link is one-time and expires in 10 minutes, Google grants send-only permission (never read), the connect is gated by a 6-digit code mailed to the account's confirmed address, and the agent must hand the link to the person and wait for confirmation. That is exactly the operational detail annotations cannot carry.

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 purpose and the when-to-use condition, then the mechanics, then the alternative path and retry rule — a sensible order with little filler. It is dense and long for a single-parameter tool, and the parenthetical restating 'the address its follow-up emails go out from' is a small redundancy.

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

Completeness5/5

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

No output schema exists, and the description compensates by describing exactly what is returned (a one-time, 10-minute link) and what the agent should do with it. The user-facing script and the confirmation step close the loop that would otherwise be missing.

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

Parameters3/5

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

There is a single optional `client` parameter fully documented in the schema (100% coverage), and the description adds nothing about it — no example of how a slug is obtained or when it is actually required. Baseline 3 applies since the schema already does this work.

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 action and resource — returns a one-time link that connects the account's sending email for Gmail/Google Workspace — and explicitly bounds it away from other providers or other connection types. An agent can tell what this does and what it does not do from the first two sentences.

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

Usage Guidelines5/5

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

Explicit when-to-use trigger (owner wants follow-ups sent from their own Gmail/Workspace address), an explicit when-not with an alternative path (Outlook or business mail server → Settings › Connections › Sending email in the console), and a recovery rule (call again if the link expired or was used). It also names the correct follow-up call, get_started.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources