Skip to main content
Glama

classify_register

Read-onlyIdempotent

Classifies Estonian text as formal or colloquial with a register score and matched markers. Use it to catch marketing copy drifting into officialese or contracts slipping into chat tone.

Instructions

Heuristic register classifier for Estonian (formal vs colloquial).

Returns a tier label (English in tier, correct Estonian in tier_estonian — quote that field verbatim when composing an Estonian-language reply rather than translating tier yourself, to avoid mistranslations like "formalne" instead of the correct "formaalne"), a normalised score in [-1, 1] (positive = formal, negative = colloquial), and the matched formal/colloquial markers found in the text. Useful for sanity-checking that marketing copy hasn't drifted into officialese, or that a contract draft hasn't slipped into chat tone.

The lexicon covers legal-administrative AND academic/report vocabulary. structure adds two syntactic signals — umbisikuline tegumood ratio and noun/verb density — bounded at +0.4, applied only from 25 words up and only when the lexicon is not net-colloquial.

LIMITATION: still a heuristic, not a trained model. Address forms and finer syntax go uncaught, and most newsletter prose scores 'neutral'. Use the result as a directional hint, not a verdict; for a full kantseliit breakdown with per-issue suggestions, call check_officialese. Input capped at 100,000 characters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesEstonian text to classify by register (formal vs colloquial).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
tierNo
scoreNo
structureNo
word_countNo
consistencyNo
tier_estonianNo
formal_markersNo
colloquial_markersNo
Behavior5/5

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

Beyond the readOnlyHint and idempotentHint annotations, the description discloses the heuristic nature, limitations, return fields, score range, the role of syntactic signals, and the 100,000-character input cap. It even explains that a score of 'neutral' is common for newsletter prose, which is exactly the behavioral nuance 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.

Conciseness4/5

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

The description is longer than most, but each paragraph earns its place: purpose, outputs, use cases, limitations, and alternative routing. The only minor inefficiency is the denseness of the `structure` sentence; still, it is an effective and organized front-loaded definition.

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?

For a one-parameter read-only heuristic classifier, this description is effectively complete. It explains the output semantics, score bounds, limitation, pointer to check_overwrite, and input cap. No output schema exists, but the description gives enough on returns that an agent can understand them without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only one parameter and 100% schema description coverage, the schema already covers what `text` is. The description raises semantics by specifying the 100,000-character cap, the Estonian-only expectation, and the lexical scope (legal-administrative and academic/report vocabulary). The mention of `structure` is a slight oddity as it is not a schema parameter, but it reads as an internal behavior note rather than an input directive.

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 opening sentence states the exact function: 'Heuristic register classifier for Estonian (formal vs colloquial)', which is a specific verb+resource pair. It also lists the concrete outputs (tier, score, markers), and the later note referencing check_officialese distinguishes it from the most similar sibling.

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

Usage Guidelines5/5

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

The description explicitly says when the tool is useful: sanity-checking marketing copy and contract drafts. It also gives a strong when-not and alternative: 'Use the result as a directional hint, not a verdict; for a full kantseliit breakdown with per-issue suggestions, call check_officialese.' Input cap and neutral-score limitation further shape safe usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/silly-geese/estonian-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server