Skip to main content
Glama
31Benzi

IDA Pro MCP Server

by 31Benzi

define_function

Define a new function starting at a specific address. Optionally specify an end address, or let IDA auto-detect the function boundary.

Instructions

Create a new function at a given address range. If end_address is empty, IDA will auto-detect the function boundary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_addressNo
start_addressYes

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. It mentions auto-detection of the function boundary when end_address is empty, which is helpful, but it omits important details such as whether this operation overwrites existing code/data, whether it can fail, or what the return value looks like. The output schema exists but is not referenced.

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 covering the primary action and a key behavioral detail. Every word earns its place—no fluff or repetition. The critical information about auto-detection is front-loaded in the second sentence.

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?

The tool has 2 parameters (1 required), an output schema, and no nested objects. The description explains the tool's purpose and the key parameter behavior, but lacks info on return value semantics and error cases. Given the simplicity, it is adequate but not thorough.

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?

Schema description coverage is 0%, so the description must compensate. It explains the effect of an empty end_address (auto-detection), which adds meaning beyond the schema's field names and default. However, it does not explain the format or constraints of the address strings (e.g., hex, decimal, or expression), which would improve utility.

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 uses the specific verb 'Create' and resource 'function at a given address range', clearly distinguishing it from sibling tools like 'undefine_function' or 'rename_function'. It explains the auto-detection behavior for the end address, which adds clarity beyond the name.

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?

The description does not provide any guidance on when to use this tool versus alternatives like 'make_code' or 'disassemble_range', nor does it mention prerequisites (e.g., that the range must be code already). The usage context is only implied by the tool name and siblings.

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/31Benzi/IDA-PRO-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server