Skip to main content
Glama

post_base64_encode

Encode UTF-8 text using Base64.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It accurately states the core transformation but does not mention output representation, base64 padding, handling of invalid UTF-8, or whether the operation is stateless. These are minor gaps for a simple encoder, so a mid score is appropriate.

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?

The description is a single, front-loaded sentence with no filler. Every word adds meaning: the verb, the input format, and the algorithm are all specified.

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 one-parameter pure encoding utility, this description is largely sufficient: an agent can infer the Base64 output and that no side effects are involved. The only missing piece is an explicit statement of the return format, but the tool name and sibling post_base64_decode make the result obvious.

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?

The schema defines one 'text' string parameter with 0% description coverage, so the tool description must compensate. The phrase 'UTF-8 text' clarifies the expected input encoding beyond the bare parameter name, but it does not define constraints like empty strings, maximum length, or how non-ASCII characters are handled.

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 names a specific verb ('Encode'), a resource ('UTF-8 text'), and the encoding method ('Base64'), which clearly distinguishes it from sibling post_base64_decode and other transform tools. It is immediately clear what the tool does and how it differs from related operations.

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

Usage Guidelines2/5

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

There is no guidance about when to prefer this tool over alternatives such as post_base64_decode or post_data_transform. The description gives no selection criteria, exclusions, or pairing advice, leaving the agent to infer usage from the tool name alone.

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.

Resources