Skip to main content
Glama

Direct Cast Script

direct_cast_script

Turn a narration script into directed Cast lines before rendering. Consumes usage.

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": {
      "body": "<body>"
    },
    "name": "direct_cast_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

"Consumes usage" is a genuinely useful disclosure beyond the annotations: it warns that invoking this tool has a cost. However, with idempotentHint=false the description should warn that repeated calls create duplicate work or charges, and it never says whether the directed lines are persisted or returned only.

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?

Two short sentences, front-loaded with the core transformation and followed by the cost note. No filler, though the extreme brevity leaves the second sentence doing work a fuller definition would share.

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

Completeness2/5

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

For a non-idempotent, usage-consuming transformation with a nested input object and no output schema, the definition leaves too much open: what "directed Cast lines" look like, how they feed downstream tools, and whether re-invocation is safe. An agent could call it but not confidently plan around it.

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 0% and the single parameter is a nested object with a required "text" field, so the description carries the burden. Calling the input a "narration script" maps usefully onto body.text, but nothing is said about format, length limits, or whether any directing options can be supplied.

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?

"Turn a narration script into directed Cast lines" names a specific transformation and output artifact, and "before rendering" implicitly separates it from render_cast. It's clear what the tool produces, though it doesn't name a sibling alternative explicitly.

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?

The phrase "before rendering" implies this is a preparatory step in a pipeline, but the definition never states when to skip it, whether it's required before render_cast, or how it relates to preview_cast_line. Usage is implied rather than prescribed.

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.