Skip to main content
Glama

x402-url-codec

URL Codec: URL encode/decode strings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opNoOp to process
urlNoUrl to process
textNoText to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "Url to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It does not say whether encoding is full-URL or component (percent) encoding, whether it is idempotent, what 'op' accepts, or how url and text inputs are treated differently.

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?

A single front-loaded sentence with zero filler, sized appropriately for a simple utility. It is efficient, though the brevity compounds the missing parameter and usage detail rather than substituting for it.

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

Completeness2/5

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

For a tool with three parameters, no annotations, and no output schema, the description is materially incomplete: it does not resolve the encode/decode selection, the url-vs-text input choice, or the expected output form. An agent would be guessing on invocation details.

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

Parameters2/5

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

Schema description coverage is nominally 100%, but the schema's own descriptions are content-free tautologies ('Op to process', 'Url to process', 'Text to process'). The description adds no meaning beyond that, leaving the key distinction between the url and text fields and the valid op values entirely undefined.

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

Purpose4/5

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

States a specific verb pair (encode/decode) and a specific resource (URL strings), so an agent knows the tool's function immediately. It does not differentiate itself from the many sibling URL tools (url-parse, url-canonical, query-string-build), but the codec operation is distinct enough to be recognizable.

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

Usage Guidelines2/5

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

No guidance on when to use this versus alternatives, and no explanation of when to encode vs decode. The only hint is the bare 'op' parameter, whose valid values are never stated, leaving the agent to guess the selection mechanism.

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