Skip to main content
Glama

create_connect_link

Destructive

A personal link (valid 1-14 days, default 7) with which ONE person connects their OWN mailbox, calendar or meeting account — Google, Microsoft, or IMAP/SMTP — without a web login and without seeing anything else. The connected account belongs to that person. Meant for employees who only use WhatsApp: send them the link. Without user_id it is for the caller (e.g. the person writing on WhatsApp); for someone else tenant admin only. kinds: any of mail, calendar, meetings, files (default mail+calendar+meetings). Returns url and expires_at.

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

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of days
kindsNoAccount types the person may connect; default mail, calendar and meetings
user_idNoID of the user

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / days / description
      Added value: +"Number of days"
    • addedInput schema / properties / kinds / description
      Added value: +"Account types the person may connect; default mail, calendar and meetings"
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With destructiveHint=true already declared, the description adds substantial context: single-person scope, no web login, the connection belongs to that person, default expiry, and that it returns url and expires_at. It does not explain what 'destructive' means here (e.g. revoking prior links) or whether a link can be reused, which is the remaining gap for a flagged-destructive mutation.

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 core definition, then defaults, then authorization, then return values — a logical order with no filler. It is a dense block that would read faster as short clauses, but every sentence carries information.

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 3-parameter creation tool with no output schema, the description covers the return values, expiration behavior, scope limits, and permission model. Only the destructiveHint implication and link lifecycle after creation are unaddressed.

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?

Adds real meaning beyond a 100%-covered schema: days carries a valid range of 1-14 and a default of 7, kinds has an explicit default of mail+calendar+meetings, and user_id gains the caller-vs-admin authorization semantics. This is exactly what parameter documentation should add on top of bare field descriptions.

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 (create a connect link) and disambiguates scope precisely: one person, their own mailbox/calendar/meeting account, Google/Microsoft/IMAP-SMTP, no web login. The agent can distinguish this from link-creating siblings like send_connect_link or create_wholesale_shop_link from the description alone.

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 clear when-to-use context ('Meant for employees who only use WhatsApp: send them the link') and a concrete authorization rule (no user_id = caller; another user = tenant admin only). It stops short of naming the sibling that actually delivers the link (send_connect_link), leaving that routing implicit.

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.