Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-base64-decode

Base64 Decode: Decodes base64 text from data or base64 into UTF-8 and returns the decoded string and length 🆓 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": {
      "base64": "<base64>",
      "data": "<data>"
    },
    "name": "x402-base64-decode"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
base64Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "base64",
      +  "data"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / base64 / description
      Removed value: -"Base64 to process"
    • removedInput schema / properties / data / description
      Removed value: -"Data to process"
  3. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, but it does disclose the return shape (decoded string plus length) and a quota constraint (5 free trial calls per signed wallet). It says nothing about error behavior for invalid base64, character-encoding assumptions, or what the trial limit implies once exhausted.

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 describes the operation and its return, with no wasted preamble. The appended free-trial marketing text is mildly promotional but still conveys a real usage constraint.

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

Completeness3/5

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

For a two-parameter, annotation-free utility with no output schema, the description covers the operation and return shape adequately. It falls short on the ambiguous required-parameter pair (data vs base64), which is the main thing an agent needs resolved before calling.

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 coverage is 0% and both parameters are required, yet the phrase 'from data or base64' implies an either/or aliasing that contradicts the required-both schema. The description adds no clarification about what each parameter should contain or how they interact.

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 verb and resource (decode base64 to UTF-8) and names the output (decoded string and length), so the operation is unambiguous. It does not distinguish itself from siblings such as x402-base64 or x402-is-base64, which keeps it from a 5.

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?

There is no guidance on when to use this tool, when not to, or which sibling to prefer (e.g. x402-base64 vs x402-is-base64). An agent must infer the use case entirely from the name.

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.