Skip to main content
Glama

mail_connect_link

A one-time link that connects a mailbox, for the person whose mailbox it is to open in their own browser. provider: google (Gmail or Google Workspace) or microsoft (Microsoft 365 or Outlook). It works once, for 15 minutes, and shows Google's or Microsoft's own permission screen. Only on the server's copy (MOJOBASE_SERVER). Give it to the person who asked; never open it yourself.

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": {
      "provider": "<provider>"
    },
    "name": "mail_connect_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false) by disclosing single-use behavior, a 15-minute lifetime, the fact that the provider's own permission screen is shown, and that the link must only be handled on the server copy. These are exactly the operational constraints an agent needs before calling it.

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 what the tool produces, then constraints, then handling instructions — a sensible order with no filler. Some phrasing is clipped ('Only on the server's copy (MOJOBASE_SERVER)') and the sentence fragments read abruptly, costing a little polish.

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?

For a one-parameter tool with no output schema, it covers lifecycle, audience, auth screen, and provider meaning — nearly everything needed. It never explicitly says the return value is a URL string, which would close the last gap.

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?

Schema description coverage is 0%, so the description carries the load, and it does explain the provider values by mapping google to Gmail/Google Workspace and microsoft to Microsoft 365/Outlook — meaning the bare enum does not convey. No syntax or format guidance for the provider string beyond that, so not a full 5.

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

Purpose4/5

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

The description states a specific verb+resource: it produces a one-time link that connects a mailbox. It is clearly not a mailbox listing or sync tool, so it is distinguishable from siblings like mail_accounts or mail_sync, though it never names any sibling explicitly.

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 concrete usage conditions: 'Give it to the person who asked; never open it yourself' and 'Only on the server's copy (MOJOBASE_SERVER)'. That is strong when/how guidance, but there is no explicit statement of prerequisites (e.g. whether a mailbox must already exist) or named alternatives.

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.