Skip to main content
Glama

Check Text

check_text
Read-onlyIdempotent

Proofreading evidence for a text: words found in neither the corpus nor the lexicon (misspelled or invented), known misspellings, missing diacritics, rare words, a word repeated three or more times within 60 words, and optionally unnatural verb + noun pairs. Returns findings with character offsets, not a corrected text. Grammar (agreement, case after prepositions) is not checked.

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

Input Schema

NameRequiredDescriptionDefault
langYessl Slovenian, hr Croatian, sr Serbian; auto picks the language whose lexicon knows most words
textYesUp to 20,000 characters
pairingsNoAlso flag verb + noun pairs the corpus does not use (slower)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the safety bar is covered. The description still adds real value beyond them: it discloses that results are findings with character offsets (not rewritten text), that grammar checks are out of scope, and that pairings is a slower pass. It does not cover error behavior or how 'rare' is thresholded, leaving a small gap for a diagnostic tool.

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?

Two sentences, no filler, and the output-shape clarification ('returns findings with character offsets, not a corrected text') is front-loaded near the end of the capability list where it matters most. The first sentence is a long comma-separated enumeration that requires careful reading but every clause carries distinct information.

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?

An output schema exists, so return-value detail is not needed, and the description still flags the crucial output characteristic (offsets, not corrected text). With 100% parameter coverage, all annotations present, and explicit statements of what is and is not checked, an agent has everything needed to call it correctly.

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 all three parameters including the lang enum and the 'slower' note on pairings are already documented in the schema. The description's mention of verb+noun pairs for the pairings flag and 'auto' language behavior is largely restating the schema. Baseline 3 applies since the schema carries the semantics.

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?

The description enumerates exactly what the tool detects (out-of-lexicon words, known misspellings, missing diacritics, rare words, 3x repetition within 60 words, optional verb+noun pairs) rather than restating the name. It also states two decisive negatives — findings with character offsets rather than a corrected text, and no grammar checking — which let an agent separate this from check_orthography. The scope is unambiguous enough to select without opening the schema.

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?

Usage context is clear (proofreading evidence) and the exclusion 'grammar (agreement, case after prepositions) is not checked' implicitly routes grammar questions to check_orthography. However, it never names a sibling explicitly, and the optional verb+noun pairing overlaps with the sibling check_pairing without saying when to use that tool instead. Guidance is strong but stops short of explicit routing.

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