Skip to main content
Glama

Connect account

connect_account

Start connecting one of the user's own social accounts to their SocialClaw workspace. For most providers this returns an authorizeUrl; give it to the user so they sign in with the provider themselves (SocialClaw never sees their password). Telegram and Discord have no sign-in page: Telegram takes the bot token and chat id of a bot the user created and made admin of their channel, and Discord takes a webhook URL the user created for their channel. Only pass values the user gave you for this purpose.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdNoTelegram chat target, e.g. @yourchannel (telegram only).
botTokenNoTelegram only: token of the user's own bot, from @BotFather.
providerYesProvider to connect.
webhookUrlNoDiscord only: webhook URL the user created in their channel settings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / botToken / description
      Previous value: -"Telegram bot token (telegram only)."New value: +"Telegram only: token of the user's own bot, from @BotFather."
    • changedInput schema / properties / webhookUrl / description
      Previous value: -"Discord channel webhook URL (discord only)."New value: +"Discord only: webhook URL the user created in their channel settings."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare write, non-idempotent, open-world behavior, and the description adds substantial context beyond that: SocialClaw never sees the password, most providers return an authorizeUrl, and Telegram/Discord require pre-created tokens/webhooks. This is rich behavioral disclosure that the structured fields do not provide.

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 action, then the provider branching, then the safety note. Three sentences, each earning its place, though slightly long. No filler.

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?

Covers the full connect workflow including provider-specific parameter requirements and safety guidance. No output schema exists, but the return of authorizeUrl is mentioned, making it complete for an agent to act.

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 explains provider-specific parameter usage (which parameters apply to Telegram vs Discord) and stresses only passing user-provided values, adding meaning beyond 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+resource (connect a social account) and scopes it to the user's own accounts and their SocialClaw workspace. It is clearly distinguishable from siblings like list_accounts or delete_instagram_comment.

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 usage context: the user signs in with the provider, and Telegram/Discord special cases are explained. It doesn't explicitly name an alternative tool, but the flow (start connecting, then hand URL to user) makes when-to-use clear.

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.