Skip to main content
Glama

base64

Read-onlyIdempotent

Encodes text to Base64 or decodes a Base64 string back to text (action = encode or decode).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to encode, or Base64 string to decode.
actionYesEither 'encode' or 'decode'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / action / description
      Previous value: -"Either \\\"encode\\\" or \\\"decode\\\"."New value: +"Either 'encode' or 'decode'."
  2. Changed2 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -""New value: +"Either \\\"encode\\\" or \\\"decode\\\"."
    • changedInput schema / properties / text / description
      Previous value: -""New value: +"Text to encode, or Base64 string to decode."
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds that the tool performs a pure transformation but does not disclose edge cases like invalid Base64 input or whitespace handling. This is acceptable given the annotations.

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 front-loaded sentence with zero filler. The parenthetical reinforces the action parameter's allowed values without repeating the schema verbosely.

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 full schema coverage and a safe annotation profile, the description is nearly complete. It does not mention error behavior for invalid Base64, but the expected output is easily inferable.

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 the schema fully documents both parameters. The description paraphrases the same meanings without adding format details or constraints beyond what the schema provides.

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?

States a clear verb-and-resource pair ('Encodes text to Base64 or decodes a Base64 string back to text') and names the action parameter. It is unambiguous and distinguishable from sibling tools by its core function.

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?

The encode/decode choice is implied by the action parameter, but the description does not explicitly state when to use this tool vs alternatives or provide exclusions. For a unique utility, the context is adequate but left to inference.

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.