Skip to main content
Glama

base64_decode

Decode a Base64 string back to UTF-8 text to read or process encoded content.

Instructions

Decode a base64 string to UTF-8 text. [conductor: verified pure command]

Input Schema

NameRequiredDescriptionDefault
encodedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It reveals the output encoding (UTF-8) but says nothing about behavior on invalid base64, non-UTF-8 bytes, or whitespace/padding handling; the trailing '[conductor: verified pure command]' tag is internal noise rather than useful behavior context.

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 functional sentence is front-loaded and wastes nothing. The bracketed conductor tag is extraneous metadata that dilutes an otherwise tight definition.

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 one-parameter utility with no output schema, the description does supply the return type (UTF-8 text). However, it omits error behavior for malformed input and the fact that non-UTF-8 payloads cannot be represented, which are the main things an agent needs to call this correctly.

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 0% and the single parameter `encoded` is undocumented in the schema, but the description does say the input is a base64 string, which adds meaning about expected content. It adds no detail about padding, whitespace, or encoding variants.

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 (decode) and resource (base64 string) plus the output format (UTF-8 text), which cleanly separates it from the sibling base64_encode. It only stops short of 5 because it never names the inverse operation as the tool to avoid.

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 explicit when-to-use statement, prerequisite, or alternative named. Usage is only inferable from the verb, which the rubric treats as no real guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.