Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-sig-figs

Sig Figs: Round a number to a specified number of significant figures. Provide value and optional sigFigs (default 3). 🆓 5 free trial calls per signed wallet

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": {
      "value": "<value>"
    },
    "name": "x402-sig-figs"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
sigFigsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "value"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / sigFigs / description
      Removed value: -"SigFigs to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the default of 3 significant figures and a commercial constraint ('5 free trial calls per signed wallet'). It says nothing about the return format, how non-numeric or invalid input is handled, or rounding behavior at ties, which are the details an agent most 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 purpose is front-loaded in the first clause and the parameter guidance follows immediately, with no wasted sentences. The pricing line is extra but is the only non-computational content and is short.

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 two-parameter utility with no annotations and no output schema, the description covers purpose, both inputs, and the default, which is nearly everything needed. The main remaining gap is what the tool returns (a string, a number, or an error shape), which matters more given there is no output schema.

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 description must compensate, and it does document both parameters in prose: value is the number being rounded and sigFigs is optional with a default of 3. It does not clarify accepted string formats (decimals, scientific notation, negative numbers), which leaves some ambiguity for a string-typed schema.

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 uses a specific verb and resource: 'Round a number to a specified number of significant figures,' which tells an agent exactly what the tool computes. Sibling tools are unrelated utilities, so no differentiation is needed, but the description also doesn't explain how this tool relates to any alternative formatting or rounding tool.

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 description implies usage by stating 'Provide value and optional sigFigs (default 3),' which gives a minimal call pattern. It does not state when an agent should choose this over another rounding or precision tool, nor does it set any preconditions or exclusions.

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.