Skip to main content
Glama

cyberchef_magic

Analyze unknown or obfuscated strings to identify encodings, hashes, and ciphers, then get recommended CyberChef recipes for deobfuscation.

Instructions

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

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.7/5.0
Behavior3/5

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

There are no annotations, so the description carries the burden. It discloses that the tool performs heuristic analysis and returns patterns, confidence scores, and recipes, which is helpful. However, it does not describe what happens with unrecognized input (e.g., returns an error or empty results?), or any limitations of heuristic analysis. This is above the minimum but misses key behavioral context.

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 two sentences, front-loaded with the primary purpose, and includes concrete output elements. No wasted words. Each sentence earns its place.

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?

With a simple one-parameter input and no output schema, the description must convey what the tool does and returns; it does that effectively. However, given the complexity of 'magic' analysis, an agent might need more details on the confidence score scale or recipe format, which are not described. This is adequate but not exhaustive.

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?

The schema description for the sole parameter 'input' is already 100% clear ('The unknown or obfuscated string...'). The tool description adds general context about what will be detected but not specific format requirements (e.g., length, encoding of input). Since schema coverage is 100%, baseline 3 is appropriate; description adds some value by implying the input is a single string.

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 the tool's purpose: heuristic forensic analysis of suspicious or obfuscated strings to detect encodings, hashes, ciphers, and compression. It uses specific verbs ('detects', 'returns') and names the resource (forensic analysis of strings). It distinguishes itself from siblings like cyberchef_from_base64 or cyberchef_analyse_hash by claiming a broader heuristic analysis capability.

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 ('suspicious, unknown, or obfuscated strings') but does not explicitly state when to prefer this over specific conversion tools (e.g., cyberchef_from_base64) or when to use alternatives. It lacks explicit 'when not to use' guidance. This is adequate but not proactive routing.

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