x402-swap-safety
Swap Safety: Pre-swap risk analysis on Base, Ethereum, BSC, Polygon, Arbitrum, Optimism and Avalanche. 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| token | No | ||
| address | No |
This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.
Swap Safety: Pre-swap risk analysis on Base, Ethereum, BSC, Polygon, Arbitrum, Optimism and Avalanche. 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| token | No | ||
| address | No |
Changes observed during successful MCP inspections.
Input schema / allOfAdded value: +[
+ {
+ "anyOf": [
+ {
+ "required": [
+ "address"
+ ]
+ },
+ {
+ "required": [
+ "token"
+ ]
+ }
+ ]
+ }
+]Input schema / requiredAdded value: +[
+ "chain"
+]Input schema / properties / chainAdded value: +{
+ "type": "string"
+}Input schema / properties / chainRemoved value: -{
- "type": "string"
-}Input schema / properties / chainAdded value: +{
+ "type": "string"
+}Input schema / properties / chainRemoved value: -{
- "type": "string"
-}Input schema / properties / chainAdded value: +{
+ "type": "string"
+}Input schema / properties / chainRemoved value: -{
- "type": "string"
-}Input schema / properties / chainAdded value: +{
+ "type": "string"
+}Input schema / properties / chainRemoved value: -{
- "type": "string"
-}Input schema / properties / chainAdded value: +{
+ "type": "string"
+}Input schema / properties / chainRemoved value: -{
- "type": "string"
-}Input schema / properties / chainAdded value: +{
+ "type": "string"
+}Input schema / properties / address / descriptionRemoved value: -"Address to process"Input schema / properties / chainRemoved value: -{
- "description": "Chain to process",
- "type": "string"
-}Input schema / properties / token / descriptionRemoved value: -"Token to process"Input schema / properties / chainAdded value: +{
+ "description": "Chain to process",
+ "type": "string"
+}Input schema / properties / chainRemoved value: -{
- "description": "Chain to process",
- "type": "string"
-}Input schema / properties / chainAdded value: +{
+ "description": "Chain to process",
+ "type": "string"
+}Input schema / properties / chainRemoved value: -{
- "description": "Chain to process",
- "type": "string"
-}Input schema / properties / chainAdded value: +{
+ "description": "Chain to process",
+ "type": "string"
+}Input schema / properties / chainRemoved value: -{
- "description": "Chain to process",
- "type": "string"
-}Input schema / properties / chainAdded value: +{
+ "description": "Chain to process",
+ "type": "string"
+}Input schema / properties / addressAdded value: +{
+ "description": "Address 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 discloses the free-trial quota but says nothing about whether the operation is read-only, how risk is assessed, what happens after the trial, or what the response contains.
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?
The definition is short and front-loads the purpose. The free-trial note is useful but slightly promotional, and the description remains under-specified for a three-parameter risk tool.
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?
With no annotations, no output schema, and 0% parameter description coverage, the description is too thin for a risk-analysis tool. It omits input semantics, output expectations, and behavioral constraints that an agent needs to invoke it correctly.
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%. The description lists supported chains, which gives some context for the `chain` parameter, but it does not explain the `token` versus `address` choice or the requirement to supply at least one of them.
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?
The description states a clear purpose: 'Pre-swap risk analysis' and lists the supported chains. It is specific enough to distinguish a pre-swap safety check from generic token or address tools, though it does not explain what the risk analysis returns.
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?
'Pre-swap' implies the tool should be used before executing a swap, and the trial-call limit is a usage constraint. However, it gives no explicit when-to-use alternatives, prerequisites for the signed wallet, or exclusions.
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.