Skip to main content
Glama

url_decode

Decode percent-encoded text, treating + as a space when plus=true (form encoding). Use to read encoded links and form data. Side effects: none on any outside system (it only reads or computes), but each successful call costs $0.001 in USDC on Base or another supported network, paid with x402, or the same amount in prepaid card credits when the request carries an API key from /credits. That payment is why the tool is not marked read-only or idempotent: repeating a call charges again. Failed calls are never charged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plusNotrue to read + as space
textYesThe encoded text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint=false and idempotentHint=false, which would otherwise look wrong for a pure compute tool; the description explains exactly why, citing the per-call $0.001 x402/USDC charge, the prepaid-credit/API-key path, and that failed calls are never charged. That is high-value context beyond the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first sentence, with usage and then payment mechanics following. The payment passage is long but earns its place by justifying the surprising annotation combination; only minor tightening is possible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, no-output-schema tool, the description covers purpose, the plus flag, usage context, cost model, and charge semantics. It does not state the return shape, though that is largely implied by "decode ... text."

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented, including "true to read + as space" for plus. The description adds only the form-encoding framing, which is marginal beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb+resource (decode percent-encoded text) and immediately names the sibling it opposes in spirit, url_encode, by implication. The plus/form-encoding qualifier scopes it further so an agent can distinguish it from url_parse and other URL siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use to read encoded links and form data" gives an implied usage context but names no alternative and states no exclusions. An agent can infer decode-vs-encode, but the description never explicitly routes to url_encode for the inverse operation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources