Skip to main content
Glama

Tool Pantry

base64

Base64 encode or decode UTF-8 text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoDefault encode
textYesText to encode or decode

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?

No annotations are provided, so the description carries the full burden. It usefully scopes input to UTF-8 text, but says nothing about error behavior on invalid Base64, whether the operation is pure/non-destructive, or what a failed decode returns. For a side-effect-free utility the risk is low, so a mid score is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with zero filler, and the operation is front-loaded ahead of the input constraint. Nothing is wasted and nothing important is buried.

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

Completeness4/5

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

For a simple two-parameter pure transformation with no output schema, the description covers the essential operation and input encoding. It is nearly complete, missing only the return shape and error semantics, which are low-risk for this tool.

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 description coverage is 100%, so both parameters are already documented in the schema (including the 'Default encode' enum note). The description adds only the UTF-8 qualifier on the text input, which is the baseline expectation when the schema does the heavy lifting.

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+resource pair ('Base64 encode or decode UTF-8 text'), which is far more informative than the bare name. It is naturally distinguishable from siblings like hash_text or text_stats by the named operation, though it never explicitly differentiates itself from them.

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 reach for this tool versus hash_text or other transformation siblings, nor any mention of prerequisites. Usage is only inferable from the verb, and the description never addresses alternatives or exclusions.

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.