Skip to main content
Glama

connect_account_link

Read-onlyIdempotent

Hand the user a link to connect (authorize) a social account. Connecting a platform is a browser OAuth popup flow gated by that platform's own login and consent screen, so it can only be completed by a signed-in human clicking through it in their own browser, never by an API call or an AI agent acting alone. Use this tool whenever the user asks to connect, add, authorize or reconnect a social account: call it, then relay the returned url and instructions to the user verbatim so they can open it themselves. Do not try to call any auth/OAuth endpoint directly on the user's behalf, and do not claim the account is connected until the user confirms it or list_integrations shows it as connected. The link deep-links into Settings, Integrations tab, and auto-opens the connect flow for that platform. CAPABILITY: read: side-effect-free.

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

Input Schema

NameRequiredDescriptionDefault
providerYesPlatform the user wants to connect; the returned link opens that platform's connect flow in Settings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / provider / description
      Previous value: -"Platform to connect. One of: writeas|listmonk|farcaster|dribbble|mastodon|pixelfed|discord|lemmy|twitch|slack|kick|instagram|twitter|tiktok|facebook|pinterest|youtube|linkedin|linkedin_page|reddit|threads|tumblr."New value: +"Platform the user wants to connect; the returned link opens that platform's connect flow in Settings."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The annotations only say readOnlyHint=true, idempotent, and openWorld. The description adds real context beyond them: the connect flow is a browser OAuth popup gated by the platform's own login and consent screen, only a signed-in human can complete it, and the link deep-links into Settings > Integrations and auto-opens the flow. It also states the post-call obligation not to claim success until confirmation.

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?

It is front-loaded with the action and the constraint, and every sentence carries operational meaning. There is minor redundancy between 'never by an API call or an AI agent acting alone' and the later 'Do not try to call any auth/OAuth endpoint directly,' which restate the same prohibition.

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?

There is no output schema, but the description compensates by telling the agent what comes back (a url plus instructions) and what to do with it. For a one-parameter, side-effect-free link generator, nothing needed to call it correctly is 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 parameter with 100% schema description coverage and an enum of 22 platforms, so the schema already carries the semantics. The description adds only marginal detail, namely that the link opens that platform's connect flow in Settings, which largely restates the schema's own provider description.

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?

The first sentence names a specific verb and resource: 'Hand the user a link to connect (authorize) a social account.' It also clarifies what the tool is not, by explaining that the actual connection happens in a browser OAuth popup, not via this call. An agent can distinguish this from list_integrations (a status check) and build_in_public_connect_link without opening a schema.

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?

The description gives an explicit trigger ('whenever the user asks to connect, add, authorize or reconnect a social account'), an explicit prohibition ('Do not try to call any auth/OAuth endpoint directly on the user's behalf'), and a named verification alternative ('list_integrations shows it as connected'). It also spells out the required follow-up action: relay the returned url and instructions verbatim.

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.