Skip to main content
Glama

program.open

Open a binary file for reverse-engineering analysis and return a new Ghidra session, enabling disassembly, decompilation, and patching workflows.

Instructions

Open a binary file for analysis and return a new session.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "program.open"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
loaderNo
compilerNo
languageNo
read_onlyNo
program_nameNo
project_nameNo
update_analysisNo
project_locationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does not meet it. It discloses only that a session is returned; it says nothing about whether the session must later be released via program.close, whether analysis runs on open, what read_only implies, or what happens on failure or on a duplicate open.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, but it is drastically under-sized for a tool with nine parameters and no annotations. Conciseness here reflects under-specification rather than disciplined editing.

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

Completeness2/5

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

Given 9 parameters, 0% schema coverage, no annotations, and no output schema, the definition leaves far too much unexplained. An agent could issue a minimal path-only call, but could not responsibly use loader, compiler, language, or the project-related options from this description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All 9 parameters have 0% schema description coverage, so the description is the only source of meaning and explains essentially none of them. "Binary file" loosely implies path refers to an on-disk binary, but loader, compiler, language, read_only, program_name, project_name, update_analysis, and project_location are entirely opaque, including which combinations are valid.

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?

"Open a binary file for analysis and return a new session" names a concrete verb (open) and resource (binary file) plus the immediate result (a new session). It implicitly separates itself from program.open_bytes and project.program.open by specifying a file path, though it never states that distinction explicitly.

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?

There is no when-to-use guidance, no prerequisites, and no mention of the obvious alternatives in the sibling list (program.open_bytes for in-memory data, project.program.open or project.program.open_existing for project-scoped work). The agent must infer selection purely from the name.

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

Deploy Server

Other Tools