Skip to main content
Glama

linked.is

Base64 Codec

base64_codec
Read-onlyIdempotent

Encode UTF-8 text as standard Base64, or decode Base64 back to text. Unicode is preserved, same as the website encoder. No API token. This is for text, not files.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>",
      "mode": "<mode>"
    },
    "name": "base64_codec"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesencode turns text into Base64. decode does the reverse.
textYesText to encode, or Base64 to decode. Up to 100,000 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: Unicode is preserved and output matches the website encoder, which tells the agent results are stable and round-trippable.

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?

Three short sentences, front-loaded with the core verb pair, then fidelity, then scope. No sentence is redundant and nothing buries the operative information.

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

Completeness5/5

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

For a two-parameter, fully documented, annotated, no-output-schema tool, the description covers direction, fidelity, and scope. Nothing an agent needs to invoke it correctly is missing.

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 100% and both parameters are documented there, including the mode enum and the 100,000-character limit. The description only restates the encode/decode direction already implied by the enum, adding no new syntax or edge-case detail, so the baseline 3 applies.

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 specific verbs and resource: 'Encode UTF-8 text as standard Base64, or decode Base64 back to text.' It also bounds the scope with 'This is for text, not files,' so an agent can distinguish it from text-manipulation siblings such as separate_text or remove_duplicate_lines.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The encode/decode pair plus the 'text, not files' exclusion gives clear context for when to call it, and 'No API token' signals zero setup. It stops short of naming an alternative for file-based encoding, so it is clear guidance without full alternative routing.

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.