Skip to main content
Glama

base64_convert

Read-only

Encode UTF-8 text to Base64 or decode Base64 safely, with standard and URL-safe alphabets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesText or Base64 data, up to 100 KB.
actionYes
url_safeNoUse the URL-safe alphabet without padding.

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?

Annotations already declare readOnlyHint=true and destructiveHint=false, so the agent knows this is a non-mutating local transformation. The description adds that decoding is handled "safely" and that URL-safe output omits padding, which is useful, but it says nothing about behavior on malformed input or the size ceiling (left to the schema).

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?

A single front-loaded sentence with no filler and the scope stated up front. The qualifier "safely" is slightly vague and earns less than the rest of the sentence, keeping it just short of a 5.

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-nested, stateless converter this is nearly enough. However, with no output schema the description should state that the result is a string (and whether decode returns text), and it is silent on the 100 KB limit and error behavior — small but real gaps.

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 67%: data and url_safe are documented, while action is a bare enum. The description partially compensates by tying 'standard and URL-safe alphabets' to url_safe and 'encode/decode' to action, but with no syntax or format detail beyond the schema, baseline 3 is appropriate.

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 pair (encode/decode) and resource (Base64) plus the supported alphabets, so an agent immediately grasps the operation. It doesn't name or differentiate from siblings, but none of the siblings (hash_generate, jwt_decode, uuid_generate) could be confused with this operation.

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?

Usage is implied by the encode/decode framing, but there is no explicit guidance on when to pick this tool over neighbors that also emit encoded strings, nor any stated prerequisites. The word "safely" hints at tolerant decoding but is never explained or contrasted with an unsafe alternative.

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