Skip to main content
Glama

Write or improve a caption

generate_caption
Read-only

Writes one caption with the caption assistant (a paid plan or the trial; limited to 10 an hour per person), or rewrites a draft you pass as caption. prompt is what the post is about, or with caption, what to change. platforms are the networks it is for: the caption is written for the strictest limit among them so it fits all, and for X's when none are given. Nothing is saved or posted; check_limits and create_post come after.

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

Input Schema

NameRequiredDescriptionDefault
promptNoWhat the post is about, or what to change in caption.
captionNoAn existing draft to improve.
platformsNoNetworks the caption is for.
organizationIdNoWhich organization to act in: an id from list_organizations. Leave out for this connection's default organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=true, openWorldHint=true, destructiveHint=false), the description discloses a plan requirement and a concrete rate limit of 10 per hour per person, plus the important side-effect disclaimer that nothing is persisted or published. That rate limit and the no-write guarantee are exactly the behavioral facts an agent cannot infer from annotations alone.

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?

It is front-loaded with the core action and packed into a compact block with no filler sentences. The middle clause about platforms and factory defaults is dense and slightly run-on, but every sentence carries information an agent needs.

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?

For a stateless generation tool with no output schema, it covers the essentials: cost/plan gating, rate limits, side effects, platform-limit behavior, and downstream tool ordering. It does not say what the response contains (e.g. the caption text alongside limit usage), which is the one small gap.

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 100%, so the baseline is 3, but the description adds real meaning: platforms drives the output via the strictest character limit among the listed networks and defaults to X's limit when omitted, and prompt changes meaning depending on whether caption is supplied. Only organizationId meaning is left entirely to the schema, which is acceptable.

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?

The description opens with a specific verb and resource ('Writes one caption with the caption assistant') and immediately distinguishes the two modes: fresh generation from prompt versus rewriting a draft passed as caption. An agent can tell this apart from create_post or check_limits without opening any schema.

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 states the prerequisites (paid plan or trial), the operational constraint (10 per hour per person), and the sequencing rule ('Nothing is saved or posted; check_limits and create_post come after'), naming the sibling tools that follow. The when-to-use condition for each parameter (prompt for new captions, caption for edits) is spelled out explicitly.

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