Skip to main content
Glama

See who's on which camera

get_speaker_mapping
Read-onlyIdempotent

The detected speakers, the episode's cameras, and WizCut's proposal for who is on which camera — everything needed to settle the camera mapping.

Call this when get_episode_status says the episode is in "mapping". Speakers are labels like SPEAKER_00 ordered by talk time; the user knows who they are (usually the host talks most). A speaker the user has named has a name ("Anna"): talk about them by name, but send the label in tracks. When the user tells you who is who, pass the names in set_speaker_mapping's speakerNames.

draft is what the user already picked themselves (in the WizCut editor, usually) but hasn't submitted yet. When there is one, it is the user's answer: if they say continue or go ahead, submit exactly draft.tracks with set_speaker_mapping, not the proposal or your own guess.

suggestedTracks holds the answers WizCut is sure about (high confidence). Cameras with low or no confidence need the user's judgement: describe the proposal and ask, using the camera labels (they're the file names the user uploaded).

Next: call set_speaker_mapping with one track per camera, or send the user to the review link to do it visually.

In chat apps that show WizCut's mapping view under this result, the user can see each camera, hear each speaker and confirm right there; the view tells you when they do, and then you don't call set_speaker_mapping 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": {
      "jobId": "<jobId>"
    },
    "name": "get_speaker_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.

Output Schema

NameRequiredDescriptionDefault
draftYesPicks the user saved but hasn't submitted (while in mapping); null when they haven't picked anyone.
jobIdYes
statusYes
camerasYes
speakersYes
audioSourcesYes
cameraGroupsYesCameras that split one recording into several files, source IDs in time order. Each group is one camera: give its files the same speakers (a file you leave out takes its group's).
speakerNamesYesSpeaker label → the name the user gave them.
syncWarningsYesFiles WizCut couldn't confirm are in sync, or that slowly drift out of step: the video may be out of lip sync on them. Empty when every file matched.
currentTracksYes
mappingNeededYesTrue while the episode is in "mapping".
proposalReadyYes
droppedSpeakersYes
suggestedTracksYes
unassignedSpeakersYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the semantics of each returned field: `draft` is the user's own unsubmitted pick and should be submitted verbatim on 'continue', `suggestedTracks` only covers high-confidence cameras, and low-confidence cameras require asking the user. It also explains the label-vs-name distinction (talk by name, send the label in tracks) and the chat-app view behavior, which the annotations cannot convey.

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?

It is long, but front-loaded with the purpose and organized into short paragraphs that each handle a distinct decision (trigger, label semantics, draft, confidence, next step). A few clauses, such as the parenthetical 'usually the host talks most', are helpful rather than wasteful, though the total length is near the upper bound for a read tool.

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 read tool with an output schema, the description goes further than required by explaining how to interpret the returned fields and what to do with each. Nothing an agent needs to call it correctly or to act on its result 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?

The single `jobId` parameter is fully documented in the schema (100% coverage, including its origin in create_episode/list_episodes), so the schema carries the burden. The description adds no additional meaning about the parameter itself, which is the expected baseline when coverage is complete.

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 names the specific resource set — detected speakers, the episode's cameras, and WizCut's proposed camera mapping — and frames the result as the input needed to settle a mapping. That is clearly distinct from set_speaker_mapping, which it references as the write counterpart.

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?

It gives an explicit trigger condition ('Call this when get_episode_status says the episode is in "mapping"') and explicit next actions (call set_speaker_mapping, send the user to the review link, or let the in-chat mapping view handle it). It also states when NOT to act yourself — if the mapping view confirms, don't call set_speaker_mapping.

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