Skip to main content
Glama

disassemble

Convert machine code into readable assembly instructions for analysis across multiple CPU architectures like x86, ARM, and RISC-V.

Instructions

Disassemble machine code into instructions using Capstone.

Args: arch: Architecture name (x86_32, x86_64, arm, arm64). data: Machine code as hex string or base64. address: Base address for disassembly. Default 0. encoding: "hex" (default) or "base64". count: Max instructions to disassemble. 0 = all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
archYes
dataYes
addressNo
encodingNohex
countNo
Behavior2/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 of behavioral disclosure. It mentions the tool uses Capstone and lists parameters, but doesn't describe what happens during disassembly (e.g., error handling for invalid input, performance characteristics, or what the output looks like). For a tool with no annotations and no output schema, this leaves significant gaps in understanding its behavior.

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?

The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by a structured list of parameters with clear explanations. Every sentence earns its place, with no redundant or verbose content.

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?

Given the complexity (disassembly tool with 5 parameters), lack of annotations, and no output schema, the description is moderately complete. It covers the purpose and parameters well, but lacks details on behavioral aspects (e.g., error handling, output format) and doesn't fully compensate for the missing annotations and output schema, leaving some contextual gaps.

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 description coverage is 0%, so the description must compensate. It provides meaningful explanations for all 5 parameters beyond their titles (e.g., 'arch' as architecture name with examples, 'data' as machine code in specific formats, 'count' as max instructions with '0 = all'). This adds substantial value over the bare schema, though it could include more details like valid architecture ranges or data format constraints.

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's purpose with specific verb ('Disassemble') and resource ('machine code'), and distinguishes it from sibling tools like 'assemble' (which does the opposite operation). It explicitly mentions the technology used ('using Capstone'), making the purpose unambiguous.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool (to convert machine code to instructions), but doesn't explicitly state when not to use it or mention alternatives. For example, it doesn't contrast with 'hexdump' (which might show raw bytes) or 'assemble' (the inverse operation), though the purpose is distinct enough to imply usage.

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/LabGuy94/MCPEmulate'

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