Skip to main content
Glama

program.save_as

Saves the current program to a new project path or name, letting you preserve or reorganize reverse-engineering work in Ghidra.

Instructions

Save the current program under a new project path or name.

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>",
      "program_name": "<program_name>"
    },
    "name": "program.save_as"
  }
}

Input Schema

NameRequiredDescriptionDefault
overwriteNo
session_idYes
folder_pathNo
program_nameYes

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 supplied, the description carries the full disclosure burden and does not meet it. It never says whether saving-as changes the session's current program identity, what happens on collision with an existing path, whether the operation overwrites in-place, or what the result looks like — all material for a mutation tool.

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?

It is a single front-loaded sentence with no filler, which is good structurally. But the brevity comes at the cost of under-specification, so the terseness is not fully earned.

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?

A four-parameter mutating tool with no annotations and no output schema needs substantially more than one sentence. Key behavioral and parameter details are absent, so an agent cannot confidently invoke it without inspecting the raw schema and guessing at overwrite semantics.

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 four parameters. The description only gestures at 'path or name' (loosely covering folder_path and program_name) and says nothing about session_id or the overwrite boolean, which is exactly the parameter that needs explaining given its destructive implications.

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 names a specific verb ('Save') and resource ('the current program') plus the scope ('under a new project path or name'), so an agent can tell this apart from a plain save. However, it never differentiates itself from the sibling program.save, leaving the save-vs-save-as distinction to be inferred from the tool name alone.

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 or when-not-to-use guidance, no mention of prerequisites (e.g. a program must be open/current), and no reference to program.save or program.close as alternatives. The only hint is the implicit 'save as' convention.

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