Skip to main content
Glama

ida_segments

Lists every segment with its name, class, address range, size, permissions, and bitness to map an IDA Pro database's memory layout.

Instructions

Memory map: every segment with name, class, start/end, size, permissions and bitness.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/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. It does disclose the returned content field-by-field, which is genuine behavioral value, but it omits that this is a non-mutating read, whether an ida_open session is required first, and what format/units addresses and sizes use (hex vs decimal).

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?

A single front-loaded sentence that leads with the concept ('Memory map:') and then enumerates the returned fields. Nothing is wasted and there is no redundancy.

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?

Because no output schema exists, the description must explain the return value, and it does so by listing all the per-segment fields. What remains missing is address/size formatting conventions and any session prerequisite, which for a zero-parameter read tool is a minor gap.

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?

The tool takes no parameters, so the baseline is 4. The schema confirms an empty object and the description correctly implies the tool is parameterless; nothing further is required on this dimension.

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 names a specific resource (the memory map / segment list) and enumerates exactly what each entry contains: name, class, start/end, size, permissions and bitness. That is enough for an agent to distinguish it from byte-reading or function-listing siblings such as ida_read_bytes or ida_functions, though the verb is implied rather than stated as 'list'/'get'.

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?

There is no explicit when-to-use, when-not, or alternative-tool guidance. Usage is only implied by the 'Memory map' framing plus the zero-parameter schema, which makes the read-only enumeration intent fairly self-evident, but the agent must infer that this is the right tool when it needs segment layout rather than raw bytes or functions.

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