Skip to main content
Glama

Lookup Kit

base64

Read-only

Base64 encode and decode, Base64 converter. Encode text to Base64 (standard or URL-safe), or decode Base64 back to text (UTF-8). mode=encode or decode. Price: $0.002 per call (x402, USDC on Base).

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": {
      "text": "<text>"
    },
    "name": "base64"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoencode
textYes
url_safeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description usefully adds the payment model — '$0.002 per call (x402, USDC on Base)' — which is real context an agent cannot get from annotations. It still omits behavior for malformed input, the 8000-character input ceiling, and output shape details beyond 'UTF-8'.

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?

Short and front-loaded: the operation, the variants, the mode switch, and pricing each appear once in a compact sequence. 'Base64 converter' is dead weight that repeats the opening clause and could be cut.

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 three-parameter, no-output-schema tool, the description covers the essentials: modes, URL-safe variant, UTF-8 decoding, and pricing. Gaps remain around invalid-input handling and the input length cap, which matter for an agent deciding whether a given payload can be sent.

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?

With schema description coverage at 0%, the description has to carry parameter meaning, and it does explain all three: mode as encode/decode, url_safe as 'standard or URL-safe', and text as the value being converted. It does not mention the default of encode nor the maxLength of 8000, so the schema still holds undisclosed constraints.

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 opens with a specific verb+resource: 'Base64 encode and decode', and adds concrete scope — text to Base64 (standard or URL-safe) and Base64 back to UTF-8 text. It is clearly distinguishable from nearby tools like hash or format_convert. The only blemish is the redundant restatement 'Base64 converter', and it does not explicitly name a sibling it should be preferred over.

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?

It states 'mode=encode or decode', which tells the agent how to select the operation, and implies when each direction applies. However, there is no explicit when-to-use vs. when-not-to-use guidance (e.g., versus hash or format_convert), and no mention of what to do when input is not valid Base64.

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