Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-base64url

Base64url: Encodes or decodes base64url text depending on the op or mode field, returning the output 🆓 5 free trial calls per signed wallet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "data": "<data>",
      "input": "<input>",
      "text": "<text>"
    },
    "name": "x402-base64url"
  }
}

Input Schema

NameRequiredDescriptionDefault
opNo
dataYes
modeNo
textYes
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "data",
      +  "input",
      +  "text"
      +]
  2. Changed5 schema fields changed
    • removedInput schema / properties / data / description
      Removed value: -"Data to process"
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / mode / description
      Removed value: -"Mode to process"
    • removedInput schema / properties / op / description
      Removed value: -"Op to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It adds useful context that the operation is selected by op or mode and that there is a 5-call free trial tied to a signed wallet. However, it does not disclose error behavior, whether the operation is read-only, or how the result is returned beyond 'the output'.

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 description is a single front-loaded sentence that identifies the tool and its core encode/decode behavior. The appended free-trial note is marketing-adjacent but still adds access context, and there is little wasted wording overall.

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 five-parameter tool with no annotations and no output schema, the description is too thin. It does not clarify the roles of data, input, and text or the allowed op/mode values, and 'returning the output' is not enough to set expectations for the response.

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 0% across five parameters, with three required fields. The description mentions op or mode as the selector for encode/decode, but it does not explain what data, input, and text mean, which one is the source text, or what values op and mode accept. This leaves most parameter semantics unresolved.

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?

The description states a specific resource and operation: it encodes or decodes base64url text. It also says the direction depends on the op or mode field, so an agent can identify the tool's purpose without opening the schema. The only gap is that it does not specify the accepted op/mode values.

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?

The description implies that the tool is used for base64url encoding or decoding, but it gives no explicit when-to-use guidance, no conditions for choosing encode versus decode, and no alternatives or exclusions. The free-trial note is billing/access information, not task guidance.

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.