Skip to main content
Glama

Preview Cast Line

preview_cast_line

Generate one directed Cast line. Consumes usage. Check get_cast_capabilities for supported voice, emotion and intensity.

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>",
      "voice": "<voice>",
      "emotion": "<emotion>",
      "intensity": "<intensity>"
    },
    "name": "preview_cast_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesNarration text.
voiceYesA supported Cast voice.
emotionYesSupported emotion.
intensityYesUse a tier from Cast capabilities: subtle, balanced or bold; or a number from 0 to 1. Legacy low/med/high aliases are normalized by MCP.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover non-readOnly, non-idempotent, non-destructive behavior. The description adds that generation 'Consumes usage,' an important cost side effect, but does not explain preview persistence, output destination, or quota behavior.

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

Conciseness5/5

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

Three short sentences, with the action front-loaded and followed by cost and prerequisite information. No wording is redundant.

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 four-required-parameter generation tool with no output schema, it provides purpose, usage cost, and a capability prerequisite. It omits return/preview semantics such as whether audio is ephemeral or saved, and how unsupported values are handled.

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 coverage is 100%, so baseline is 3. The description adds meaningful guidance beyond the schema by pointing to get_cast_capabilities for supported voice, emotion, and intensity values.

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?

States a specific verb and resource: 'Generate one directed Cast line,' scoped to one line. It does not explicitly explain how a preview differs from direct_cast_script or render_cast; the preview aspect is only in the title.

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?

Says to check get_cast_capabilities for supported voice, emotion, and intensity, which is useful prerequisite guidance. It does not state when to choose this over direct or render siblings, or when not to use it.

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.