Skip to main content
Glama

base64_decode

Decode base64-encoded strings into plain text or hexadecimal output. Use for reverse engineering tasks when you need to convert encoded data quickly.

Instructions

Decode a base64 string

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesBase64-encoded string
output_encodingNoOutput encoding: utf8 (default) or hexutf8
Behavior2/5

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

Without annotations, the description carries the full burden of behavioral disclosure. It only states the core function and provides no details about read-only behavior, error handling on invalid base64, return format, or the impact of the output_encoding parameter. This leaves the agent without crucial operational information.

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?

The description is a single, direct sentence that efficiently communicates the tool's purpose. Every word is essential, and the format is appropriately front-loaded with the action and target.

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

Completeness2/5

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

Given the lack of annotations and output schema, the description is too sparse to be contextually complete. It does not mention the output encoding options, return value, or failure modes, which are important for an agent to use the tool correctly. For a simple utility, more context is needed to fill the gaps left by missing annotations.

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?

The input schema already provides 100% parameter coverage with descriptions for both 'data' and 'output_encoding'. The description adds no extra meaning beyond the schema, but per rubric baseline 3 applies when schema coverage is high, so no penalty is incurred for the lack of parameter details in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Decode a base64 string' uses a specific verb ('decode') and clearly identifies the resource (base64 string). It unambiguously distinguishes itself from sibling tools such as base64_encode and hex_to_ascii, making the tool's purpose immediately clear.

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?

No usage guidance is provided. The description does not explain when to use this tool versus alternatives (e.g., hex_to_ascii for hex-to-ASCII conversion) and offers no context or exclusions. It lacks any explicit or implicit guidance for an agent deciding between tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wellingtonlee/esquie'

If you have feedback or need assistance with the MCP directory API, please join our Discord server