Skip to main content
Glama

mechacut

enc_base64

base64 / base64url / hex, encode or decode, strict (garbage refused, never silently lenient), padding optional. Free.

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>"
    },
    "name": "enc_base64"
  }
}

Input Schema

NameRequiredDescriptionDefault
opNoencode
textYes
paddingNo
variantNobase64

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose one meaningful behavioral trait: strict validation that refuses garbage instead of silently succeeding, plus optional padding. It never states the return shape (a string? an object?) or how errors surface, which for a codec is the other half of the behavioral picture.

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?

Very tightly written and front-loaded, with the variants and verbs first. The telegraphic fragment style and the trailing 'Free.' add slight noise but no real bloat.

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 four-parameter tool with no annotations and no output schema, the definition covers inputs adequately but leaves the output and failure contract unstated. An agent can call it correctly but cannot predict what comes back or how errors are reported.

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 0%, so the description must compensate. It does touch all four concepts: the three variants, the two ops, padding, and obviously the input text. But it adds no format detail beyond the enum values already in the schema (e.g., whether padding matters on decode, whether hex is case-insensitive).

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 names the concrete resource sets (base64, base64url, hex) and both verbs (encode, decode), so an agent knows exactly what the tool does. It does not explicitly contrast with any sibling, but the sibling list contains no overlapping encoding tool, so differentiation is largely implicit.

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 'encode or decode' plus the variant list, and 'strict (garbage refused)' hints at when strictness matters. There is no explicit when-to-use or when-not guidance, and 'Free.' is the only cost-related cue.

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.