Skip to main content
Glama

List platform rules

list_platforms
Read-onlyIdempotent

What each supported platform accepts: how many characters a post may carry, how many attachments a block may have, how long a thread may be, whether media is mandatory, and which per-platform options exist.

Some platforms publish more than one KIND of thing, and postTypes is where they say so — an Instagram Story is not a post with a flag on it, it is a different publication with its own limits: one attachment against ten, no caption at all, a video capped at a minute rather than fifteen, and none of the options a post there has. Each entry carries its own complete limits, so compose against THOSE rather than against the ones at the top, and send the entry’s key as channels[].postType. An empty postTypes is the ordinary case and means there is nothing to choose.

Some rules differ by what the FILE is, and limits.media.perKind is where they are — a picture, a clip and a PDF can each have their own size ceiling and their own count, and a kind marked alone may not share a post with any other kind. Reading maxMedia alone will have you attach a video beside four photos on a platform that publishes one or the other.

READ THIS BEFORE COMPOSING, and read it again rather than remembering it. These numbers are served live from the same declarations create_post validates against, and they change without notice. A draft written against a remembered limit is refused at the last moment, when the user is watching.

PASS platforms with the ones you actually need — the platforms of the channels list_channels gave you. Every platform at once is a large document, and asking for all twelve to compose for two is how you run out of room for the post itself. Omit it only when you genuinely need the whole set, such as answering what a platform allows before anyone has connected it.

Describes the platforms, not what this workspace has connected — that is list_channels.

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_platforms"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformsNoDescribe only these platforms, by the `platform` a channel reports. Omitted, every platform is described.

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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely non-obvious traits: values are served live from the same declarations `create_post` validates against and change without notice, and a full fetch is a large document with real context cost. It also sketches the response shape (top-level `limits`, nested per-`postType` `limits` with `key`, `limits.media.perKind`, `alone`). No output schema exists, so a fuller field enumeration would earn the fifth point.

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?

The purpose is front-loaded and every paragraph carries information, but four dense paragraphs for a single optional parameter is heavy, and lines like 'refused at the last moment, when the user is watching' trade on drama rather than specification. Some of the guidance is really about composing posts with `create_post` rather than about calling this tool.

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 one-parameter read tool with no output schema, the description covers purpose, invocation rules, volatility of results, response structure and the sibling it must not be confused with. An agent could call it correctly and interpret the result without opening anything else.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the enum is already in the schema, yet the description still adds decision-level meaning: derive the `platforms` array from the channels `list_channels` gave you, and omit it only for whole-set questions. That converts a mechanical filter parameter into a usage rule the schema cannot express.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states the resource precisely: per-platform character limits, attachment counts, thread length, media requirements and options, and later clarifies it also returns `postTypes` and `limits.media.perKind`. The closing line explicitly distinguishes it from `list_channels` (platform rules vs. what the workspace has connected). It loses a point only because the verb is implied rather than stated and the framing is content-first rather than action-first.

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 gives an explicit mandate ('READ THIS BEFORE COMPOSING, and read it again rather than remembering it'), a concrete when-to-call path (pass the `platforms` of channels that `list_channels` returned), and a when-not (omit only when you genuinely need the whole set, e.g. answering pre-connection questions). The negative guidance about requesting all twelve for two channels is exactly the kind of routing signal an agent needs.

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