Skip to main content
Glama
andsopwn

ida-fusion-mcp

by andsopwn

read_struct

Reads a struct type definition and parses memory values at a given address into the struct's fields, with automatic detection of the struct type if not provided.

Instructions

Reads struct type definition and parses actual memory values at the given address as instances of that struct type.

If struct name is not provided, attempts to auto-detect from address. Auto-detection only works if IDA already has type information applied at that address

Returns struct layout with actual memory values for each field.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queriesYes
instance_idYesTarget IDA instance ID (required)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description covers main behavior: reading memory, parsing as struct, auto-detection condition. It clearly states the limitation that auto-detection only works if IDA already has type information, which is important for the agent.

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?

Three sentences, no redundant information. Efficiently conveys purpose, usage nuance, and return value without filler.

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?

Covers the essential behavior and auto-detection limitation, but omits details about the array-of-queries option (allowed by schema) and error conditions. Under-specified for a tool that can read multiple structures at once.

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 coverage is 50% (instance_id has description, queries does not at top level). The description adds value by explaining the optional nature of struct and auto-detection, partially compensating for the missing top-level description of queries. However, it does not elaborate on the addr parameter or the array variant.

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

Purpose4/5

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

The description clearly states it reads struct type definitions and parses memory values at an address. It distinguishes itself from sibling tools like type_inspect or set_type by focusing on memory reading, though it could be more specific about the output format.

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?

Provides some guidance on auto-detection when struct name is omitted, but no explicit when-to-use or when-not-to-use compared to siblings. No alternatives mentioned.

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/andsopwn/ida-fusion-mcp'

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