Skip to main content
Glama
Tokeii0

capstone-mcp-server

by Tokeii0

xor_brute_force

Brute-force decryption of single-byte XOR cipher using printable character ratio ranking. For CTF challenges to decrypt XOR-encrypted flags.

Instructions

Brute-force single-byte XOR decryption, ranked by printable character ratio.

Commonly used in CTF to decrypt simple XOR-encrypted flags or strings.

Args: hex_data: Hex-encoded ciphertext data. min_printable_ratio: Minimum printable character ratio threshold. Default: 0.75.

Returns: Candidate decryption results sorted by printable ratio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hex_dataYes
min_printable_ratioNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must fully disclose behavior. It mentions ranking by printable ratio and returns candidates sorted by ratio, but does not disclose what happens if no key works, performance implications, or boundary conditions. The brute-force process (trying all 256 keys) is implied but not stated.

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 extremely concise with three short paragraphs: a clear purpose line, context, and structured args/returns. Every sentence adds value without redundancy.

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?

Given the presence of an output schema (which likely details the return structure), the description adequately covers return behavior by saying 'Candidate decryption results sorted by printable ratio.' Parameter explanations are sufficient for a low-complexity tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema description coverage, the description effectively explains both parameters: hex_data is 'Hex-encoded ciphertext data' and min_printable_ratio is 'Minimum printable character ratio threshold' with a default value. This adds significant meaning beyond the schema.

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 clearly states its purpose with a specific verb-resource pair: 'Brute-force single-byte XOR decryption, ranked by printable character ratio.' This distinguishes it from sibling tools like xor_encode_decode which likely requires a known key.

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 context ('Commonly used in CTF to decrypt simple XOR-encrypted flags or strings') but does not explicitly state when not to use this tool or compare it to alternatives. No exclusion criteria or alternative tool references are provided.

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/Tokeii0/capstone-mcp-server'

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