Skip to main content
Glama

Studio: switch a project’s voice

studio_trocar_voz

Switches the narrating voice of an existing project (all presenters; speed kept) and/or its pace. voz is an id from studio_listar_vozes: a catalogue voice, or one of the user’s own minha-<id> voices (only who trained or bought it can use it; checked again by Ania). velocidade (optional, alone or with voz): 0.79 very calm, 0.86 calm, 1 normal, 1.1 fast; own voices default to calm (0.86) until set. Applies from the next studio_renderizar; videos already rendered keep their voice. Free.

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": {
      "projeto": "<projeto>"
    },
    "name": "studio_trocar_voz"
  }
}

Input Schema

NameRequiredDescriptionDefault
vozNoVoice id from studio_listar_vozes (e.g. 'piper-nanda' or 'minha-<id>').
projetoYesProject slug, from studio_listar_projetos.
languageNoAlways pass it: the language the user is writing in right now, as a BCP-47 tag (e.g. 'en', 'en-US', 'pt-BR', 'es'), not the app's interface language. Replies, prices and the card follow it.
velocidadeNoNarration pace: 0.79 very calm, 0.86 calm, 1 normal, 1.1 fast.
confirmar_generoNoOnly after the user confirmed a voice of the other gender than the avatar (the first call refuses with voice_gender_mismatch).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / language / description
      Previous value: -"The user's language as a BCP-47 tag (e.g. 'en', 'en-US', 'pt-BR', 'es'). Replies and prices follow it."New value: +"Always pass it: the language the user is writing in right now, as a BCP-47 tag (e.g. 'en', 'en-US', 'pt-BR', 'es'), not the app's interface language. Replies, prices and the card follow it."
  2. Changed1 schema field changed
    • addedInput schema / properties / confirmar_genero
      Added value: +{
      +  "description": "Only after the user confirmed a voice of the other gender than the avatar (the first call refuses with voice_gender_mismatch).",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / velocidade
      Added value: +{
      +  "description": "Narration pace: 0.79 very calm, 0.86 calm, 1 normal, 1.1 fast.",
      +  "maximum": 1.3,
      +  "minimum": 0.7,
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "projeto",
      -  "voz"
      -]New value: +[
      +  "projeto"
      +]
  4. Added

TDQS

A4.3/5.0
Behavior4/5

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

With annotations only stating it is a non-destructive, closed-world write, the description adds real value: timing relative to render, that past renders are unaffected, that the operation is free, and that ownership of `minha-<id>` voices is re-checked by Ania. Missing only the shape of the confirmation/response, which is not covered by an output schema either.

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?

Three tight sentences, front-loaded with the action and its scope, followed by id sourcing, pace values, and render timing. The parenthetical asides are dense but each carries an operational fact, so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter mutation with full schema coverage and no output schema, the description covers the things an agent must know: valid id source, access restriction, pace defaults, and when the change takes effect. Only the response/confirmation behavior is left implicit.

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; the description still earns above that by stating the default pace for own voices (0.86 until explicitly set) and that `velocidade` can be combined with or used without `voz` — meaning not present in the schema. It leaves `language` and `confirmar_genero` to the schema, which documents them adequately.

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?

Uses a specific verb and resource ('Switches the narrating voice of an existing project') and pins down scope that an agent would otherwise have to guess: all presenters, speed preserved, voice and/or pace. It also points at the sibling that supplies valid ids (studio_listar_vozes), so the operation is distinct at a glance.

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 concrete usage context: changes take effect from the next studio_renderizar, already-rendered videos keep their old voice, and `velocidade` may be sent alone or with `voz`. It does not explicitly route to alternatives such as testar_voz before committing, but the when-to-use picture for this tool itself is clear.

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