Skip to main content
Glama

pentest_ctf_decode

Decode CTF challenge data from hex, Base64, Base32, URL, ROT13, Atbash, binary, Morse, or reversed text; auto mode tests applicable formats and keeps printable results offline.

Instructions

Decode challenge data (hex/base64/base32/url/rot13/atbash/binary/morse/reverse).

to='auto' tries every applicable decoding and keeps printable results. Offline, no target contact.

Input Schema

NameRequiredDescriptionDefault
toNoauto
dataYes
input_formatNotext

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden. It does add real behavioral value by declaring 'Offline, no target contact' and explaining that auto mode tries every applicable decoding and filters to printable results. It omits failure behavior when nothing decodes, whether multiple candidate results are returned, and any output shape.

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, front-loaded with the core verb and the encoding list, ending with the offline safety note. No filler, no repetition of the tool name beyond what is needed.

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 three-parameter pure-computation helper with no annotations and no output schema, the definition covers purpose, modes, and safety context adequately. The remaining hole is the undocumented `input_format` parameter and the unspecified shape of the result, but neither blocks a basic correct call.

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%, so the description must compensate. It does explain the `to` parameter by listing accepted encodings and the 'auto' semantics, but leaves `input_format` (default 'text') completely undefined — the agent cannot tell whether it distinguishes text from hex/file input — and says nothing about the required `data` parameter beyond the obvious.

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 states a specific verb (decode), a specific resource (challenge data), and enumerates the supported encodings (hex/base64/base32/url/rot13/atbash/binary/morse/reverse). Sibling differentiation is only implicit via the name contrast with pentest_ctf_encode; the description never names the reverse operation explicitly.

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 implied rather than stated: the tool is for decoding challenge data, and to='auto' is positioned as the default catch-all that tries everything and keeps printable results. There is no guidance on when to pick an explicit encoding instead of auto, and no routing to adjacent siblings like pentest_ctf_encode, pentest_ctf_cipher_brute, or pentest_ctf_hash_identify.

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

Deploy Server

Other Tools