Skip to main content
Glama
AIWerk

@aiwerk/mcp-server-elevenlabs

by AIWerk

get_single_use_token

Generate a single-use token for ElevenLabs realtime_scribe, batch_scribe, or tts_websocket sessions. Provide the token type to authenticate a WebSocket connection.

Instructions

Create Single Use Token

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and openWorldHint=true, so the write/open-world nature is covered there. The description adds nothing beyond that: no token lifetime, no auth requirements, no note that repeated calls mint distinct tokens. A security-sensitive credential-minting tool warrants more, but with annotations covering the safety profile this is a modest gap rather than a severe one.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four words with no front-loaded constraint or context. This is under-specification rather than conciseness — the sentence ends before conveying anything an agent could act on.

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

Completeness1/5

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

A token-minting tool with one undocumented enum parameter and no output schema needs the description to carry nearly everything: what the token is for, its lifetime, its scope, and how the three token types differ. None of that is present, so the definition is unusable for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the single token_type parameter and it does not. The enum values realtime_scribe, batch_scribe, and tts_websocket are self-evident only at a glance; the description never explains which token to request for which use case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Create Single Use Token" restates the tool's own resource without adding scope, and it names no audience, format, or distinguishing trait versus the many other token/credential tools in the sibling list. It is effectively a tautology of the title, and it even conflicts with the tool name's "get_" prefix, which will confuse an agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to call this instead of alternatives such as get_livekit_token or create_service_account_api_key, nor any prerequisites or call-order guidance. The agent is left to infer usage entirely from the name.

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

Deploy Server

Other Tools