Skip to main content
Glama

print_hex

Prints a hexdump of memory at a specified address and size, aiding binary analysis and reverse engineering.

Instructions

Print hexdump (px).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNo
addressNo
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and discloses essentially nothing: not whether it reads at the current cursor/address, how many bytes are dumped by default, or what happens when address is null. Beyond naming the operation, no behavioral context is provided.

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

Conciseness3/5

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

It is a single front-loaded fragment with no wasted words, but the brevity crosses into under-specification for a tool with three undocumented parameters. Efficient in form, deficient in content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be explained, but with zero annotations and 0% parameter coverage the definition leaves the two most important unknowns, default dump size and the address semantics, entirely unaddressed. For a memory-inspection tool in a large RE toolset, this is too thin.

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

Parameters1/5

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

Schema description coverage is 0% across three parameters (size, address, session_id), and the description mentions none of them. The agent gets no hint that size is a byte count defaulting to 64, where address points, or why a session_id matters, so the description fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a recognizable verb+resource ('Print hexdump') and even the common alias '(px)', so the basic operation is identifiable. However it gives no scope or differentiation from close siblings like write_hex, print_string, or disassemble, leaving the agent to guess how this differs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use, when-not-to-use, or alternative guidance. The agent cannot tell from the description whether to reach for print_hex, disassemble, or print_string for a given inspection task.

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