Skip to main content
Glama
andsopwn

ida-fusion-mcp

by andsopwn

basic_blocks

Retrieve control flow graph basic blocks for function addresses, enabling analysis of function structure and control flow.

Instructions

Get control flow graph basic blocks for functions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addrsYesFunction addresses to get basic blocks for
max_blocksNoMax basic blocks per function (default: 1000, max: 10000)
offsetNoSkip first N blocks (default: 0)
instance_idYesTarget IDA instance ID (required)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. However, it only states the basic operation and does not mention side effects, error handling, performance implications, or what happens with invalid addresses. This is insufficient for an agent to gauge behavioral impact.

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

Conciseness4/5

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

The description is a single, front-loaded sentence that efficiently conveys the core purpose. While minimal, it contains no redundancy. A bit more detail could be added without sacrificing conciseness.

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?

Despite having an output schema, the description does not cover important aspects such as the format of basic blocks, how multiple functions are handled, or limitations (e.g., maximum number of blocks). Given 4 parameters, the description is too sparse to be contextually complete.

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?

With 100% schema description coverage, the schema already documents all parameters. The description adds no extra meaning or context beyond what the schema provides, so it meets the baseline but does not enhance understanding.

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 verb 'Get' and resource 'basic blocks' within the context of control flow graph for functions. It distinguishes from sibling tools like list_funcs (which lists functions) and disasm (which disassembles), making its 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 Guidelines3/5

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

The description provides no guidance on when to use this tool versus alternatives like analyze_function or disasm. Usage is implied by the tool's purpose, but explicit conditions or exclusions are absent.

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