Skip to main content
Glama
31Benzi

IDA Pro MCP Server

by 31Benzi

set_color

Change the color of an instruction, function, or segment in IDA Pro using an RGB integer value.

Instructions

Set the color of an instruction, function, or segment. Color is RGB as integer (e.g. 0xFF0000 for red, 0x00FF00 for green). item_type: instruction, function, segment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorYes
addressYes
item_typeNoinstruction

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description partially carries the burden of behavioral disclosure. It correctly indicates the tool is a write/mutation (setting a color) and explains the color format. However, it does not mention whether the change is reversible, what happens if the address is invalid, or if there are side effects like visual updates. The description is honest but lacks depth.

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 three sentences long, front-loaded with the core purpose, and each sentence adds value (purpose, color format, item types). It is efficient and avoids fluff. Minor improvement could be to combine the type list into the first sentence for even tighter structure.

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?

Given the tool's low complexity (3 parameters, with defaults for one), the description covers the essential aspects: what it sets, the valid item types, and the color encoding. The existence of an output schema is mentioned in context signals, but not detailed; the description doesn't need to explain return values. The only gap is behavioral details about error handling, but for a simple setter, this is nearly complete.

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 for all three parameters. It explains 'color' as RGB integer with examples, 'item_type' by listing allowed values (instruction, function, segment), and implies 'address' is the target. While 'address' lacks explicit explanation, the overall description adds significant meaning beyond the bare schema, directly covering all parameters.

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 sets the color of an instruction, function, or segment, specifying the color format as an RGB integer. It explicitly lists the three valid item types, leaving no ambiguity about what resource it operates on. This effectively distinguishes it from sibling tools like get_color, rename_function, or set_comment.

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 provides no guidance on when to use this tool versus alternatives like get_color for reading color, or other modification tools. It does not mention prerequisites (e.g., address must exist or be valid) or when not to use it. Sibling tools cover a wide range of modifications, but no comparative context is given.

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