Skip to main content
Glama

Close Database

close_database

Close or detach an IDA database instance to save progress, shut down headless workers, and optionally terminate GUI sessions and release resources.

Instructions

Release/detach an IDA database instance. Headless workers are shut down (saved by default); GUI stays open unless terminate=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
saveNoSave the database before closing
terminateNoAlso close GUI instances; headless workers are always shut down (saved first) when their last user detaches
instance_idNoInstance id; defaults to the current target

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.7

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. It usefully discloses that headless workers are always shut down and saved by default while the GUI persists unless terminate=true, but it omits what happens to unsaved changes, whether closing is reversible, and what state the current target is left in.

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?

Two tightly written sentences with the core purpose front-loaded and the conditional behavior immediately after. No filler, though the 'release/detach' slash phrasing is slightly loose.

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?

For a 3-parameter tool with full schema coverage and no output schema, the description covers the essential behavioral contract (what gets shut down, save default, GUI vs headless). It is adequate, though error conditions and post-close state are unaddressed.

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 description coverage is 100%, so the schema already documents all three parameters. The description reinforces the save-by-default and terminate semantics and their interaction, but adds no syntax or format detail beyond what the schema provides; baseline 3 is appropriate.

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 and resource ('Release/detach an IDA database instance'), and the name close_database reinforces it. It implicitly distinguishes from save_database by noting headless workers are 'saved by default' rather than this being a save-only tool, but 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?

The conditional behavior ('GUI stays open unless terminate=true') hints at when the terminate flag is appropriate, but there is no explicit when-to-use guidance or comparison to alternatives like save_database or select_database. Usage is implied rather than stated.

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