Skip to main content
Glama

project.program.open

Open a program stored in the current project to create a new session for reverse-engineering tasks, optionally in read-only mode or with analysis updates.

Instructions

Open a program already stored in the current 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": {
      "session_id": "<session_id>",
      "path": "<path>"
    },
    "name": "project.program.open"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
read_onlyNo
session_idYes
update_analysisNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses one useful fact — that a new session is created and returned — but says nothing about whether an already-open program errors, what read_only defaults to, how update_analysis affects behavior, permission requirements, or session lifecycle/cost.

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?

A single front-loaded sentence with no filler, and the returned artifact is disclosed early. It is efficient, though at the cost of substance given the tool's complexity.

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 session-creating tool with four undocumented parameters and no annotations or output schema, the definition is thin but not empty: the agent learns it opens an in-project program and receives a new session. Missing are the session_id requirement rationale and the semantics of the two boolean flags, which are the highest-risk fields for a wrong call.

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?

Schema description coverage is 0% across 4 parameters (session_id, path, read_only, update_analysis), so the description must compensate and largely does not. The only real semantic hint is that 'path' is resolved relative to the current project; read_only and update_analysis are left completely unexplained, and the required session_id is unmentioned.

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 ('Open a program already stored in the current project') plus a stated outcome ('return a new session'), which is far more than a restatement of the name. The scoping phrase 'already stored in the current project' partially separates it from a sibling like program.open_bytes (which implies opening from raw bytes), but it does not address the near-identical sibling project.program.open_existing, leaving a residual ambiguity.

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 explicit when-to-use / when-not-to-use guidance and no alternative is named, despite the sibling list containing several plausible opens (program.open, project.program.open_existing, program.open_bytes). The phrase 'already stored in the current project' implies a context, but the agent must infer the routing decision entirely.

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