Skip to main content
Glama
Upload-Post

Upload-Post

Official

Manage the captions of a Facebook Page video

manage_facebook_video_captions
Destructive

Add, select, or delete caption tracks for a Facebook Page video, set the default locale, and preview changes before approval.

Instructions

Add, choose or delete the caption tracks of a video of the profile's Facebook Page. Send srt (the SubRip text, UTF-8, up to 200 KB) with locale (e.g. en_US) to add a track (Facebook refuses a locale the video already has: delete it first), default_locale (a locale or 'none') to pick the one shown by default, and/or delete_locales with confirm: true to remove tracks. The video must belong to the Page (403 facebook_video_not_owned). Read the tracks with facebook_page_read video_captions. Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.

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": {
      "user": "<user>",
      "video_id": "<video_id>"
    },
    "name": "manage_facebook_video_captions"
  }
}

Input Schema

NameRequiredDescriptionDefault
srtNoCaption track to add, as SubRip (.srt) text. Needs `locale`.
userYesUpload-Post profile name with Facebook connected.
localeNoLocale of `srt`, e.g. en_US or es_ES.
confirmNoThe API's own confirmation for deletions and other changes that cannot be undone. Set it to true only after the user has approved that exact change; without it those actions are refused and nothing changes.
page_idNoThe Facebook Page id, when the profile manages several.
video_idYesId of a video of the Page.
confirmedNoSet to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent.
default_localeNoLocale shown by default, or 'none'.
delete_localesNoLocales to delete. Needs confirm: true.

Output Schema

NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.29.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the 200 KB SRT limit, that Facebook rejects a locale already present (delete first), the 403 facebook_video_not_owned ownership failure, and that the unconfirmed call sends nothing and only returns a preview. This adds real operational context on top of destructiveHint/openWorldHint, including the human-approval gate.

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?

Purpose is front-loaded in the first sentence and each later clause carries new operational information. The long parenthetical bundling three operations is dense and takes effort to parse, which keeps it from a 5, but there is no filler.

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 9-parameter destructive-write tool with an output schema and annotations, the description supplies the ownership constraint, size limit, duplicate-locale rule, error code, and the two-step confirmation flow. An agent has everything needed to invoke it safely and correctly.

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 per-field baseline is 3, but the description adds the combinatorial semantics the flat schema cannot: which parameters group into which operation, and how `confirm`/`confirmed` differ in role. It does not add formats or examples for `locale`/`video_id` beyond the schema, so it stops short of a 5.

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?

Opens with a specific verb set and resource: "Add, choose or delete the caption tracks of a video of the profile's Facebook Page." It also names the read counterpart (facebook_page_read video_captions), so an agent can immediately separate this mutation tool from the read path.

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 parameter-to-action mapping: `srt` + `locale` to add, `default_locale` to pick the default, `delete_locales` with `confirm: true` to remove, and points to facebook_page_read video_captions for reading. It also states the mandatory approval protocol (call without `confirmed` first for a preview, then repeat with `confirmed: true`), leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools