Skip to main content
Glama

Name or save a speaker

update_speaker
Idempotent

Name or save a speaker, with two kinds of target: a person in one transcription (transcriptionId + speaker number: name them instead of "Speaker N", and with save true create a saved speaker so later transcriptions recognise them; this is the create-a-speaker tool, there is no separate one), or a saved speaker (speakerId: rename, switch their cloned voice on or off, everywhere they are recognised). Use: labelling who spoke here; remembering a person across transcriptions (save true); correcting a saved speaker's name or turning their cloned voice on with their consent. Who is saved: list_speakers. Forgetting someone: delete_speaker. Arguments: give exactly one target: transcriptionId with speaker (the number in "Speaker 2" from get_transcription, not a name or an id) and name, plus save and consent; or speakerId (from list_speakers) with name, clonedVoice or both. A name in a transcription is cut to 80 characters and an empty one undoes it; a saved speaker's, or one with save, is 1 to 60. clonedVoice true needs consent true. Examples: {transcriptionId, speaker: 2, name: "Maria Lopez"}; {transcriptionId, speaker: 2, name: "Maria Lopez", save: true}; {speakerId, clonedVoice: true, consent: true}. Behaviour: free; calling again replaces the name and saves no one twice. In a transcription it applies to that person in every recording of it, and listeners following live see it at once; their speaker number never changes. save keeps their voice fingerprint (and, with consent, clones their voice from their speech here, voiceState training then ready); the person must have spoken, and a live transcription can still be running. clonedVoice true clones a saved speaker from their stored sample if they have no clone yet; false keeps the clone, unused (delete_speaker erases it). Nothing else about the person changes. Returns: transcriptionId, speaker, name (null when cleared), and with save speakerId, saved (false when they were already saved), consent, cloned and voiceState; or, with speakerId, speakerId, name, consent, clonedVoice, and voiceState when cloned. Errors: invalid_options for both or neither kind of target, nothing to change, a bad name, save or clonedVoice with the wrong target, too little of their speech to save (the message says how much there is), or clonedVoice true without consent; invalid_state for a saved speaker who refused cloning or has no sample; not_found for an unknown transcription, speaker number or speakerId; forbidden for a read-only key.

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_speaker"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe name to show instead of "Speaker N", trimmed: up to 80 characters in one transcription (an empty string clears it back to "Speaker N"), 1 to 60 for a saved speaker or with save. Required with transcriptionId.
saveNoWith transcriptionId and speaker only: true also saves this person to the account's saved speakers, so later transcriptions recognise and name them; their own speech here is the sample. A person already saved from this transcription is not saved twice.
consentNotrue only when this person agreed to have their voice cloned: needed with clonedVoice true, and with save it clones them too, from their own speech in this transcription. Recorded with your account and the time. Never set it without the person's agreement; not needed to turn a cloned voice off.
speakerNoWith transcriptionId: the N of "Speaker N" in get_transcription's text, or speakerNumber in its segments; it stays the same after naming.
speakerIdNoInstead of transcriptionId and speaker: a saved speaker's id (id in list_speakers, or speakerId from update_speaker with save), changed everywhere they are recognised.
clonedVoiceNoWith speakerId only: true reads translations of this person's own words in their own cloned voice (needs consent true; cloned from their stored sample if not yet), false back to a stock voice (the clone is kept, unused).
transcriptionIdNoWith speaker: the transcription the speaker is in (from create_transcription, list_transcriptions, search_transcriptions or start_broadcast). Leave out with speakerId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / consent / description
      Previous value: -"Must be true with clonedVoices true: confirms this person agreed to have their voice cloned. Recorded with your account and the time. Not needed to turn cloned voices off."New value: +"true only when this person agreed to have their voice cloned: needed with clonedVoice true, and with save it clones them too, from their own speech in this transcription. Recorded with your account and the time. Never set it without the person's agreement; not needed to turn a cloned voice off."
    • changedInput schema / properties / name / description
      Previous value: -"The name to show instead of \"Speaker N\", trimmed: up to 80 characters in one transcription (an empty string clears it back to \"Speaker N\"), 1 to 60 for a saved speaker. Required with transcriptionId."New value: +"The name to show instead of \"Speaker N\", trimmed: up to 80 characters in one transcription (an empty string clears it back to \"Speaker N\"), 1 to 60 for a saved speaker or with save. Required with transcriptionId."
    • addedInput schema / properties / save
      Added value: +{
      +  "default": false,
      +  "description": "With transcriptionId and speaker only: true also saves this person to the account's saved speakers, so later transcriptions recognise and name them; their own speech here is the sample. A person already saved from this transcription is not saved twice.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / speakerId / description
      Previous value: -"Instead of transcriptionId and speaker: a saved speaker's id (id in list_speakers, or speakerId from save_speaker), changed everywhere they are recognised."New value: +"Instead of transcriptionId and speaker: a saved speaker's id (id in list_speakers, or speakerId from update_speaker with save), changed everywhere they are recognised."
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses cost (free), idempotent replacement behavior, live-listener visibility, fingerprint retention and cloning flow, consent requirements, voiceState transitions, and the minimum speech-sample requirement. These details go well past the readOnly/idempotent/destructive hints.

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?

The description is front-loaded and organized into Use, Arguments, Behaviour, Returns, and Errors, making it navigable despite its length. It is dense and repeats some schema constraints, but most of the length is justified by the dual-target complexity.

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?

No output schema exists, yet the description explains returned fields for both modes and enumerates error cases. Combined with the complete input schema and annotations, it gives an agent enough information to invoke the tool safely.

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 cross-parameter rules: exactly one target, target-specific name lengths, save/consent/clonedVoice interactions, and concrete argument examples. It repeats some details already present in the schema, which keeps it from 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?

The opening sentence names the action and both target modes, and explicitly states this is the create-a-speaker tool with no separate one. It also distinguishes the saved-speaker path from list_speakers and delete_speaker, so an agent can tell it apart from siblings.

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?

The 'Use' paragraph gives concrete scenarios: labelling who spoke here, remembering a person across transcriptions with save true, and correcting a saved speaker's name or cloned voice. It also routes saved-speaker lookup and deletion to list_speakers and delete_speaker, and states exactly one target must be supplied.

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.