Skip to main content
Glama

Connect an account (link for the human)

connections_link

The one URL the human clicks to connect a social account on a platform (connections_list already carries one per missing platform). Lasts 15 minutes, works only signed in as this account. Where platforms_list gives connect.asks, the link opens that network's form on Accounts, which asks for it (a key, a login, a webhook URL, a server); otherwise the platform's own sign-in follows in the browser. Then the account shows in connections_list. Never ask the human to paste a key into the chat. Needs the write scope.

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": {
      "platform": "<platform>"
    },
    "name": "connections_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformYesA platform id from platforms_list with oauth: true (connectable today; connect.method says how).

Output Schema

NameRequiredDescriptionDefault
urlYes
openNo
connectNo
platformYes
expiresAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / platform / description
      Previous value: -"A platform id from platforms_list with oauth: true."New value: +"A platform id from platforms_list with oauth: true (connectable today; connect.method says how)."
    • addedOutput schema / properties / connect
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "asks": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "method": {
      +      "enum": [
      +        "oauth",
      +        "webhook",
      +        "key",
      +        "login",
      +        "bot"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "method",
      +    "asks"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / open
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: a 15-minute expiry, the signed-in-as-this-account constraint, the write-scope requirement, and the full post-click flow (platform form on Accounts vs. native browser sign-in) ending with the account appearing in connections_list. These are exactly the operational details an agent needs before handing a link to a human, and none are inferable from readOnlyHint/destructiveHint/openWorldHint.

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 single most important fact (the clickable URL), then layered with expiry, auth, and flow. It is dense and slightly run-on in the middle clause about what the network's form asks for, but nearly every clause carries distinct 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?

Output schema exists, so return values need no explanation; auth, expiry, and scope requirements are all covered. The one residual gap is the relationship to connections_list's existing links, which an agent may wonder about when deciding whether to call this at all.

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 coverage is 100%, so the baseline is 3, but the description adds meaning: the platform id must be connectable via oauth and connect.method determines whether the flow opens the Accounts form or a native sign-in. That explains consequences of the parameter value rather than restating the schema.

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: producing 'the one URL the human clicks to connect a social account on a platform.' It explicitly distinguishes itself from connections_list and platforms_list by naming what those tools already carry, so an agent can tell the three apart without opening schemas.

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?

Clear usage context (human must click the link while signed in as this account) and an explicit anti-pattern: 'Never ask the human to paste a key into the chat.' It also routes the agent to platforms_list for connect.asks. The only gap is a mild tension in saying connections_list 'already carries one per missing platform,' which leaves slightly unclear why this call is needed rather than reusing that URL.

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.