Skip to main content
Glama

mechacut

text_normalize

Unicode normalization NFC/NFD/NFKC/NFKD + accent strip + fullwidth fold + casefold + whitespace collapse: two names that look equal become octet equal. Free.

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_normalize"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNoNFC
textYes
casefoldNo
fullwidthNo
collapse_wsNo
strip_accentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

With zero annotations, the description carries the full disclosure burden. It adds 'Free' (cost) and implies a deterministic transformation, but says nothing about whether the input is mutated, whether flags compose and in what order, idempotency, or what is returned — significant gaps for a 6-parameter transform with no annotations.

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 dense sentence with a colon that lists capabilities then lands the payoff. No filler; every clause corresponds to a real parameter or the core guarantee.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter, no-annotation, no-output-schema tool, the definition covers the what but not the how: operation ordering, flag interactions, defaults, and the return value are all unaddressed. Adequate to select the tool, thin for invoking it precisely.

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 0%, so the prose must compensate, and it largely does: it names the four normalization forms, accent stripping, fullwidth folding, casefold, and whitespace collapsing, which map onto form, strip_accents, fullwidth, casefold, and collapse_ws. It stops short of explaining precedence/ordering between the flags or the NFC default, which is why it is not a 5.

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?

Names the concrete transformations (NFC/NFD/NFKC/NFKD, accent strip, fullwidth fold, casefold, whitespace collapse) and the outcome goal: 'two names that look equal become octet equal'. That is far more specific than the name alone and separates it from siblings like text_case or text_fold_report, though it never states outright that it returns the normalized string.

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?

The 'two names that look equal become octet equal' framing implies the use case (canonicalizing visually identical strings before comparison), but there is no explicit when-to-use vs. when-not and no named alternative among the many text_* siblings. Usage is inferable rather than stated.

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.