x402-token-decimals
Token Decimals: Reads an ERC-20 token's decimals value on Base or Ethereum 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | ||
| token | No | ||
| address | No |
Token Decimals: Reads an ERC-20 token's decimals value on Base or Ethereum 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | ||
| token | No | ||
| address | No |
Changes observed during successful MCP inspections.
Input schema / allOfAdded value: +[
+ {
+ "anyOf": [
+ {
+ "required": [
+ "address"
+ ]
+ },
+ {
+ "required": [
+ "token"
+ ]
+ }
+ ]
+ }
+]Input schema / properties / address / descriptionRemoved value: -"Address to process"Input schema / properties / chain / descriptionRemoved value: -"Chain to process"Input schema / properties / token / descriptionRemoved value: -"Token to process"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations, so the description carries the full burden. It does disclose a real behavioral trait — a paid/quota model of 5 free trial calls per signed wallet, implying wallet signing is required — but says nothing about error behavior for non-ERC-20 contracts, whether the call is a read against chain state, or what happens when the free trial is exhausted.
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?
One compact, front-loaded sentence with the resource named first and the commercial terms trailing. The emoji and trial-call promo are minor noise but not obstructive.
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 3-parameter tool with no annotations, no output schema, and 0% schema coverage, the description is thin. The biggest gap is the token-vs-address ambiguity that an agent must resolve to build a valid call, and nothing in the description addresses it.
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% across three parameters. The description does not explain the crucial anyOf constraint — that 'token' and 'address' are alternative ways to identify the token — nor does it state the accepted values for 'chain' beyond the informal 'Base or Ethereum'. With zero coverage the description needed to compensate and does not.
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?
Names a specific verb ('Reads') and a precise resource ('an ERC-20 token's decimals value'), plus the supported chains (Base or Ethereum). That is enough to separate it from siblings like x402-token-symbol or x402-token-total-supply on subject matter alone, though it never explicitly contrasts itself with them.
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 statement of when to call this versus the many adjacent token tools, and no exclusions (e.g. non-ERC-20 tokens). The chain list is scope information, not usage guidance, and nothing tells the agent when to prefer this over a symbol or supply lookup.
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.