Skip to main content
Glama

Check Orthography

check_orthography
Read-onlyIdempotent

Slovenian, Croatian and Serbian. Orthography findings, each with the rule's place in the rulebook (Slovenian: § number of Slovenski pravopis 2001; Croatian: chapter, section and page of Hrvatski pravopis, IHJJ 2013; Serbian: point and page of Pravopis srpskoga jezika, Matica srpska 2010), a paraphrase of the rule, the text, a suggested replacement and character offsets. Slovenian: commas before subordinate and adversative clauses, ne + verb, together or apart, s/z and k/h, capitals, spacing, dashes, dates, abbreviations. Croatian: no comma before a dependent clause after its main clause, comma before ali/nego, ne + verb (ne mogu), je li, ni za što, together or apart (nažalost, sa mnom, dvadeset pet), č/ć, ije/je, voicing, sljedeći, HDZ-a, 80-ih, capitals, spacing (50 %, 15 – 17), dates, abbreviations. Serbian (Latin or Cyrillic; findings in the input's script): the future radiću (not radit ću), ne + verb, da li, ni za šta, together or apart (nažalost, u stvari, na primer, sa mnom), Serbian forms (ko, uopšte, opšti, zadaci, tužilac), no mixing of ekavian and ijekavian, no comma before declarative da or nego što, 55%, 1941–1945, XX vek, dr without a full stop, NATO-a, capitals. kind says how sure a finding is: mechanical (the rule decides), heuristic (usually right), lexical (decided from the lexicon and corpus counts). Not checked: the comma after a leading or embedded clause (Serbian: opt-in rule comma_leading_clause), grammar, loanword spelling.

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": "check_orthography"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNosl Slovenian (Slovenski pravopis 2001), hr Croatian (Hrvatski pravopis, IHJJ 2013), sr Serbian (Pravopis srpskoga jezika, Matica srpska 2010); auto picks by the lexicons (Cyrillic is Serbian)auto
textYesSlovenian, Croatian or Serbian text (Latin or Cyrillic), up to 20,000 characters
rulesNoRule ids to apply (see explain_rule); default: the rules measured reliable

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / lang
      Added value: +{
      +  "default": "auto",
      +  "description": "sl Slovenian (Slovenski pravopis 2001), hr Croatian (Hrvatski pravopis, IHJJ 2013), sr Serbian (Pravopis srpskoga jezika, Matica srpska 2010); auto picks by the lexicons (Cyrillic is Serbian)",
      +  "enum": [
      +    "sl",
      +    "hr",
      +    "sr",
      +    "auto"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / text / description
      Previous value: -"Slovenian text, up to 20,000 characters"New value: +"Slovenian, Croatian or Serbian text (Latin or Cyrillic), up to 20,000 characters"
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent read, but the description adds substantial context beyond them: the exact shape of each finding, rulebook citation schemes per language, the meaning of `kind` values (mechanical/heuristic/lexical), script handling for Serbian, and an explicit list of what is not checked. For a checker whose result quality varies by rule confidence, this is exactly the disclosure an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentences front-load the languages and finding structure well, but the middle is a very long per-language enumeration of rules (commas, ne + verb, č/ć, ije/je, dates, abbreviations, etc.) that reads like documentation dump rather than selection guidance. It is dense but not efficiently structured—bulleted scope categories would serve the same purpose with less bulk.

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 an output schema present, the description need not explain return values, yet it still characterizes findings and confidence kinds. Combined with the rulebook references, opt-in `rules` behavior and the explicit out-of-scope list, an agent has everything needed to call this correctly and interpret results.

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 all three parameters are already documented, and the description adds genuine value: it names the three rulebook authorities behind `lang`, explains that Serbian findings come back in the input's script, and references explain_rule as the source of rule ids for `rules`. Only the 20,000-character limit is left to the schema, which is fine given full coverage.

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 makes clear this returns orthography findings for Slovenian, Croatian and Serbian text, complete with rulebook references, paraphrases, suggested replacements and offsets. The verb is implicit ('Orthography findings') rather than stated as 'checks', and it never contrasts itself with siblings like check_text or suggest_replacements, so an agent must infer the boundary. Purpose is nonetheless specific and unambiguous.

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 enumerated rule coverage per language and by the explicit exclusions ('Not checked: the comma after a leading or embedded clause... grammar, loanword spelling'). There is no explicit statement of when to prefer this over check_text, check_pairing or suggest_replacements, nor when to set `rules` versus relying on defaults beyond the schema note. Adequate but leaves routing to inference.

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