Skip to main content
Glama

PennyCompute

Generate speech

generate_speech

Kokoro-82M costs $0.000495 per 1,000 characters, prorated per character. Failed jobs are free.

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": {
      "text": "<text>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "generate_speech"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
voiceNoaf_heart
priorityNonormal
output_uploadNo
idempotency_keyYes
client_referenceNo
max_output_bytesNo
max_wait_secondsNo
webhook_endpoint_idNo

Output Schema

NameRequiredDescriptionDefault
idYes
resultNo
statusYes
priorityNo
created_atNo
service_idYes
started_atNo
updated_atNo
output_fileNo
completed_atNo
failure_codeNo
failure_messageNo
output_deliveryNo
client_referenceNo
charged_fee_microsNo
outstanding_microsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose real cost semantics ($0.000495 per 1,000 characters, prorated, failed jobs free), which is genuinely useful, but says nothing about asynchronous job behavior, idempotency_key enforcement, upload-to-URL behavior, webhook callbacks, or max_wait_seconds timeout handling.

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?

The two sentences are tight and front-load pricing, but they are not appropriately sized for a 9-parameter async generation tool. Being short here is under-specification rather than conciseness.

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?

The tool is complex (9 params, nested object, enum params, async-style controls, output schema present) yet the description covers only price. An agent could not correctly invoke this tool from the description alone, though the output schema reduces the need to document return values.

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

Parameters1/5

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

Schema description coverage is 0% across 9 parameters, and the description explains none of them. Fields like idempotency_key, output_upload, max_output_bytes, and webhook_endpoint_id are entirely undocumented in both schema and description, so the agent has no way to understand their semantics.

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?

The description never states that the tool synthesizes speech; it only names a model (Kokoro-82M) and its price. The purpose is only recoverable from the title 'Generate speech', so the description itself reads as a billing note rather than a statement of the action performed.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus siblings such as transcribe_audio or submit_ffmpeg_job, no mention of prerequisites, and no note about when to choose the batch priority or a webhook versus polling.

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