Skip to main content
Glama

project.program.open_existing

Opens an existing program from a named Ghidra project and returns a new session, enabling AI agents to analyze or patch that program.

Instructions

Open a program from a named existing Ghidra project 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": {
      "project_location": "<project_location>",
      "project_name": "<project_name>"
    },
    "name": "project.program.open_existing"
  }
}

Input Schema

NameRequiredDescriptionDefault
read_onlyNo
folder_pathNo
program_nameNo
program_pathNo
project_nameYes
update_analysisNo
project_locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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. It mentions returning a new session, but does not disclose whether opening is read-only, whether analysis is updated, whether the project is modified, or what permissions or side effects apply.

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 definition is a single front-loaded sentence with no wasted wording. It is concise, though the brevity reflects missing detail rather than efficient completeness.

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?

For a 7-parameter open operation with no annotations and no output schema, the description is too thin. It does not explain the optional parameters, session behavior, or the implications of opening a program from an existing project.

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?

There are 7 parameters and 0% schema description coverage. The description vaguely references a named project and program, but gives no meaning for project_location, folder_path, program_path, read_only, or update_analysis.

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 gives a specific verb and resource: opening a program from an existing Ghidra project and returning a new session. It is clear what the tool does, though it does not explicitly distinguish itself from siblings such as project.program.open or program.open.

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 phrase 'named existing Ghidra project' implies the prerequisite that a project must already exist, but there is no explicit when-to-use or when-not-to-use guidance versus the many sibling open/project tools.

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