Skip to main content
Glama
andsopwn

ida-fusion-mcp

by andsopwn

analyze_function

Combine pseudocode, strings, constants, callers, callees, xrefs, and basic block summary for a function into a single call. Ideal for comprehensive function analysis without multiple tool chains.

Instructions

Compact single-function analysis: pseudocode (capped at 100 lines), top strings, top non-trivial constants, callers, callees, xrefs, comments, and basic block summary. Use this for "tell me everything about function X" in one call instead of chaining decompile + callees + xrefs_to separately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addrYesFunction address or name
include_asmNoInclude full disassembly (default: false, saves tokens)
instance_idYesTarget IDA instance ID (required)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
addrNo
nameNo
prototypeNo
sizeNo
decompiledNo
decompile_truncatedNo
assemblyNo
stringsNo
constantsNo
calleesNo
callersNo
xrefsNo
commentsNo
basic_blocksNo
errorNo
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses key behavioral traits: pseudocode capped at 100 lines, token-saving for include_asm default. Does not mention error handling (e.g., function not found) or whether tool is read-only, though context implies analysis.

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?

Two sentences with no redundant words. First sentence enumerates outputs, second provides usage guidance. Extremely efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given output schema exists, description need not detail return format. It covers purpose, usage guidance, and output contents sufficiently. No apparent gaps.

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 covers 100% of parameters with descriptions. The description adds limited extra semantics: explains include_asm default reduces token usage. No further detail beyond schema.

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 tool performs compact single-function analysis and lists exact outputs (pseudocode, strings, constants, callers, callees, xrefs, comments, basic block summary). It distinguishes itself from siblings by positioning as an alternative to chaining multiple tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Explicitly tells when to use ('tell me everything about function X') and when to avoid (instead of chaining decompile + callees + xrefs_to separately). Names specific alternatives. Could mention prerequisites or limitations for very large functions.

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