Skip to main content
Glama

x402-format-thousands

Format Thousands: Insert the server locale's thousands separators into a number and return the string: 1234567 becomes '1,234,567'. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3.2/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; it does disclose the key behavioral trait that separators come from the server locale and that the output is a string, plus the payment model (5 free calls per signed wallet). It says nothing about negative numbers, decimal handling, or what happens if the value is non-numeric or already contains separators.

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?

Two short sentences, front-loaded with the operation and followed immediately by the input/output example, with zero wasted wording on the mechanics. The trailing trial-call pitch is peripheral but carries real cost information rather than pure filler.

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 single-parameter string formatter with no output schema, the description provides enough to call it correctly: purpose, locale nuance, and a worked example. Only edge-case behavior (invalid input, decimals, negatives) is left uncovered, which is a minor gap at this complexity level.

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

Parameters3/5

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

Schema description coverage is 0% and the lone parameter "value" is typed only as string, so the description must compensate. The 1234567 → '1,234,567' example does show the expected input form (unformatted digits), but it never confirms whether decimals, signs, or pre-formatted strings are accepted.

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 ("Insert ... thousands separators into a number and return the string") and backs it with a concrete example, so the operation is unambiguous. It does not, however, distinguish itself from near-identical siblings such as x402-add-commas, x402-format-integer, or x402-format-decimal, leaving the agent to guess which formatter to pick.

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 guidance on when to choose this tool over x402-add-commas or x402-format-currency, and no exclusions or preconditions are stated. The example implies usage but the agent must infer the comparison itself.

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