Skip to main content
Glama

ida_close

Close the current IDA Pro database in headless sessions, optionally saving the IDB first to preserve analysis changes.

Instructions

Headless only. Close the current database, optionally saving the IDB first.

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

Input Schema

NameRequiredDescriptionDefault
saveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two useful traits: a headless-only mode restriction and that the IDB is saved before closing when requested. It does not say what happens to unsaved changes when save=false (discarded, error, or prompt), which is the critical consequence for a destructive operation.

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 short sentences, zero waste, with the mode constraint front-loaded before the action. Nothing could be removed without losing information.

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?

For a one-parameter lifecycle tool with no output schema, the essentials are present, but the two questions an agent actually has—what happens to unsaved work and whether the session ends—are unanswered.

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 coverage is 0%, so the single 'save' parameter is documented nowhere but the description; 'optionally saving the IDB first' does map to it and explains its meaning. Still, it omits the default behavior (save=false discards) that the schema only encodes as a bare default value.

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?

States a specific verb ('Close') and resource ('the current database'), plus an optional modifier ('saving the IDB first'). It is easy to distinguish from ida_open and ida_save without opening a schema, though it never names a sibling explicitly.

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?

'Headless only' is a real applicability constraint that tells the agent this is unavailable in GUI sessions. However, there is no explicit guidance on when to close versus when to call ida_save and keep working, nor on what to do if no database is open.

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