Skip to main content
Glama

ida_structs

Lists declared structs in IDA Pro with sizes and member counts so you can inspect data-type layouts during reverse engineering.

Instructions

Declared structs with size and member count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ida_structs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/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. It discloses the returned fields (size and member count) but says nothing about whether the operation is read-only, what happens with large binaries, how the limit affects results, or whether structs from imported type libraries are included.

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 compact phrase with no filler, but its brevity comes at the cost of under-specification rather than tightness. It is front-loaded on the resource but omits the action.

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?

With no annotations, no output schema, and an undocumented parameter, the description does not carry enough information for an agent to call this confidently. At minimum it should state that it lists structs from the current IDA database and explain the limit/pagination behavior.

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

Parameters2/5

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

Schema description coverage is 0% for the single 'limit' parameter, and the description does not mention it at all. The agent learns nothing about what the limit controls, its default of 300, or the 5000 cap beyond what the raw schema implies.

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?

The fragment 'Declared structs with size and member count' identifies the resource (structs) and the two fields returned, which distinguishes it reasonably from siblings like ida_enums. However, it has no verb and no explicit statement of what the tool does with the structs (list/return them), leaving the agent to infer that this is a read/list operation.

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 guidance, no mention of prerequisites (e.g. a database must be open), and no pointer to ida_enums or other alternatives for related type information. The agent must infer applicability entirely from the title/resource name.

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