Skip to main content
Glama
ChristopherValvo

script-decoder-mcp

decode_blob

Decode obfuscated or encoded strings from scripts without executing them, handling Base64, hex, URL encoding, XOR, ROT13, and more.

Instructions

Safely decode an encoded or obfuscated value (Base64, hex, URL encoding, Base32, Unicode escapes, HTML entities, gzip/zlib/bz2, explicit-key XOR, ROT13, reversed strings, PowerShell -EncodedCommand, integer/char arrays, simple string concatenation) without executing the result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
max_depthNo
encoding_hintNo
use_cyberchefNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashesYes
warningsNo
indicatorsNo
decoded_sizeYes
decoded_textYes
decoded_typeYes
schema_versionNo1.0
attempted_chainsNo
successful_chainNo
detected_encodingsNo
execution_performedNo
decoded_text_truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The description provides a valuable safety behavior by stating the tool decodes 'without executing the result', which is essential for a decoding utility with no annotations. However, it does not disclose whether recursive/iterative decoding occurs, what max_depth controls, or whether use_cyberchef introduces external calls or data-sharing implications.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose and safety guarantee, and the long parenthetical list is information-dense rather than filler. It is somewhat run-on and harder to parse, but every listed item communicates supported scope.

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?

The description gives strong coverage of what the tool decodes and that it is non-executing, and an output schema exists to document return values. However, it leaves the optional parameters' semantics and their interactions unexplained, which is a meaningful gap for correct invocation.

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

Parameters2/5

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

With 0% schema description coverage, the description needed to explain parameters like max_depth, encoding_hint, and use_cyberchef, but it does not. It also mentions 'explicit-key XOR' while providing no key parameter in the schema, which could confuse an agent about how to supply the key.

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 names a specific action ('decode') and a clear resource ('encoded or obfuscated value'), and enumerates the supported formats. This makes the tool's purpose highly distinct from its siblings, which focus on analysis, extraction, explanation, and comparison.

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 when to use the tool: whenever an encoded/obfuscated value matches one of the listed formats. However, it does not explicitly mention alternative tools, exclusion cases, or when not to use decode_blob, leaving the routing decision mostly to inference.

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