Skip to main content
Glama

cyberchef_magic

Analyze suspicious or obfuscated strings to detect encoding, hashes, ciphers, and compression, then recommend CyberChef recipes with confidence scores.

Instructions

Performs heuristic forensic analysis on suspicious or obfuscated strings to detect encoding formats (Base64, Hex, URL encoding), hash signatures (MD5, SHA1, SHA256), ciphers, and compression. Returns detected patterns, confidence scores, and recommended CyberChef recipes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesThe unknown or obfuscated string, token, or payload to inspect and analyze.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.2
    • changedInput schema / properties / input / description
      Previous value: -"Suspicious, obfuscated, or encoded payload to analyze"New value: +"The unknown or obfuscated string, token, or payload to inspect and analyze."
  2. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations and no output schema, the description carries the disclosure burden and does reasonably well: it states the analysis is heuristic and that the result contains detected patterns, confidence scores, and recommended recipes. It does not explicitly confirm the operation is read-only/non-mutating or note performance limits, but the analytic nature is clear.

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, zero filler, front-loaded with the purpose and followed immediately by the return contents. Every clause 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?

For a one-parameter analysis tool with no annotations or output schema, the description covers both what it does and what it returns. The only real gap is the lack of routing guidance relative to the many sibling transforms, which keeps it from a 5.

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 100% and the single 'input' parameter is fully documented in the schema as the string/token/payload to inspect. The description adds no syntax, format, or size guidance beyond that, so the schema does the work and baseline 3 applies.

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 ('performs heuristic forensic analysis') and resource ('suspicious or obfuscated strings'), then enumerates the detectable classes (encodings, hashes, ciphers, compression). This clearly separates it from the many single-transform siblings like from_base64 or sha256, though it never names a sibling 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?

The phrase 'suspicious or obfuscated strings' implies the use case (unknown format, needs identification) but there is no explicit when-to-use or when-not guidance and no reference to alternatives such as cyberchef_bake (to apply a recipe) or cyberchef_entropy. Usage is inferable but not stated.

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