Skip to main content
Glama

List connected accounts

list_accounts
Read-onlyIdempotent

List the social accounts connected to one workspace (Instagram, TikTok, X, Telegram, LinkedIn, Threads, Bluesky, Discord, Mastodon, YouTube, Pinterest, DEV and Hashnode; an account connected before its network was withdrawn still lists under its own platform). Returns each account id, platform, username, status, connection and captionMax — that account's own caption budget, which create_post holds its caption to. For X it depends on the account: xPremium true means X Premium and 25,000 characters, false means 280; X counts every link as 23 and each emoji or symbol such as → − • … as 2. Use an account id as a target when creating a post. Accounts belong to a single workspace, so with several workspaces give workspaceId (see list_workspaces) — an account id from one workspace is rejected by a post created in another. connection is only meaningful for Instagram: "FACEBOOK_LOGIN" accounts were connected through a Facebook Page and are the only ones that can browse and attach reel audio (list_audio) or invite collaborators; "INSTAGRAM_LOGIN" and "UNIFIED_LOGIN" accounts (connected directly, or through Facebook login without a Page) publish normally but can do neither. accepts says what each account can publish — the kinds of media, their formats, sizes and lengths (YouTube a video and never photos alone, TikTok JPEG or WebP photos, never PNG), and a Pinterest board or a Discord channel where one is needed. Read it before choosing media or accounts: a post an account cannot publish is refused when it is written, scheduled or published, with the reason, never left to fail at its time.

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
workspaceIdNoWhich workspace to act in — an id from list_workspaces. Optional with a single workspace; REQUIRED once there are several, where guessing would mean posting one client's content to another client's accounts. Ask the user which one before publishing.

Output Schema

NameRequiredDescriptionDefault
accountsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / accounts / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "captionMax": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "connection": {
      -          "$ref": "#/properties/accounts/anyOf/0/items/properties/id"
      -        },
      -        "id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "platform": {
      -          "$ref": "#/properties/accounts/anyOf/0/items/properties/id"
      -        },
      -        "status": {
      -          "$ref": "#/properties/accounts/anyOf/0/items/properties/id"
      -        },
      -        "username": {
      -          "$ref": "#/properties/accounts/anyOf/0/items/properties/id"
      -        },
      -        "xPremium": {
      -          "type": [
      -            "boolean",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "accepts": {
      +          "$ref": "#/properties/accounts/anyOf/0/items/properties/id"
      +        },
      +        "captionMax": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "connection": {
      +          "$ref": "#/properties/accounts/anyOf/0/items/properties/id"
      +        },
      +        "id": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "platform": {
      +          "$ref": "#/properties/accounts/anyOf/0/items/properties/id"
      +        },
      +        "status": {
      +          "$ref": "#/properties/accounts/anyOf/0/items/properties/id"
      +        },
      +        "username": {
      +          "$ref": "#/properties/accounts/anyOf/0/items/properties/id"
      +        },
      +        "xPremium": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, yet the description still adds real domain behavior: a withdrawn network's account continues to list, cross-workspace account ids are rejected, and posts are refused at write/schedule/publish time rather than failing later. Some of the return-field enumeration (id, platform, username, status) is redundant given the output schema, and the X character-counting rules and media 'accepts' details lean toward platform_limits territory, but the captionMax and connection semantics are genuine added context.

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

Conciseness3/5

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

It is front-loaded with the core purpose, but the body is a dense wall of text with multi-clause sentences ('For X it depends on the account…' and the `accepts` sentence) and parenthetical asides that make it hard to scan. Nearly every clause carries content, but the media-format and X-link-counting digressions are bloat for a listing tool and bury the actionable points.

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?

Nothing an agent needs in order to call this correctly is missing: the workspace-scoping requirement, the return semantics, and the downstream consequences of the returned fields are all covered. Given a single optional parameter and an existing output schema, it is arguably over-complete rather than under-complete.

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 description coverage is 100% and the single workspaceId parameter is already fully documented in the schema, including that it is optional with one workspace. The description reinforces this with the consequence ('guessing would mean posting one client's content to another client's accounts') and the instruction to ask the user, but that largely repeats the schema's own wording rather than adding format or syntax detail. Baseline 3 is appropriate when the schema carries the parameter semantics.

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 the social accounts connected to one workspace' — and even enumerates the platforms covered, so the agent knows exactly what comes back. It distinguishes itself from siblings by naming list_workspaces for workspace ids, list_audio for reel audio, and create_post as the consumer of account ids.

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 explicit conditional guidance: 'with several workspaces give workspaceId (see list_workspaces)', plus the cross-workspace rejection rule and 'Ask the user which one before publishing.' It also directs the agent to read the response before choosing media or accounts, and to use an account id as a target when creating a post — clear when-to-use and what-to-do-next guidance rather than 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.