Skip to main content
Glama
brentspore

buildutilities-mcp

by brentspore

Base64 Encode

base64_encode
Read-onlyIdempotent

Encode text into Base64 format, optionally using the URL-safe alphabet.

Instructions

Encode text to Base64. Set urlSafe for the URL/filename-safe alphabet (-_ instead of +/, no padding). Web version: https://buildutilities.com/base64-codec

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to encode
urlSafeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds valuable behavioral detail about the urlSafe option (different alphabet and no padding), which goes beyond the annotations. It does not mention error cases, but for a pure encoding function that is acceptable.

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 deliver the core purpose and the key parameter variation, with a helpful web link appended. The main purpose is front-loaded, and there is zero wasted wording. It is concise without sacrificing essential 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 simple encoding tool with two parameters, the description fully covers what an agent needs to call it correctly: the operation, the optional behavior, and a reference. No output schema exists, but the return value (encoded string) is self-evident. Nothing essential is missing.

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?

The schema covers 'text' with a description but leaves 'urlSafe' undocumented (only a default). The description explicitly explains urlSafe's effect (URL/filename-safe alphabet and no padding), compensating for the schema gap. For 'text', the description adds no new meaning beyond the schema, but overall it provides meaningful parameter context.

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?

The description opens with a precise verb and resource: 'Encode text to Base64.' It also distinguishes the URL-safe variant, which differentiates it from base64_decode and other encoding tools. The purpose is unambiguous and immediately actionable.

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 description clearly states what the tool does but does not explicitly compare it to alternatives like url_encode or base64_decode. The conditional 'Set urlSafe for the URL/filename-safe alphabet' gives usage guidance for the parameter, and the overall context implies when to use it, but it lacks an explicit 'use this instead of X' statement.

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