Skip to main content
Glama

Get the link to connect an account

get_connect_link
Read-onlyIdempotent

Use when the user asks to connect, add, link or reconnect a social media account, or asks what they need before connecting one. Returns the address of the workspace's Connect page for the user to open in their browser, and for each platform (or the one named in platform) whether a new account can connect today, a plain note on its availability, and any prerequisite the platform sets, for example that Instagram needs a professional account linked to a Facebook Page. An assistant cannot connect an account itself and this tool connects nothing: give the user the address, wait until they say they have finished, then call list_accounts to confirm the new account and its health.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_connect_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoOne platform to describe, for example instagram; omit to get every platform.

Output Schema

NameRequiredDescriptionDefault
platformsYes
connectUrlYes
humanActionYesA person must act in a browser: give the user url and the action sentence, then stop; when they say it is done, call resumeTool (a tool name) and trust only its answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / humanAction / properties / resumeTool / enum
      Previous value: -[
      -  "list_accounts",
      -  "get_platform_schema",
      -  "import_media",
      -  "create_draft",
      -  "publish_post",
      -  "update_draft_settings",
      -  "cancel_scheduled",
      -  "delete_post_record",
      -  "submit_batch",
      -  "get_batch_status",
      -  "get_receipt",
      -  "get_verification_status",
      -  "list_attention_items",
      -  "resolve_attention",
      -  "get_handoff_pack",
      -  "request_approval",
      -  "list_posts",
      -  "get_delivery_digest",
      -  "create_upload_link",
      -  "get_upload_status",
      -  "pause_workspace",
      -  "unpublish_post",
      -  "get_post_engagement",
      -  "get_engagement_rollup",
      -  "get_best_times",
      -  "get_workspace",
      -  "get_connect_link",
      -  "list_media",
      -  "duplicate_post",
      -  "disconnect_account",
      -  "get_brand_instructions",
      -  "search_instagram_audio"
      -]New value: +[
      +  "list_accounts",
      +  "get_platform_schema",
      +  "import_media",
      +  "create_draft",
      +  "publish_post",
      +  "update_draft_settings",
      +  "cancel_scheduled",
      +  "delete_post_record",
      +  "submit_batch",
      +  "get_batch_status",
      +  "get_receipt",
      +  "get_verification_status",
      +  "list_attention_items",
      +  "resolve_attention",
      +  "get_handoff_pack",
      +  "request_approval",
      +  "list_posts",
      +  "get_delivery_digest",
      +  "create_upload_link",
      +  "get_upload_status",
      +  "pause_workspace",
      +  "unpublish_post",
      +  "get_post_engagement",
      +  "get_engagement_rollup",
      +  "get_best_times",
      +  "get_workspace",
      +  "get_connect_link",
      +  "list_media",
      +  "duplicate_post",
      +  "disconnect_account",
      +  "get_brand_instructions",
      +  "search_instagram_audio",
      +  "repeat_post",
      +  "list_repeats",
      +  "set_repeat_state"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / humanAction / properties / resumeTool / enum
      Previous value: -[
      -  "list_accounts",
      -  "get_platform_schema",
      -  "import_media",
      -  "create_draft",
      -  "publish_post",
      -  "update_draft_settings",
      -  "cancel_scheduled",
      -  "delete_post_record",
      -  "submit_batch",
      -  "get_batch_status",
      -  "get_receipt",
      -  "get_verification_status",
      -  "list_attention_items",
      -  "resolve_attention",
      -  "get_handoff_pack",
      -  "request_approval",
      -  "list_posts",
      -  "get_delivery_digest",
      -  "create_upload_link",
      -  "get_upload_status",
      -  "pause_workspace",
      -  "unpublish_post",
      -  "get_post_engagement",
      -  "get_engagement_rollup",
      -  "get_best_times",
      -  "get_workspace",
      -  "get_connect_link",
      -  "list_media",
      -  "duplicate_post",
      -  "disconnect_account",
      -  "get_brand_instructions"
      -]New value: +[
      +  "list_accounts",
      +  "get_platform_schema",
      +  "import_media",
      +  "create_draft",
      +  "publish_post",
      +  "update_draft_settings",
      +  "cancel_scheduled",
      +  "delete_post_record",
      +  "submit_batch",
      +  "get_batch_status",
      +  "get_receipt",
      +  "get_verification_status",
      +  "list_attention_items",
      +  "resolve_attention",
      +  "get_handoff_pack",
      +  "request_approval",
      +  "list_posts",
      +  "get_delivery_digest",
      +  "create_upload_link",
      +  "get_upload_status",
      +  "pause_workspace",
      +  "unpublish_post",
      +  "get_post_engagement",
      +  "get_engagement_rollup",
      +  "get_best_times",
      +  "get_workspace",
      +  "get_connect_link",
      +  "list_media",
      +  "duplicate_post",
      +  "disconnect_account",
      +  "get_brand_instructions",
      +  "search_instagram_audio"
      +]
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the crucial behavioral fact that this tool connects nothing and the assistant cannot perform the connection itself, plus that prerequisites such as Instagram's linked Facebook Page come back in the result. It also sets the interaction loop (user opens the link, reports back). This is exactly the context annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the trigger condition, then the return shape, then the critical caveat and follow-up. No sentence is redundant and the most failure-prone information (this tool connects nothing) is placed where it cannot be missed.

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?

For a single-optional-parameter read tool with an output schema, this covers trigger, output contents, limitations, and the next step. Nothing an agent needs to call it and handle the result 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?

Schema coverage is 100% and the single platform parameter is already documented as 'omit to get every platform.' The description restates that default ('for each platform, or the one named in platform') without adding syntax, casing, or format guidance, so it neither helps nor harms relative to the schema baseline.

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 description states a concrete verb and resource ('Returns the address of the workspace's Connect page'), and specifies the payload: per-platform connectability today, a plain availability note, and platform prerequisites. It is unmistakably distinct from siblings like list_accounts, which it explicitly hands off to for verification.

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?

It opens with an explicit trigger set ('connect, add, link or reconnect a social media account, or asks what they need before connecting one') and closes with the prescribed follow-up sequence: give the address, wait for the user to confirm, then call list_accounts. When-to-use and what-to-do-next are both spelled out.

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.