Skip to main content
Glama
mcp-review-gate-example

mcp-review-gate-example

by BindaasDavid

Text stats

text_stats
Read-only

Count characters, words, and sentences in a text, then estimate reading time to help assess length and readability.

Instructions

Count characters, words and sentences in a piece of text and estimate reading time.

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>"
    },
    "name": "text_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe text to measure

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the agent knows this is a safe, local, side-effect-free read; the description does not contradict that. Beyond annotations it adds only the list of computed metrics, and says nothing about edge cases (empty input, very long text) or how reading time is derived.

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 well-formed sentence that front-loads the primary operations before the secondary reading-time estimate. No redundant or filler wording.

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?

This is a simple, one-parameter, side-effect-free tool, and the description covers what it computes adequately; there is no output schema, so a brief note on the returned metric shape would have closed the last gap. Nothing essential for correct invocation is missing.

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?

The single parameter has 100% schema description coverage ('The text to measure'), and the description adds nothing further about it. With the schema carrying the parameter burden, the baseline of 3 applies.

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 set (count characters, words, sentences; estimate reading time) against a specific resource (a piece of text). The scope is unambiguous and would not be confused with the sibling draft/message tools.

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 by the nature of the tool — you call it when you need text measurements — but there is no explicit when-to-use statement, no mention of when it is inappropriate, and no reference to any alternative. For a single-purpose utility with no plausible sibling overlap this is minimum viable guidance.

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

Deploy Server

Other Tools