Skip to main content
Glama

YapCam Teleprompter

How long a script takes to say

time_script
Read-onlyIdempotent

Counts the words of a script and says how long it takes to say out loud at a speaking pace (about 150 words a minute unless the user gives theirs). With a target length, it also says how many words to cut or add to fit it, for example 60 seconds for a Reel, a Short or a TikTok. Use it when the user asks how long their script is, or wants it to fit a time. It changes nothing and stores nothing.

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": {
      "script": "<script>"
    },
    "name": "time_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptYesThe script exactly as the user will say it, with an empty line between paragraphs. Leave out headings, shot directions and notes such as [B-roll] or (pause) unless the user wants them on screen.
target_secondsNoThe length the script has to fit, in seconds (60 for a one-minute Reel).
words_per_minuteNoThe speaker's pace. Most people speak to camera at 130 to 160.

Output Schema

NameRequiredDescriptionDefault
wordsYes
words_to_cutNoWords to remove to fit the target (0 when it fits).
target_secondsNo
words_to_spareNoWords that could still be added within the target.
speaking_secondsYes
words_per_minuteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive behavior, so the description's 'changes nothing and stores nothing' is partly redundant. It earns credit by disclosing the behavioral default that matters most here: a fallback pace of about 150 words per minute when the user does not supply one, plus the conditional second output when a target length is present.

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?

Three sentences, front-loaded with the core action, then the optional target-length behavior, then the usage and safety clause. Mostly tight, though the Reel/Short/TikTok example and the 'changes nothing' sentence could be trimmed without losing meaning.

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?

An output schema exists, so return values need not be described, and annotations carry the safety profile. The description covers purpose, both operating modes, the pace default and side-effect freedom; only minor details such as precision or rounding of the estimate are left implicit.

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 the baseline is 3. The description exceeds it by documenting the default value for words_per_minute (~150), which the schema does not state, and by framing target_seconds as the fit-length trigger that switches on the cut/add calculation.

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

Purpose5/5

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

States a specific verb and resource: counting words in a script and estimating spoken duration at a given pace. The added clause about optionally reporting words to cut or add makes the two output modes explicit, and 'changes nothing and stores nothing' separates it from the sibling that sends a script to a teleprompter.

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

Usage Guidelines4/5

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

Gives clear trigger conditions: 'when the user asks how long their script is, or wants it to fit a time.' It does not name the teleprompter sibling or state when not to use this tool, so the routing guidance stops short of the top score.

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.