Skip to main content
Glama
getoolkit-mcp

getoolkit-mcp

by qwehkkk

Base64 encode/decode

base64

Encode UTF-8 text to standard or URL-safe encoded strings, or decode encoded strings back to text; URL-safe mode strips padding for JWT-style values.

Instructions

Encode UTF-8 text to Base64 (or URL-safe Base64) or decode Base64 back to text. URL-safe mode swaps +/ for -_ and strips padding, as used in JWTs.

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": {
      "mode": "<mode>",
      "text": "<text>"
    },
    "name": "base64"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
textYesText to encode, or Base64 to decode
url_safeNoUse URL-safe alphabet (encode mode)

Output Schema

NameRequiredDescriptionDefault
resultYes
length_bytesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the behavioral burden, and it does the important part: it explains that URL-safe mode swaps +/ for -_ and strips padding, which is exactly the kind of detail an agent needs. It omits error behavior, such as what happens on invalid Base64 input or whether non-padded input decodes cleanly, which keeps it from a 5.

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?

Two sentences, no padding of their own. The primary capability is front-loaded and the qualifier about URL-safe mode follows as supporting detail, so every sentence earns its place.

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?

This is a simple two-mode transformation tool with only three parameters and an output schema, so the description needn't explain return values. Given that the only real gap is decode-failure behavior, the definition is essentially complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, with text and url_safe both described in the schema and mode self-explanatory via its enum. The description still earns credit because it defines what url_safe actually does mechanically (+/ to -_ and padding removal), which the schema only gestures at with "Use URL-safe alphabet."

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?

The description opens with a specific verb and resource pair: "Encode UTF-8 text to Base64 ... or decode Base64 back to text." That makes the bidirectional purpose immediately clear. It stops short of a 5 because it never distinguishes this from the sibling url_encode, which an agent could plausibly confuse with URL-safe Base64.

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 through the mode split and the note that URL-safe encoding is "as used in JWTs," which gives a real-world trigger for the url_safe flag. There is no explicit guidance on when to pick this over url_encode or hash_text, so selection between siblings is left to inference.

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