Skip to main content
Glama

cyberchef_from_hex

Decode hexadecimal byte strings into UTF-8 text and structured output, supporting raw, spaced, 0x-prefixed, or comma-delimited bytes for data inspection.

Instructions

Converts a hexadecimal byte string into character data and returns structured output { utf8, hex, isPrintable, byteLength }. Supports raw hex, space-separated bytes, 0x prefixes, and comma delimiters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesHexadecimal string to decode (e.g., '48656c6c6f', '48 65 6c 6c 6f', or '0x480x650x6c').
delimiterNoOptional delimiter between hex bytes. Allowed values: 'None' (default), 'Space', '0x', or 'Comma'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.4
    • changedInput schema / properties / delimiter / description
      Previous value: -"Optional delimiter used between hex bytes. Allowed values: 'None' (default, contiguous hex), 'Space' ('48 65'), '0x' ('0x480x65'), or 'Comma' ('48,65')."New value: +"Optional delimiter between hex bytes. Allowed values: 'None' (default), 'Space', '0x', or 'Comma'."
    • changedInput schema / properties / input / description
      Previous value: -"Hexadecimal string to decode (e.g., '48656c6c6f', '48 65 6c 6c 6f', or '0x480x650x6c0x6c0x6f')."New value: +"Hexadecimal string to decode (e.g., '48656c6c6f', '48 65 6c 6c 6f', or '0x480x650x6c')."
  2. Changed2 schema fields changedv1.0.2
    • changedInput schema / properties / delimiter / description
      Previous value: -"Delimiter between hex bytes"New value: +"Optional delimiter used between hex bytes. Allowed values: 'None' (default, contiguous hex), 'Space' ('48 65'), '0x' ('0x480x65'), or 'Comma' ('48,65')."
    • changedInput schema / properties / input / description
      Previous value: -"Hex string (e.g. '48656c6c6f' or '48 65 6c 6c 6f' or '0x480x65')"New value: +"Hexadecimal string to decode (e.g., '48656c6c6f', '48 65 6c 6c 6f', or '0x480x650x6c0x6c0x6f')."
  3. First observedv1.0.1

TDQS

A4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden — and it does disclose the return shape ({ utf8, hex, isPrintable, byteLength }) plus accepted input encodings, which is real behavioral context. It stops short of saying what happens on malformed hex (error vs. partial decode), the one gap left for a pure read-only transform.

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 waste: the conversion and its output contract come first, the input-format tolerances second. Every clause earns its place and nothing is buried.

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?

With no output schema and no annotations, the description compensates well by naming the returned fields and accepted formats, which is enough for correct invocation. Only the error/malformed-input behavior is left unstated, a minor gap for a two-parameter transform.

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% – both parameters are documented, and the enum for `delimiter` is fully spelled out. The description's format list mostly restates that enum, adding no syntax or edge-case detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Converts a hexadecimal byte string into character data') with an explicit direction of conversion, which cleanly distinguishes it from the sibling cyberchef_to_hex, cyberchef_from_base64, and the rest of the codec family. An agent can select it without opening the schema.

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 supported-input list ('raw hex, space-separated bytes, 0x prefixes, and comma delimiters') implies when the tool applies, but there is no explicit when-to-use routing against the reverse tool (cyberchef_to_hex) or the other decoders. Usage is inferable rather than stated.

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