Skip to main content
Glama

connect_channel

Connect one of the user's social accounts to agent-media. Returns a link for the user to open in the browser where they are signed in to agent-media; there they sign in to the network and approve. Then call get_channels to check it is connected. No password or token passes through here. TikTok is connected in the app, after its consent step.

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": {
      "network": "<network>"
    },
    "name": "connect_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
networkYestwitter is X.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds real behavioral context beyond them: no data is written here, instead a browser link is returned where the user signs in and approves, and no password or token passes through the tool. It also sets the expectation that connection is asynchronous and must be confirmed via get_channels.

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?

The flow is front-loaded: what it does, what the user must do, how to verify, then the security note and the TikTok exception. No filler, though the final TikTok sentence is compressed to the point of needing a second read.

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, and the description compensates by explaining that the return value is a link for the user to open rather than a connected account object. Combined with the verification step and the credential-handling note, an agent has everything needed to invoke and follow up correctly.

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?

With a single fully enumerated parameter at 100% schema coverage (including the 'twitter is X.' clarification), the schema does the heavy lifting. The description adds only generic framing ('one of the user's social accounts'), not per-value behavior such as which networks require the in-app route beyond the TikTok note.

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 ('Connect one of the user's social accounts to agent-media') plus the out-of-band flow (a link the user opens in the browser). It is clearly distinguishable from get_channels, which the description names as the verification step rather than the connection step.

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 an explicit follow-up ('Then call get_channels to check it is connected') and a special case for TikTok that implies a different path. The TikTok caveat is terse enough to be slightly ambiguous about whether this tool should be called at all for that network, which keeps it off a 5.

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