Skip to main content
Glama

Restructure a speech

refine_transcript
Read-onlyIdempotent

Rewrite a speech into a clear structure (PREP, STAR, problem-solution, rule of three and others) chosen to fit it. Returns the rewritten sections, the structure with a 1-10 score for how well the original already followed it, a summary of what changed and one delivery tip. Input: 30-1500 words. Shares the daily text allowance with analyze_transcript.

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>"
    },
    "name": "refine_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoThe question or prompt being answered, e.g. an IELTS cue card or interview question. If omitted, the feedback is not tied to a specific prompt.
contextNoWhat the speech is for, so the feedback is calibrated to it. Defaults to general.
transcriptYesWhat was said, as plain text: a speech transcript or a draft you plan to say out loud.

Output Schema

NameRequiredDescriptionDefault
wordCountYes
callToActionYes
refinedVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / topic / description
      Previous value: -"The question or prompt being answered, e.g. an IELTS cue card or interview question"New value: +"The question or prompt being answered, e.g. an IELTS cue card or interview question. If omitted, the feedback is not tied to a specific prompt."
    • changedInput schema / properties / transcript / description
      Previous value: -"What was said, as plain text: 30-1500 words. Paste a speech transcript or a draft you plan to say out loud."New value: +"What was said, as plain text: a speech transcript or a draft you plan to say out loud."
  2. Changed2 schema fields changed
    • addedInput schema / properties / topic / examples
      Added value: +[
      +  "Should schools teach cooking?"
      +]
    • addedInput schema / properties / transcript / examples
      Added value: +[
      +  "Good morning everyone. Today I want to talk about why every student should learn to cook. Um, cooking teaches you to plan ahead, to manage your money and, basically, to look after yourself. It is also a great way to bring friends together, so I really believe it belongs in every school."
      +]
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description goes beyond them with two meaningful facts: the operation consumes a shared daily text allowance with analyze_transcript, and there is a 30-1500 word input window. It stops short of saying whether the rewrite replaces or is returned alongside the original, but the key cost/limit behavior is disclosed.

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?

The whole definition is a single tight block: purpose first, then the return payload, then input limits and quota cost. Nothing is padding, though the return-value enumeration is lengthy given an output schema exists.

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?

For a 3-parameter, fully documented tool with an output schema and annotations, the description supplies the missing operational facts: quota cost, input length window, and what the rewrite produces. The only unresolved item is the length-limit discrepancy between description and schema.

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 description coverage is 100%, so the schema already explains transcript, context and topic, making the baseline a 3. The description adds a practical word-count range, which is useful, but it conflicts with the schema's maxLength of 20000 characters for transcript, leaving the agent unsure which limit actually applies.

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

Purpose4/5

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

The description opens with a specific verb+resource ("rewrite a speech") and names concrete output structures (PREP, STAR, problem-solution, rule of three), so an agent knows exactly what transformation happens. It does not explicitly contrast itself with analyze_transcript or analyze_speech, which it only mentions in the quota sentence, so the sibling differentiation is implied rather than stated.

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

Usage Guidelines3/5

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

Usage is implied by the input constraints ("Input: 30-1500 words", spoken text) and the shared-quota note, but there is no explicit statement of when to pick this over analyze_transcript versus analyze_speech. The name-drop of analyze_transcript only signals a shared budget, not an alternative path.

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.