Skip to main content
Glama

connect_account

Idempotent

Connect a credential-based social account (telegram, bluesky, discord, wordpress, devto, hashnode, lemmy) directly, without a browser session. Call list_platforms with view=connect_link first to discover the exact credential fields the platform needs. Prefer scoped secrets: app passwords (Bluesky, WordPress), bot tokens (Telegram), webhook URLs (Discord), and API tokens (Dev.to, Hashnode) over primary passwords. Warn the user that any credential they share passes through this conversation. For OAuth platforms (Instagram, X, LinkedIn, ...) use create_connect_session instead.

Input Schema

NameRequiredDescriptionDefault
patNoHashnode: personal access token from Account Settings, Developer.
handleNoBluesky: handle, for example posterly.bsky.social.
api_keyNoDev.to: API key from Settings, Extensions, DEV Community API Keys.
chat_idNoTelegram: target channel or group chat ID.
instanceNoLemmy: instance domain, for example lemmy.world.
passwordNoLemmy: account password (TOTP-enabled accounts are not supported).
platformYesCredential-based connection target: telegram, bluesky, discord, wordpress, devto, hashnode, or lemmy.
site_urlNoWordPress: site URL, e.g. https://blog.example.com.
usernameNoWordPress: username the application password belongs to. Lemmy: username or email.
bot_tokenNoTelegram: bot token from BotFather.
webhook_urlNoDiscord: channel webhook URL from channel settings, Integrations, Webhooks.
app_passwordNoBluesky: app password from account settings. WordPress: application password from wp-admin Users, Profile, Application Passwords.
workspace_idNoWorkspace to connect the account into. Workspace-scoped API keys ignore this.
connect_session_idNoOptional connect session ID to mark connected or failed based on the outcome.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), and the description adds meaningful context beyond them: the credential-passthrough warning, the preference for scoped secrets over primary passwords, and the fact that connect_session_id lets the caller mark a session connected or failed. This is substantive behavioral disclosure.

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 action, then the prerequisite, then the credential guidance, then the security warning. Dense but nearly every clause carries actionable information; the two inline lists add length without much redundancy.

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 14-parameter mutation tool with no output schema, the description covers when to use it, prerequisites, credential selection, and the security implication. It does not say what a successful connect returns (e.g. the resulting account record), which is the only real gap.

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 description coverage is 100%, so the per-field documentation is already carried by the schema and the baseline would be 3. The description goes one step further by ranking credential options (prefer app passwords, bot tokens, webhook URLs, API tokens over primary passwords), which is preference meaning the schema does not encode.

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 a credential-based social account') plus the explicit scope qualifier 'directly, without a browser session', and enumerates the supported platforms. An agent can distinguish it from create_connect_session and disconnect_account without opening any 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?

Gives an explicit prerequisite ('Call list_platforms with view=connect_link first to discover the exact credential fields'), names the alternative tool for OAuth platforms (create_connect_session), and explains which credential type to prefer per platform. Both the when-to-use and when-not-to-use cases are covered.

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