Skip to main content
Glama

od

Read-only

Dump binary file contents as formatted bytes in hexadecimal, octal, or decimal. Inspect raw byte sequences without interpretation.

Instructions

Dump input bytes as structured rows in hexadecimal, octal, or decimal format. Read-only, no side effects. Returns JSON with formatted dump by default; use --raw for traditional octal display. Use to inspect raw binary content. Not for plain text viewing — use 'cat'. See also 'cat'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bytes_per_lineNoBytes per output row.
formatNoByte rendering format.hex
max_bytesNoMaximum bytes to dump.
offsetNoStart offset in bytes.
pathsNoFiles to dump, or '-' for stdin. Defaults to stdin.
rawNoWrite dump rows without a JSON envelope.
Behavior5/5

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

Annotations already declare readOnlyHint=true. The description adds that the tool is read-only with no side effects, explains default JSON output, and describes the --raw option for traditional octal display. This enriches behavioral understanding beyond annotations.

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 with no wasted words: the first states purpose and behavior, the second provides usage guidelines and alternatives. Front-loaded and efficient.

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

Completeness5/5

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

Given moderate complexity (6 parameters with defaults, no output schema), the description covers purpose, behavior, usage, and alternative. Sufficient for an AI agent to select and invoke correctly.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the 'raw' parameter's effect (traditional octal display) and implying default stdin for paths. However, it does not elaborate on all parameters; the schema already documents them.

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 dumps bytes in specified formats (hex, octal, decimal) and distinguishes it from 'cat' for plain text viewing. The verb 'dump' and resource 'bytes' are specific, and sibling differentiation is explicit.

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

Usage Guidelines5/5

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

Explicitly states when to use ('inspect raw binary content') and when not to use ('not for plain text viewing — use cat'). Also references 'see also cat', providing clear context for tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/caseSHY/AI-CLI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server