Skip to main content
Glama

get_disassembly

View disassembly at a specific address or current program counter, with source code interleaved for understanding CPU execution.

Instructions

Get disassembly listing at an address (or current PC if not specified).

Shows mixed source and assembly code for understanding what the CPU is executing.

Args: address: Start address or symbol. Empty = current PC. lines: Approximate number of lines to return (default: 30)

Returns: Disassembly listing with source code interleaved

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linesNo
addressNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations present, so description carries full burden. It discloses default behavior (address empty = current PC) and 'approximate' line count, but doesn't state read-only nature or potential side effects. Minimal transparency.

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?

Concise three-sentence structure with front-loaded purpose. Every sentence adds value, and parameter descriptions are clearly separated. No wasted words.

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 output schema present, description covers return value adequately. It explains both parameters and their defaults. Could mention prerequisites (e.g., target must be halted) but is mostly complete for a read-only tool.

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

Parameters5/5

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

Schema has 0% description coverage, but the description thoroughly explains both parameters: address as start address/symbol with default to PC, and lines as approximate count with default 30. This adds critical meaning beyond the schema.

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 retrieves a disassembly listing at a specified address or current PC. It specifies mixed source and assembly output and distinguishes from siblings like 'disassemble' by emphasizing mixed source/assembly.

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?

No explicit guidance on when to use this tool versus siblings like 'disassemble'. The description vaguely implies it's for understanding CPU execution but lacks alternatives or exclusions.

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/YangPan2020/debugforge'

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