Skip to main content
Glama

encode_text

Converts input text into base64, base64url, hex, URL, or rot13 encoding for safe transmission, storage, or payload preparation.

Instructions

Encode text using base64, base64url, hex, url, or rot13.

Input Schema

NameRequiredDescriptionDefault
textYes
schemeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about side-effect freedom, whether rot13 is reversible/symmetric, whether url encoding is full-percent or component-wise, or what the return value looks like. It only restates the operation.

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?

A single front-loaded sentence with zero filler; the scheme enumeration is the most useful content and comes first. It is terse enough that nothing is wasted, though brevity here borders on under-specification rather than elegance.

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 two-parameter utility with no output schema, the description covers the input space reasonably but leaves the return format and the text parameter's expected content unstated. Adequate but with clear gaps given the absence of annotations.

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 0% and both parameters are bare strings, but the description does supply the otherwise-missing enumeration of valid scheme values (base64, base64url, hex, url, rot13), which is real added value. The text parameter still gets no semantics beyond its name, so it only partially compensates.

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 gives a specific verb (encode) plus a resource (text) and enumerates the supported schemes, so the tool's function is unambiguous. It does not name the obvious sibling decode_text, so it stops short of full differentiation.

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 only implied by the verb and the scheme list; there is no explicit statement of when to reach for this tool versus decode_text, nor any guidance on how to pick among the five schemes. An agent can infer the intent but must guess at selection criteria.

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