Skip to main content
Glama

Refine a draft voice

refine_voice

Adjust a draft voice by describing desired changes, preview its line, and receive a new draft handle while keeping earlier versions for comparison.

Instructions

Change a draft voice in words and play its new line. The instruction says what to change, such as "a little lower and slower" or "warmer, and older"; the rest of the voice stays, so change one quality at a time. Each call returns a new draft handle and the earlier handles keep their versions, so the user can go back to one. save_voice keeps the draft the user picks. Refining never changes a voice already saved: saving a refined draft makes another voice, and rename_voice changes only a name. Costs 5 credits per call, the line included; a retry refines again and is charged again.

Input Schema

NameRequiredDescriptionDefault
playNoPlay the voice's line out loud (default true). The line is saved to a file either way.
draftYesA draft handle that design_voice or refine_voice printed (such as "draft-2"), or a draft string from the Paxa console.
instructionYesWhat to change about the voice, up to 500 characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare non-readonly, non-destructive, non-idempotent; the description adds the material behavior: every call mints a new draft handle while prior handles retain their versions, saved voices are never altered, and each call costs 5 credits with retries charged again. That credit/versioning disclosure is exactly what an agent needs to avoid surprise costs or lost work.

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?

Front-loaded with the core action, then the instruction semantics, then versioning, then alternatives and cost. Every sentence carries distinct information, but the closing sentence is dense enough that it reads as two obligations (cost plus retry billing) compressed into one, and the sibling differentiation slightly overlaps with usage guidance.

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 no output schema, the description correctly fills the gap by stating the return value ('a new draft handle') and the state model across calls. For a 3-parameter, non-idempotent, billed mutation, nothing an agent needs in order to call it correctly and safely 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 coverage is 100%, so the baseline is 3; the description earns above it by explaining what 'instruction' means in practice ('a little lower and slower', 'warmer, and older') and constraining it to a single quality change. The 'play its new line' phrasing also gives context for the play flag, though it doesn't restate the default or the file-saving behavior.

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 a specific verb and resource ('Change a draft voice in words and play its new line') and immediately distinguishes it from design_voice, save_voice, and rename_voice. An agent can tell this is the iterative-refinement step rather than the create/save/rename steps without opening any schema.

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?

Gives explicit when-to-use semantics ('change one quality at a time', with example instructions) and explicit routing to alternatives: save_voice keeps the draft the user picks, rename_voice only changes a name, and refining never mutates a saved voice. Exclusions and handoffs are both named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.