Skip to main content
Glama

pramana

Voice cycle: spoken transcript → question → script with SSML

pramana_voice

Голосовой цикл: разговорная расшифровка → вопрос → сценарий с SSML.

Распознавания речи на сервере нет и купить его нельзя (бюджет $0), поэтому текст распознаётся на стороне клиента, а мы приводим разговорную речь к поисковому запросу: «сто тридцать дней» → «130 дней», «икс фордер два» → «x402». Все правки возвращаются в transcript.changes — их можно показать человеку или отозвать, молча менять смысл реплики нельзя.

Озвучки на сервере нет: ssml и segments озвучиваются любым TTS клиента. Кэш общий с pramana_audio — тот же корпус и вопрос отдаются без генерации.

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": {
      "transcript": "<transcript>",
      "documents": "<documents>"
    },
    "name": "pramana_voice"
  }
}

Input Schema

NameRequiredDescriptionDefault
toneNoneutral
languageNoru
documentsYes
transcriptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses that neither ASR nor TTS runs server-side (client supplies recognition and voices the returned ssml/segments), that edits surface in transcript.changes and are reversible, and that meaning must not be silently changed. It omits failure modes and limits, but the core behavioral contract is explicit.

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

Conciseness3/5

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

The pipeline is stated up front and the paragraph split by concern (normalization, TTS, caching) is readable. Some material, notably the $0-budget justification for the architecture, is design rationale rather than something the calling agent needs.

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

Completeness3/5

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

For a 4-parameter, no-annotation, no-output-schema tool, the description explains the transformation and the return artifacts reasonably well but leaves the parameter interface largely unexplained. An agent could call it, but only by guessing what documents, tone, and language do.

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 coverage is 0% across 4 parameters, so the description must compensate. It gives real meaning for transcript (conversational speech needing normalization), but tone, language, and documents are never mentioned at all, leaving half the interface undocumented in both schema and prose.

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

Purpose3/5

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

The title and first sentence frame a three-stage pipeline (transcript → question → SSML script), and the body clarifies that the real work is normalizing spoken language into a search query ("сто тридцать дней" → "130 дней"). However, no single verb+resource statement says what the tool returns or does at the API level, leaving the agent to infer the operation from pipeline jargon.

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?

The only comparative guidance is the note that the cache is shared with pramana_audio, so identical corpus/question pairs return without generation — a hint about avoiding redundant calls but not a when-to-use rule. Nothing states when to choose this over pramana_audio or pramana_ask, nor any prerequisites such as needing client-side ASR.

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