Skip to main content
Glama

Start account connection

start_connect

Start connecting an Instagram, Facebook, TikTok, YouTube, X, Bluesky or LinkedIn account (a personal profile or an organization Page). For Bluesky, handle (such as alice.bsky.social) starts at the account's own server; leave it out for accounts hosted on bsky.social. X returns 402 x_billing_required until the workspace has a card on file, even within the free accounts, because X is billed per API call. Past the workspace's three free connected accounts with no card on file, any platform returns 402 billing_required with details.billingUrl, where the workspace owner adds a card. For Instagram, authMethod picks Instagram Login (the default) or facebook_login, which connects through the Facebook Page linked to the account; a profile's Instagram uses one of the two. Returns an authUrl that the account owner must open in a browser; then poll get_connect_session until the status is connected, failed or expired.

Input Schema

NameRequiredDescriptionDefault
handleNo
platformYes
profileIdYesA profileId from list_profiles.
authMethodNo
redirectUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "tiktok_ads",
      -  "facebook",
      -  "meta_ads",
      -  "whatsapp",
      -  "youtube",
      -  "x",
      -  "bluesky",
      -  "google_business_profile"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "tiktok_ads",
      +  "facebook",
      +  "meta_ads",
      +  "whatsapp",
      +  "youtube",
      +  "x",
      +  "bluesky",
      +  "linkedin",
      +  "google_business_profile"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "facebook",
      -  "whatsapp",
      -  "youtube",
      -  "x",
      -  "bluesky",
      -  "google_business_profile"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "tiktok_ads",
      +  "facebook",
      +  "meta_ads",
      +  "whatsapp",
      +  "youtube",
      +  "x",
      +  "bluesky",
      +  "google_business_profile"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / profileId / description
      Previous value: -"Defaults to the profile your API key is bound to."New value: +"A profileId from list_profiles."
    • changedInput schema / required
      Previous value: -[
      -  "platform"
      -]New value: +[
      +  "platform",
      +  "profileId"
      +]
  4. Changed2 schema fields changed
    • addedInput schema / properties / handle
      Added value: +{
      +  "maxLength": 253,
      +  "pattern": "^(?:did:(?:plc|web):[A-Za-z0-9._:%-]+|@?(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\.)+[A-Za-z](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)$",
      +  "type": "string"
      +}
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "facebook",
      -  "whatsapp",
      -  "youtube",
      -  "x",
      -  "google_business_profile"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "facebook",
      +  "whatsapp",
      +  "youtube",
      +  "x",
      +  "bluesky",
      +  "google_business_profile"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "facebook",
      -  "whatsapp",
      -  "youtube",
      -  "google_business_profile"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "facebook",
      +  "whatsapp",
      +  "youtube",
      +  "x",
      +  "google_business_profile"
      +]
  6. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say non-read-only, open-world, non-destructive; the description goes far beyond by disclosing the async auth flow, browser handoff requirement, and exact error contracts (402 x_billing_required for X, 402 billing_required with details.billingUrl past three free accounts). That is precisely the operational context an agent cannot infer from annotations.

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 and platform list, then platform-specific caveats, then the return/polling contract — a sensible order. It is dense in the middle (billing clauses stacked together) but nearly every sentence carries actionable detail; nothing is padding.

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?

With no output schema, the description usefully documents the returned authUrl and the required follow-up call, plus the billing failure modes. It is incomplete on the enum surface: tiktok_ads, meta_ads, whatsapp, and google_business_profile are valid platforms but never mentioned, and redirectUrl is undocumented.

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 only 20%, and the description compensates well for handle (Bluesky DID/handle, server resolution, omission defaults to bsky.social) and authMethod (instagram_login vs facebook_login and why). It leaves redirectUrl and the required profileId's sourcing (only in the schema) unexplained, so a small gap remains.

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?

Opens with a specific verb+resource: starting the connection (OAuth) flow for a named set of social platforms, including the profile-vs-Page distinction. It is clearly separable from siblings such as get_connect_session (polling) and disconnect_account (teardown).

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?

Explicitly instructs to open the returned authUrl in a browser and then poll get_connect_session until connected/failed/expired, which is the key sequencing guidance. It also names the preconditions that select a different outcome (card on file for X, three-account free limit). What it lacks is any statement of when NOT to use it, e.g. against an already-connected account.

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