Skip to main content
Glama

List connected platforms

list_platform_connections
Read-only

Lists the platform connections (YouTube, Instagram, TikTok, X, etc.) attached to a workspace, with the connected username, health status, and capability flags. Use this before create_post_draft or publish_now to see which platforms the user can actually post to. Per connection you get: health ('healthy' | 'needs_reconnect' | 'rate_limited' | 'disconnected') as a one-shot state signal ('disconnected' means the user disconnected it and the app shows it as not connected; get_connect_link connects it again), can_publish (true when the token can accept new posts), can_sync_analytics (true only when the platform is supported by the analytics pipeline AND the connection is healthy; Telegram, Discord, WordPress, WhatsApp, Ghost, Blogger and Vimeo always return false because they have no analytics. X returns true but only syncs stats once X analytics is set up in the ShortSync app under Settings > Integrations, and Google Business Profile syncs profile-level stats only), and the raw isActive + connection_status fields for reference. Instagram connections also return music_via_facebook: true when the user also linked Facebook so Instagram posts can use Instagram's music library (not a separate platform). Google Business Profile connections also return locations (id, title, address, can_post, is_default): one Google login can manage several business locations, and these ids go in platform_settings.locationIds via update_post. When health is 'needs_reconnect', the user must sign in to the platform again (publishing or syncing will fail until then): those connections include a reconnect_url to share with the user. To connect a platform that isn't listed, call get_connect_link.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "list_platform_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idYesWorkspace whose connections to list. Get one from list_workspaces.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description goes well beyond that: it defines every health state, explains that 'disconnected' means the user disconnected it, documents per-platform analytics quirks (Telegram/Discord/WordPress/etc. always false, X only after app setup, Google Business Profile profile-level only), and notes that needs_reconnect connections carry a reconnect_url. That is substantive behavioral context. It stops short of describing ordering, pagination, or what an empty workspace returns, which keeps it from a 5.

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: purpose in sentence one, usage routing in sentence two, then field-level detail. Given there is no output schema, the field documentation is load-bearing rather than padding, though the long parenthetical enumerations of analytics-less platforms and the X/Google Business Profile caveats make it dense enough that bullet-style formatting would aid scanning.

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?

With only one input parameter and no output schema, the description must carry the return-value semantics itself — and it does, covering health states, can_publish, can_sync_analytics, isActive/connection_status, music_via_facebook, locations, and reconnect_url. Nothing an agent needs to interpret the response or act on it 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?

There is a single parameter (workspace_id) with 100% schema description coverage that already tells the agent to get one from list_workspaces. The description adds no additional semantics about workspace_id, so the schema carries that burden entirely — baseline 3 applies.

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 — 'Lists the platform connections (YouTube, Instagram, TikTok, X, etc.) attached to a workspace' — and immediately enumerates what each entry contains (username, health, capability flags). This clearly distinguishes it from sibling listing tools such as list_inbox_connections or list_facebook_pages, which cover different resource types.

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 precondition: 'Use this before create_post_draft or publish_now to see which platforms the user can actually post to.' It also names the alternative for the opposite case — 'To connect a platform that isn't listed, call get_connect_link' — so both the when and the when-not 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.