url-encode-decode
Percent-encode or decode text for URLs using URL-component semantics. Use mode encode or decode. Costs $0.001 USDC on Base via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| text | Yes |
Percent-encode or decode text for URLs using URL-component semantics. Use mode encode or decode. Costs $0.001 USDC on Base via x402.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| text | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It does add genuinely useful behavioral context: the $0.001 USDC payment on Base via x402, which signals a paid, non-free operation. However, it omits the 250000-char input cap, error behavior, and any note that the operation is a pure non-destructive transform.
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?
Three short, front-loaded sentences with no filler; the core purpose leads and the cost note trails. Every sentence carries some information, though the mode sentence duplicates the enum.
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 pure transform with no output schema, the description is close to adequate, and the payment disclosure is a plus. It still leaves input limits and return behavior unaddressed, which is a modest gap rather than a critical one.
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 2 parameters. The description only echoes the mode enum values already present in the schema and never explains the 'text' parameter or its maxLength constraint, so it fails to compensate for the coverage gap.
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 pair (encode/decode) and resource (text for URLs) and scopes it with 'URL-component semantics,' which helps distinguish it from base64-* and hex-* siblings. It does not explicitly name those siblings, but the URL-component qualifier is enough to differentiate.
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?
'Use mode encode or decode' merely restates the schema enum rather than telling the agent when to pick this tool over querystring, url-inspect, or the base64/hex encoders. No when-to-use context, prerequisites, or exclusions are given.
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.