Skip to main content
Glama

ida_enums

Lists declared enums and their underlying sizes to support type analysis during IDA Pro reverse engineering.

Instructions

Declared enums with their underlying size.

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_enums"
  }
}

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 burden, yet it never says this is a read-only listing, whether it reads the active database only (implying ida_open/ida_status prerequisites), or how results are bounded. Saying results include "underlying size" is the only behavioral detail offered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is one short fragment, so nothing is padded, but the brevity comes from under-specification rather than economy: no verb, no scope, no output shape. Short is not the same as front-loaded and useful.

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?

For a simple single-parameter listing tool with no output schema, this is thin but not unusable: an agent can reasonably infer it returns enum names with sizes. Missing are the read-only guarantee, database precondition, and truncation behavior, which matter for a 1-param tool whose only param controls result volume.

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% and the single `limit` parameter (default 300, maximum 5000) is not mentioned in the description at all, so there is no disclosure of result truncation or how to retrieve more enums. The parameter name is self-explanatory, which prevents a 1, but the description adds no meaning beyond the schema.

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?

"Declared enums with their underlying size" names the resource (enums) and one attribute of the result (underlying size), but it is a noun phrase with no verb, so the agent must infer that the tool lists/extracts them. It is distinguishable from ida_struct and ida_names in a loose sense, but the action itself is never stated.

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, when-not-to-use, or alternative-tool guidance at all. The only implicit signal is subject matter (enums), which helps an agent guess the domain but gives no selection criteria against siblings such as ida_struct or ida_set_type.

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