Skip to main content
Glama

Edit Caption

edit_caption

Update the caption/text of an existing post. Without a platform, only the main caption is saved, exactly as sent: existing platform variants (e.g. X, TikTok) are left unchanged and listed in warnings, and platforms without a variant publish the main caption. With a platform, only that platform's caption variant is changed (other platforms keep theirs) and the text is saved exactly as sent. TikTok allows at most 90 characters: a longer TikTok text is refused with an error, never rewritten, so shorten it yourself.

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": {
      "postId": "<postId>",
      "caption": "<caption>"
    },
    "name": "edit_caption"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYesThe post ID to edit
captionYesThe new caption text
platformNoOnly update the caption for this platform

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing what happens to untouched variants (left unchanged, reported in warnings), that platforms without a variant inherit the main caption, and that over-length TikTok text is rejected rather than truncated. Annotations only cover the mutation/idempotency profile; the description supplies the real behavioral contract. Residual minor gap: what the response actually contains when warnings occur.

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

Conciseness5/5

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

Dense and front-loaded: the core action first, then the no-platform branch, then the with-platform branch, then the platform-specific exception. Slight redundancy in restating 'saved exactly as sent', but every sentence carries operational information.

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 three-parameter, non-destructive mutation with no output schema, the definition covers target selection, side effects on other variants, failure modes, and validation limits. Nothing an agent needs to call it correctly is missing.

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 genuine semantics the schema lacks: the meaning of omitting 'platform', the per-platform isolation of the update, and the TikTok-specific length ceiling on 'caption'. It does not add format or syntax detail, so not a 5.

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?

Opens with a specific verb+resource: 'Update the caption/text of an existing post.' An agent knows exactly what is modified. It does not explicitly name or contrast a sibling tool, which keeps it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear conditional guidance tied to the 'platform' parameter: omit it to change only the main caption, supply it to target a single variant. It does not name alternative tools or state when not to use this one, so no exclusions 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.

Resources