Skip to main content
Glama

Favourite a photo or video, or switch captions

update_media
Idempotent

Use this to mark or unmark one of the user's photos or videos as a favourite (list_media's favorites_only finds them later), or to switch word-by-word captions of the speech on or off for a finished video. Free. Pass photo_id or video_id, and favorite and/or captions. Turning captions on can take up to a minute; videos made without sound can't have captions.

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

Input Schema

NameRequiredDescriptionDefault
captionsNoVideos only: true to burn captions of the speech in, false to take them off.
favoriteNotrue to mark as a favourite, false to unmark.
photo_idNoA photo_id from list_media or get_generation.
video_idNoA video_id from list_media or get_generation (not a lip sync).

Output Schema

NameRequiredDescriptionDefault
okNoPresent only on a refusal: the summary says why, and what the user can do.
urlNo
summaryYes
captionsNo
favoriteNo
photo_idNo
video_idNo
view_urlNo
error_codeNoPresent only on a refusal.

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?

Annotations already declare this a non-destructive, idempotent mutation, so the description's job is to add operational detail — and it does: the call is free, enabling captions can take up to a minute, and videos without sound cannot get captions (a failure mode). It does not describe what happens to existing captions when toggled off beyond 'take them off', which is minor.

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?

A single dense sentence front-loads the two operations, then appends cost, parameter shape, and constraints. Every clause carries information, though the parenthetical cross-reference and the fused 'Free. Pass ...' fragment make it slightly harder to scan than a clean bulleted split.

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?

With annotations covering the safety profile, full schema coverage, and an output schema, the description supplies exactly the remaining gaps: latency, cost, silent-video exclusion, and which parameters go together. Nothing an agent needs to call this correctly is missing.

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

Parameters3/5

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

Schema coverage is 100%, so each parameter's meaning is already documented. The description adds one genuinely useful piece the schema lacks: the combination rule ('Pass photo_id or video_id, and favorite and/or captions'), clarifying that the ID is either/or while the two flags are optional-but-at-least-one. Beyond that it mostly restates what the schema already says.

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 two concrete operations with specific verbs and resources: marking/unmarking photos or videos as favourites, and switching word-by-word captions on a finished video. It also distinguishes the read path by naming list_media's favorites_only, so an agent can tell where the result surfaces without opening another schema.

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 context for use: favourites are found later via list_media's favorites_only, captions apply only to a finished video, and silent videos are excluded. It does not explicitly name an alternative for editing captions/favourites elsewhere, but the constraints and cross-reference make the intended usage unambiguous.

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