Skip to main content
Glama

decode_text

Decode encoded text using base64, base64url, hex, URL, or ROT13 schemes to recover readable values for security analysis and troubleshooting.

Instructions

Decode 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

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does useful work by disclosing the five supported schemes, which is real behavioral information, but it says nothing about error behavior on invalid input, whether decoding is best-effort, or what the caller receives.

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 no filler; the actionable information (verb + scheme list) arrives immediately. It is arguably over-compressed rather than padded, but every word 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-parameter, no-output-schema utility, and the description covers the core contract: decode text with one of five schemes. The main omission is that, absent an output schema, the description should say the tool returns the decoded string (and what happens when decoding fails), but for a low-risk pure transform this is a minor gap.

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% and the scheme parameter has no enum, so the description's list of five accepted values is the only place the valid domain is documented — meaningful compensation for the `scheme` parameter. The `text` parameter gets no explanation at all beyond the tool being about decoding, and it is not stated whether scheme is case-sensitive or free-form.

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?

States a specific verb (decode) and resource (text) and enumerates the supported encodings, which immediately differentiates it from the sibling encode_text by direction. It never names encode_text explicitly, so an agent must infer the pairing from the verb alone.

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 strongly implied by the name and the scheme list — this is the tool to reach for when you have encoded input. However, there is no explicit statement of when to prefer it over encode_text, nor any prerequisite or input-form guidance (e.g., whether whitespace/padding must be preserved).

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