Skip to main content
Glama

Create or rotate the live stream secret

create_stream_secret
Destructive

Create the secret that signs the live audio stream tokens of make_call with stream. Your server verifies the Authorization: Bearer JWT (HS256) that volai sends when it connects, using this secret. The secret is shown only once in the result, so save it right away; get_stream_secret_status never returns it. Creating a new secret rotates the old one: it stops being used for new calls immediately, so update your server first or right after. Free of charge. Same data as POST /v1/stream-secret (response schema in /openapi.json).

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": "create_stream_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds the crucial operational consequences: the secret is returned only once, and rotation immediately stops the old secret being used for new calls, with advice to update the verifying server first. It also discloses the verification mechanism (Authorization: Bearer JWT, HS256) and cost (free), which cannot be inferred from annotations.

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

Conciseness5/5

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

Front-loaded with the action and purpose, then ordered by urgency: verification model, one-time visibility, rotation risk, cost, API parity. Every sentence carries distinct information; the /openapi.json pointer efficiently defers response schema instead of restating it.

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?

There is no output schema, and the description compensates by explaining that the secret appears only once in the result and must be saved immediately, plus how the consumer verifies the JWT. For a zero-parameter mutation tool with destructive semantics, nothing an agent needs to call it 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?

The tool takes zero parameters, so there is nothing to disambiguate and the baseline of 4 applies. The description correctly spends no space on parameter text and instead invests in behavioral context.

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 ("Create the secret that signs the live audio stream tokens") and ties it to the concrete consumer, make_call with stream. It explicitly separates itself from the read-only sibling get_stream_secret_status, so an agent can route correctly without opening either schema.

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 a clear operational condition: call this to provision the signing secret, and note that calling it again rotates rather than adds. It names get_stream_secret_status as the non-returning alternative for retrieving the value. It stops short of an explicit "use this only if X, otherwise Y" rule for first-time setup vs rotation, hence not a 5.

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.