Skip to main content
Glama

A project's speech as a file

get_speech_file

A link to speech the project already has, as one mp3: the blocks named, in the project's order and with its silences between them. For handing the speech to something that wants a file — a player, a download, another service — without exporting the project. A block that still has no speech is made first, using characters from the user's balance. The link needs no key of its own and lasts 30 days, which every fetch of it starts again.

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": {
      "projectId": "<projectId>",
      "blockIds": "<blockIds>"
    },
    "name": "get_speech_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
blockIdsYesThe voiceover blocks the file is of, in any order
projectIdYesA project id from list_projects or create_project

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses the costly side effect (blocks without speech are generated first and charged against the user's balance), the auth model (the link needs no key), and its lifetime (30 days, renewed on every fetch). These are exactly the operational facts readOnlyHint=false cannot convey, and they are consistent with the annotations.

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?

It is front-loaded with the core result and organized from what the file is, to when to use it, to the cost and link behavior. The phrasing is somewhat ornate ('the blocks named, in the project's order and with its silences between them'), costing a little economy without losing clarity.

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?

For a two-parameter tool with no output schema, the description covers the return value's form (one mp3 link), handling of missing speech, cost implications, and link expiry. Nothing an agent needs to invoke it correctly or set expectations with a user is missing.

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

Parameters3/5

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

Schema coverage is 100%, so both parameters are already documented and the baseline is 3. The description does add one useful meaning: the named blocks are rendered in the project's order regardless of the order supplied, which clarifies the 'any order' note in the schema.

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?

The description names a specific verb and resource: it returns a link to the project's speech as a single mp3, with blocks in the project's order and its silences preserved. It also implicitly distinguishes itself from export_project by stating it works 'without exporting the project', so an agent can tell which tool to reach for.

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?

It gives a clear usage context — handing speech to a player, a download, or another service that wants a file — and implicitly excludes the export path. It stops short of naming a sibling alternative or spelling out when not to use it, so the exclusions are left to inference.

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.