Skip to main content
Glama

encode

Encode or decode payloads for injection testing, supporting URL, double, HTML, Base64, Unicode, and Hex encodings with left-to-right chaining.

Instructions

Encode or decode payloads for injection testing. Encodings: url, double, html, base64, unicode, hex. Chain multiple left-to-right. See rqwstr_docs(topic="encoding").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoencode (default) or decode
chainNoChain of encodings applied left-to-right. Example: [url base64]
valueYesThe value to encode or decode
encodingNoSingle encoding type: url double html base64 unicode hex
Behavior2/5

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

No annotations are present, so the description bears full responsibility. It discloses the ability to chain encodings and lists supported types, but omits behavioral traits such as error handling, side effects, or requirements (e.g., auth, rate limits).

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 concise sentences with a reference to docs. Every word is purposeful, front-loaded with the primary action, and no redundancy.

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 tool with 4 parameters and no output schema, the description covers the basics (purpose, encodings, chaining). However, it lacks details on edge cases, error states, or expected return behavior, making it minimally adequate.

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 100%, so the baseline is 3. The description adds context by listing encoding types and explaining chaining, but does not significantly augment the schema's parameter descriptions.

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 clearly states the tool encodes or decodes payloads for injection testing, specifying the verb and resource. While it distinguishes from siblings by context (injection testing), it doesn't explicitly differentiate from similar tools like 'chain' which also deals with encoding chains.

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?

The description implies usage for injection testing and suggests consulting rqwstr_docs for more details, but does not provide explicit when-to-use or when-not-to-use guidance compared to sibling tools like 'chain' or 'intruder'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kjopstad-IT/rqwstr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server