Skip to main content
Glama

Start upload

hold_episode
Idempotent

Starts publishing an audio file you already have (audio/mpeg, audio/mp4, audio/aac, audio/wav or audio/x-m4a, up to 1 GiB). The uploaded bytes must really be that type, or complete_episode rejects them. Returns upload URLs: PUT each part with its length, then call complete_episode. Reusing idempotencyKey returns the same episode, even after it has published; a retry never makes a second episode and never charges again. A reply with a parts list is a fresh or still-open hold to upload. A replay with no parts means the episode already exists and must not be uploaded: it carries episode with the current status, so call read_episode.

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": {
      "title": "<title>",
      "description": "<description>",
      "contentType": "<contentType>",
      "bytes": "<bytes>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "hold_episode"
  }
}

Input Schema

NameRequiredDescriptionDefault
bytesYes
titleYes
contentTypeYes
descriptionYes
idempotencyKeyYes
durationSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is largely covered. The description still adds real value beyond that: the size cap, the server-side content-type validation enforced at complete_episode, and the 'retry never makes a second episode and never charges again' guarantee. It does not say what happens to a held episode that is never completed or how long the upload URLs remain valid.

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 purpose and format constraints, then the upload/complete flow, then the replay branch — a logical order with no filler sentences. It is dense to the point of reading as run-ons, which slightly slows parsing, but nothing is redundant with the schema.

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?

With no output schema, the description does the work of describing the two possible responses (upload URLs with parts versus a partless replay carrying episode status), which an agent needs in order to proceed. The main gap is the undocumented optional durationSeconds and the lifetime of the returned upload URLs.

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 description coverage is 0%, so the description must carry the load. It covers contentType (listing the accepted values, consistent with the enum), bytes (the 1 GiB maximum, which the schema leaves unbounded), and idempotencyKey (reuse returns the same episode, no double charge) — meaningful semantics for three of the six parameters. Title, description and especially durationSeconds get no explanation, so it falls short of fully compensating.

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 ('Starts publishing an audio file you already have'), enumerates the accepted MIME types and the 1 GiB ceiling, and the phrase 'you already have' implicitly separates it from create_speech_episode. An agent can identify what the tool does and roughly what it is not without opening the 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?

Explicitly sequences the workflow (PUT each returned part, then call complete_episode) and branches on the response: a parts list means a fresh/open hold, a replay with no parts means the episode already exists and read_episode should be called. This is explicit when-to-use and what-to-do-next guidance naming the actual sibling tools.

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