Skip to main content
Glama

text_readability_batch

Read-only

Readability score (batch) — Score up to 20 texts in one call: Flesch reading ease, Flesch-Kincaid grade, Gunning fog, words, sentences and reading time per text, plus averages, the easiest and hardest text, total reading time and (with target_grade=) which texts are above the target grade. texts = separated by || or a JSON array of strings. Price: $0.004 USDC (Base, via x402).

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": {
      "texts": "<texts>"
    },
    "name": "text_readability_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
textsYese.g. The cat sat on the mat.||Notwithstanding the aforementioned provisions, the lessee shall indemnify the lessor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the marginal bar is low, and the description does add real behavior: a hard 20-text limit, the per-call price ($0.004 USDC via x402, implying a payment step), and the aggregate outputs including easiest/hardest text and total reading time. It does not say what happens when the 20-text cap is exceeded or how payment failures surface.

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?

A single dense, front-loaded paragraph that leads with what the tool produces and follows with input format and price; no filler sentences. The parenthetical enumerations make it long but each clause carries information.

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?

With no output schema, the description appropriately enumerates the return values, and it covers limits, input encoding, and cost. The gap is the phantom target_grade parameter and the absence of any error/overflow behavior for inputs over 20 texts.

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?

With one parameter at 100% schema coverage the baseline is 3, and the description does add encoding semantics ('separated by || or a JSON array of strings') beyond the schema's example-only description. However, it references 'target_grade=' as if it were an input, yet no such property exists in the schema, which actively misleads an agent trying to construct the call.

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 description names a specific verb and resource ('Readability score') and pins the batch scope ('Score up to 20 texts in one call'), then enumerates the exact metrics returned. It only implicitly separates itself from the single-text sibling text_readability through the '(batch)' label and the 20-text cap, without naming the alternative.

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?

It clearly establishes the usage context: multiple texts up to 20 in one call, with a stated input encoding. It stops short of explicit when-not guidance or naming text_readability for single-text scoring, so the agent must infer the boundary.

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.

Resources