Skip to main content
Glama

mechacut

num_parse

Human number -> canonical decimal_string + float + currency + percent flags. Handles grouping styles (1,234.56 / 1.234,56 / 1'234.56 / spaces), symbols and ISO codes. Ambiguity is REFUSED, not guessed: 1,234 needs prefer="decimal" or "group". 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": "num_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
preferNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose real behavior: the outputs returned, the accepted grouping styles, ISO codes, the refuse-on-ambiguity policy, and even that calls are free. It stops short of describing failure modes for malformed input, what error/response an agent sees on refusal, or numeric edge cases (negatives, exponents), which matters for a no-annotation parser.

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?

Information is dense and front-loaded: output shape first, then parsing capabilities, then the ambiguity rule. The arrow notation and sentence fragments are economical but slightly reduce readability, which keeps it off a 5.

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?

For a 2-parameter tool with no annotations and no output schema, the description supplies the return fields, grouping-style support, and the critical ambiguity constraint. Missing pieces are error/refusal semantics for invalid text and clarification of the prefer enum, so it is good but not complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain both parameters. It covers "text" implicitly and mentions prefer="decimal"/"group" only through the "1,234" example, without stating what each value resolves the string to (1234 vs 1.234) — the exact ambiguity the parameter exists to resolve. That is insufficient compensation for a zero-coverage schema with an enum.

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?

"Human number -> canonical decimal_string + float + currency + percent flags" names the input and the exact outputs with a concrete verb-free but precise mapping; an agent knows immediately this parses numeric strings. It never names a sibling (num_format, num_human, num_fx) to draw the boundary, so it falls short of a 5.

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 gives clear operating context: grouping styles are auto-detected, and ambiguous input like "1,234" requires prefer="decimal" or "group" rather than being guessed. What's absent is explicit routing against alternatives (e.g., when to use num_parse versus num_format), and no exclusions are 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.