x402-onchain
x402-onchain: Generic read-only JSON-RPC passthrough
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain to process | |
| method | No | Method to process | |
| params | No | Params to process |
x402-onchain: Generic read-only JSON-RPC passthrough
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain to process | |
| method | No | Method to process | |
| params | No | Params to process |
Changes observed during successful MCP inspections.
Input schema / properties / methodAdded value: +{
+ "description": "Method to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It does contribute one genuine behavioral fact — the call is read-only — but says nothing about which methods/chains are permitted, rate limits, auth requirements, or what errors look like. Minimal but non-zero disclosure.
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 with zero waste. It is arguably under-specified rather than verbose, but structurally it is exactly as long as it needs to be and no longer.
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 generic passthrough with three loosely-specified optional parameters, no annotations, and no output schema, the description is too thin. An agent cannot tell what a valid chain/method value looks like or what the response shape will be without guessing.
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 coverage is 100%, but the schema descriptions are placeholders ('Chain to process', 'Method to process', 'Params to process') that add no meaning. Per the guidance, high coverage sets a baseline of 3; the description adds nothing about chain identifiers, method namespaces, or how params are encoded (string? JSON?).
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: 'Generic read-only JSON-RPC passthrough'. An agent knows this proxies RPC calls rather than doing something domain-specific. It does not differentiate itself from near-identical siblings such as x402-rpc, x402-onchain-reads-v1, or x402-sol-onchain, so it stops short of a 5.
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, when-not-to-use, or alternative routing is given. With ~40 other RPC/onchain siblings (x402-rpc, x402-rpc-health, x402-onchain-reads-v1), the absence of any selection guidance is a real gap.
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.