Skip to main content
Glama

Estimate read time

estimate_duration
Read-only

Estimate how long a script takes to read aloud, with per-section breakdowns, pause and number adjustments, pace ranges, and calibration from a real recording.

Instructions

How long will this script take to say? Returns total duration and a per-section breakdown at a chosen pace, plus a range across paces. Counts only spoken words (headers and stage directions are excluded), adds time for [pause]/[beat]/'…', and adjusts for numbers, URLs and acronyms. Give actual_seconds (how long a real take was) to calibrate your personal words-per-minute.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "estimate_duration"
  }
}

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
pathNoOr a local .txt / .md file. ~ is expanded.
textNoThe script text.
actual_secondsNoLength of a real recording of this script — returns your measured WPM.
target_secondsNoCompare against a target length.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

readOnlyHint=true is consistent with a pure estimator, and the description goes well beyond it by disclosing the counting rules: only spoken words count, headers and stage directions are excluded, pause tokens add time, and numbers/URLs/acronyms are adjusted. It stops short of stating precision or determinism (e.g., whether identical inputs always yield identical output), which is the one behavioral trait an agent might still want.

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?

Four sentences, front-loaded with the core answer (total duration, per-section, range) before the counting rules and the calibration tip. Dense but every clause carries information; it could be tightened slightly by grouping the token-adjustment rules.

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

Completeness5/5

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

With no output schema, the description carries the return shape itself and does so concretely: total duration, per-section breakdown, and a range across paces. It also covers the tricky behavioral edge cases (excluded headers/stage directions, pause tokens, number/URL/acronym handling) that would otherwise cause misestimated expectations.

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 wpm, pace, path, text, actual_seconds and target_seconds, and this establishes a baseline of 3. The description adds modest meaning by clarifying that results come 'at a chosen pace' plus a range across paces, but it does not explain how wpm overrides pace or what target_seconds does to the response.

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 opening question plus 'Returns total duration and a per-section breakdown at a chosen pace, plus a range across paces' states a specific verb (estimate/return) and resource (spoken script duration) with its output shape. It implicitly separates this from a fitting/adjusting sibling like fit_to_duration by framing the tool purely as measurement, but never names an alternative outright.

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 only explicit conditional is 'Give actual_seconds ... to calibrate your personal words-per-minute,' which is parameter how-to rather than tool-selection guidance. There is no statement of when to reach for this versus fit_to_duration or analyze_pacing, so the agent must infer the boundary from the word 'estimate.'

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