Skip to main content
Glama

List connected social accounts

list_accounts
Read-onlyIdempotent

Use when the user asks which social media accounts are connected to A1 Lane for posting, which account to post to, whether one needs reconnecting, or how to connect a new one. Returns each account with its platform, handle, account id (acc_…), health (ok, credential_invalid, action_required_in_app, unknown) and posting-slot schedule, plus the Connect page address and the platforms a new account can connect today. An assistant cannot connect an account itself: give the user the Connect page address, wait until they say they have finished, then call list_accounts again to confirm the new account and its health. For platform rules use get_platform_schema; for plan limits, get_workspace. Do not use it for followers, audiences, comments, messages or profile analytics: A1 Lane holds none.

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": "list_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
accountsYes
next_stepNoPresent only when no account is connected: the one next step, with the web connect URL.
connectUrlNoThe workspace's web Connect page: the address to hand the user to connect an account.
humanActionNoA 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.
accountStateNo
connectableNowNoPlatform ids a new account can connect on this service today.

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. Changed6 schema fields changed
    • addedOutput schema / properties / accounts / items / properties / basis
      Added value: +{
      +  "description": "What the last passing check exercised: grant, credential or session; empty when not recorded.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / accounts / items / properties / checkedAt
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "When the account's health was last checked (ISO 8601), or null if never."
      +}
    • addedOutput schema / properties / accounts / items / properties / healthState
      Added value: +{
      +  "description": "The state the web app shows for this account. publish_not_allowed: the credential works but the platform does not let this service publish yet.",
      +  "enum": [
      +    "ok",
      +    "expiring",
      +    "expired",
      +    "revoked",
      +    "action_required_in_app",
      +    "unknown",
      +    "publish_not_allowed"
      +  ]
      +}
    • addedOutput schema / properties / accounts / items / properties / healthWord
      Added value: +{
      +  "description": "The exact status word the web app shows on this account's card.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / accounts / items / properties / needsReconnect
      Added value: +{
      +  "description": "True when the user must reconnect this account before it can post.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / accounts / items / properties / stale
      Added value: +{
      +  "description": "True when the last health check is more than a day old: health is the last known reading, not a current one.",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description adds substantial context beyond them: the exact return fields (platform, handle, acc_ id, health states, posting-slot schedule), the Connect page address, and the key limitation that the assistant cannot connect an account itself. It also prescribes the wait-then-recall loop to confirm a newly connected account, which is real behavioral guidance an agent could not derive from the 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 'Use when...' trigger and tightly written, with no filler sentences — each one carries routing, return-field, or workflow information. It is dense and slightly long, but nothing is redundant enough to cut.

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?

Even though an output schema exists, the description still summarizes the returned fields and health enum values, plus the multi-turn connect workflow and exclusions. For a zero-parameter, read-only listing tool, an agent has everything needed to select and invoke it correctly.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate beyond the schema; the baseline for a parameterless tool applies. The description correctly avoids inventing filtering options that do not exist.

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 (list connected social accounts for A1 Lane) and enumerates the concrete user questions it answers — which accounts are connected, which to post to, reconnect status, how to connect new ones. It is clearly distinguishable from siblings like get_platform_schema and get_workspace, which it names.

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?

Explicitly gives when-to-use triggers ('user asks which accounts are connected...'), routing rules to alternatives ('For platform rules use get_platform_schema; for plan limits, get_workspace'), and an explicit exclusion ('Do not use it for followers, audiences, comments, messages or profile analytics'). Nothing is left to inference.

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.