Skip to main content
Glama

Compare script versions

compare_scripts
Read-only

Compare 2–10 script versions side by side to check word count, spoken duration, hook score, first line, longest sentence, CTA, and target-length fit.

Instructions

Compare 2–10 versions of a script side by side: words, duration at your pace, hook score, first line, longest sentence, CTA, and whether each fits a target length.

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": {
      "scripts": "<scripts>"
    },
    "name": "compare_scripts"
  }
}

Input Schema

NameRequiredDescriptionDefault
wpmNoCustom words per minute (overrides pace). Measure yours with estimate_duration + actual_seconds.
paceNoslow 130 · conversational 150 · energetic 170 (typical Reels/TikTok) · fast 190 words per minute.energetic
scriptsYes
target_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes a safe, non-mutating read. The description adds that this is a comparative analytics operation returning derived metrics rather than a text diff, but repeats the 2–10 item bound that the schema already enforces and says nothing about error behavior when bounds are violated.

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?

A single dense sentence, front-loaded with the verb and the 2–10 constraint, then the returned metrics. No filler and no repetition of boilerplate.

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?

There is no output schema, so the description usefully enumerates the metrics the caller will receive, which is the main completeness requirement here. Residual gaps are minor: how labels surface in the comparison and what happens with mixed-length inputs.

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?

With only 50% schema description coverage, the description compensates by conceptually linking the undocumented parameters: 'at your pace' implies pace/wpm control over duration, and 'whether each fits a target length' gives meaning to the otherwise undescribed target_seconds. It does not explain the role of the label field or that wpm overrides pace.

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 ('Compare') and resource ('2–10 versions of a script side by side') and enumerates the comparison dimensions (words, duration, hook score, first line, longest sentence, CTA, fits target length). This distinguishes it from single-script siblings like analyze_hook or analyze_pacing by implication, but never explicitly says so.

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: this is for evaluating multiple drafts against each other. There is no explicit when-to-use statement, no exclusions, and no routing to alternatives such as estimate_duration or fit_to_duration for single-script work, so the agent must infer the selection criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.