Skip to main content
Glama

Set who's on which camera

set_speaker_mapping

Tell WizCut which speakers each camera shows, while the episode is in "mapping". WizCut then generates the cuts.

Send one track per camera you want used: its sourceId (from get_speaker_mapping) and the speaker labels it shows. A wide or two-shot camera can show several speakers; a camera left out (or with no speakers) is only used as a cutaway.

If get_speaker_mapping returned a draft, the user already picked the cameras themselves: send exactly draft.tracks rather than WizCut's proposal or a guess of your own, unless the user tells you to change something.

When the user has told you who the speakers are ("Anna is the host"), pass speakerNames too, so WizCut shows names instead of "Speaker 00".

Next: the episode moves to "ready" — or, if it was created with review false, starts rendering by itself. Check get_episode_status.

Only while the episode is in "mapping". To change who's on which camera after the cuts exist, use ask_editor with the user's words instead.

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": {
      "jobId": "<jobId>",
      "tracks": "<tracks>"
    },
    "name": "set_speaker_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.
tracksYesOne entry per camera to use.
speakerNamesNoOptional names for the speakers, by label, when the user tells you who is who: {"SPEAKER_00": "Anna"}. Up to 40 characters each; "" removes a name. Speakers you leave out keep their names. WizCut shows them in its editor and in the chat.

Output Schema

NameRequiredDescriptionDefault
jobIdYes
statusYes
cutCountYes
reviewUrlYes
speakerNamesYesEvery speaker's name after this call; null when names weren't sent or couldn't be saved.
renderStartedYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, idempotentHint=false, destructiveHint=false; the description goes well beyond by explaining that omitted cameras become cutaways, that supplying draft.tracks overrides WizCut's proposal, and that the episode transitions to 'ready' or auto-renders depending on the review flag. It also names the follow-up call (get_episode_status).

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?

Well front-loaded: purpose first, then the track contract, then the draft override rule, then speakerNames, then the next state. It is on the long side at five short paragraphs, but each paragraph carries a distinct rule an agent would otherwise get wrong; the final 'Only while...' block could be merged into the usage context rather than repeated.

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 mutation tool with a nested tracks array this covers the prerequisite episode state, the source of sourceId, the draft-vs-proposal precedence, and the post-call state transition. Since an output schema exists, the description is not obliged to describe return values, and nothing an agent needs to invoke 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 description coverage is already 100%, so the baseline is 3, but the description adds real meaning: sourceId comes from get_speaker_mapping, a track may legitimately list several speakers for a wide/two-shot, and speakerNames should be populated only when the user volunteers identities. It does not add format detail beyond the schema for jobId, but that parameter is self-evident.

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 opening sentence gives a concrete verb and resource — 'Tell WizCut which speakers each camera shows' — plus the WizCut-side consequence ('WizCut then generates the cuts'). It is clearly distinguishable from get_speaker_mapping (the read counterpart, named as the source of sourceId) and from ask_editor (named for post-cut changes).

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?

Explicit gating condition ('Only while the episode is in "mapping"'), an explicit exclusion with the alternative ('To change who's on which camera after the cuts exist, use ask_editor'), and a precedence rule when get_speaker_mapping returned a draft. It also states the optional-parameter trigger ('When the user has told you who the speakers are').

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