Skip to main content
Glama

Write captions

write_captions
Read-only

Use this when the user wants the text for a post written: "write my captions", "caption this for TikTok and Shorts", "give me a YouTube title and hashtags". Each caption is cut to the platform's limits: TikTok 2,200 characters, Instagram 2,200 and 5 hashtags, YouTube a 100-character title plus a description under 5,000 bytes, Threads 500, X 280. Not for: subtitles inside the video (edit_clip, translate_captions) or saving a post (draft_post). Saves nothing: show the captions, then draft_post saves the chosen one. Free.

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": {
      "clip_id": "<clip_id>",
      "platforms": "<platforms>"
    },
    "name": "write_captions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toneNoOptional tone, e.g. funny, hype or calm. Empty means no preferred tone.
clip_idYesId of the clip, from list_clips.
platformsYesUp to 5 of tiktok, youtube, instagram, facebook, threads, x, bluesky. Shorts, Reels and IG also work.

Output Schema

NameRequiredDescriptionDefault
nextYes
toneYes
savedYes
clip_idYes
captionsYes
clip_titleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / tone / default
      Removed value: -""
  2. Changed7 schema fields changed
    • addedInput schema / properties / clip_id / description
      Added value: +"Id of the clip, from list_clips."
    • removedInput schema / properties / clip_id / title
      Removed value: -"Clip Id"
    • addedInput schema / properties / platforms / description
      Added value: +"Up to 5 of tiktok, youtube, instagram, facebook, threads, x, bluesky. Shorts, Reels and IG also work."
    • removedInput schema / properties / platforms / title
      Removed value: -"Platforms"
    • addedInput schema / properties / tone / description
      Added value: +"Optional tone, e.g. funny, hype or calm. Empty means no preferred tone."
    • removedInput schema / properties / tone / title
      Removed value: -"Tone"
    • removedInput schema / title
      Removed value: -"write_captions_routeArguments"
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses that nothing is saved (a non-obvious write-like side-effect expectation), that the call is free, and that output is truncated per platform limits. That is meaningful added context; it stops short of only because length/volume or generation-variability behavior is unstated.

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-loads the trigger condition and keeps exclusions tight; nearly every clause carries a limit or routing rule. The platform-limit sentence is dense and there is an awkward mid-sentence line break, but the content earns its space.

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 3-parameter tool with a full-coverage schema and an output schema, the description covers cost, persistence, output truncation, and alternative tools. Nothing an agent needs in order 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 real meaning by spelling out what each platform selection yields (YouTube = 100-char title + description under 5,000 bytes, Instagram = 5 hashtags, X = 280 chars). It gives no extra detail on the tone parameter, which is left entirely to the schema.

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 artifact — writing caption/title/hashtag text for a clip across platforms — and enumerates concrete user phrasings that trigger it. It also explicitly names the neighboring tools it is not (edit_clip, translate_captions, draft_post), so an agent can separate it from siblings 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?

Gives an explicit when-to-use clause plus three example utterances, and an explicit "Not for:" section that routes subtitles to edit_clip/translate_captions and persistence to draft_post. The handoff sequence (show captions, then draft_post saves the chosen one) removes ambiguity about ordering.

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