x402-currency-code
Currency Code: Formats a value with the currency symbol for a code such as USD or EUR, defaulting to USD and two decimals 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| currency | No |
Currency Code: Formats a value with the currency symbol for a code such as USD or EUR, defaulting to USD and two decimals 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| currency | No |
Changes observed during successful MCP inspections.
Input schema / properties / currency / descriptionRemoved value: -"Currency to process"Input schema / properties / value / descriptionRemoved value: -"Value to process"Input schema / properties / currencyAdded value: +{
+ "description": "Currency to process",
+ "type": "string"
+}Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description must carry behavioral disclosure. It does reveal defaults (USD, two decimals) and the per-wallet free-trial limit, which is genuinely useful operational context, but it omits what the returned string looks like, error behavior for an unknown or missing currency code, and whether the operation is purely local/side-effect free.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence carrying the key behavior, followed by a short promotional tagline. The leading 'Currency Code:' label duplicates the tool name and could be dropped, but nothing else wastes space.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter formatter with no output schema, the description should at minimum say what the result looks like and disambiguate it from the three other currency-formatting siblings. It covers defaulting but leaves both gaps open, making it only minimum-viable for correct tool selection.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 description must compensate. It explains 'currency' reasonably (a code such as USD or EUR, defaulting to USD), but says nothing about 'value' — its type, whether it is a number as a string, or how it is parsed — and the two-decimals default is format behavior rather than parameter documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: formats a value using the currency symbol for a currency code. However the 'Currency Code:' prefix merely restates the tool name, and the description never distinguishes it from near-identical siblings such as x402-currency-format and x402-format-currency, leaving the agent unable to route between them from the text alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use or when-not-to-use guidance, and no mention of the many sibling tools (x402-currency-format, x402-format-currency, x402-currency-convert). The only usage-ish detail is the stated defaults (USD, two decimals), which is invocation behavior rather than selection guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.