Skip to main content
Glama

x402-number-precision

Number Precision: Rounds a number to the requested number of decimal places 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
valueNo
precisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / precision / description
      Removed value: -"Precision to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / precision
      Added value: +{
      +  "description": "Precision to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not disclose the rounding mode (half-up vs. banker's rounding), behavior for negative or non-integer precision, or how non-numeric input is handled. The 'signed wallet' / free-trial line signals a payment model but gives no auth or rate-limit detail.

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 core sentence is short, front-loaded, and free of waste. The trailing emoji and free-trial marketing text add no invocation value but occupy little space.

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?

The underlying operation is simple and there is no output schema to explain, so the short description is nearly sufficient. It still leaves the string-typed numeric inputs and the rounding behavior undefined, which an agent would need in order to call it confidently.

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% for both parameters, so the schema explains nothing. The description only partly compensates: 'requested number of decimal places' clarifies `precision`, but `value` is left unexplained as a string, and no format, range, or tolerance guidance is given for either parameter.

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 names a specific verb and resource ('Rounds a number to the requested number of decimal places'), so an agent knows exactly what the tool does. However, it makes no attempt to distinguish itself from clearly overlapping siblings such as x402-round-to, x402-round-to-nearest, x402-truncate-decimal, or x402-to-fixed.

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

Usage Guidelines2/5

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

There is no when-to-use, when-not-to-use, or alternative guidance at all. In a sibling set containing several rounding/precision tools, the absence of any routing hint leaves the agent to guess which rounding tool is correct.

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