Skip to main content
Glama

base64

Base64 encode decode UTF-8 text in one endpoint. Supports standard and URL-safe Base64 decoding. Use mode encode or decode for deterministic agent data conversion. Costs $0.001 USDC on Base via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
textYesInput text or Base64 value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/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. It usefully discloses the x402 payment cost ($0.001 USDC on Base) and that both standard and URL-safe decoding are supported, but says nothing about error behavior, input limits (the schema caps text at 250000), or what the response looks like.

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?

Four short, front-loaded sentences with no filler; purpose, mode usage, variants and cost each appear once. Slightly telegraphic but nothing wasted.

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?

No annotations and no output schema, so the description should carry more. It covers purpose, mode, variants and cost, but omits the return shape and error/limit behavior for a tool whose only structured context is a two-parameter schema.

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 50%: 'text' is documented in the schema, but 'mode' only has an enum with no schema description. The description compensates partly by explaining that mode selects encode vs decode and that decoding handles URL-safe variants, but adds no format or constraint detail.

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 pair (encode/decode) and resource (UTF-8 text / Base64) and notes it is a combined 'one endpoint', which implicitly distinguishes it from the base64-encode and base64-decode siblings. It stops short of naming those siblings explicitly, so an agent must infer the relationship.

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 mode encode or decode for deterministic agent data conversion' gives implied usage, but never says when to pick this combined tool over the dedicated base64-encode/base64-decode siblings, nor any exclusions or prerequisites.

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.