Skip to main content
Glama

save_image

Writes an already-loaded image to disk at a specified path, letting you persist a captured PE image for later static analysis and export.

Instructions

Write an already-loaded image to disk (same demap as export_module).

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": {
      "key": "<key>",
      "path": "<path>"
    },
    "name": "save_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
rawNo
pathYes
sessionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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 provided, so the description carries the full burden for a write-to-disk operation. It does not say whether an existing file at path is overwritten, whether it fails on existing files, what permissions or session state are needed, or whether the write is reversible.

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 wasted padding, which is good. But the trailing parenthetical 'same demap as export_module' adds confusion rather than clarity and consumes a third of the text.

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?

An output schema exists, so return values need not be explained, but for a file-writing tool with no annotations and zero parameter documentation, the description omits critical details: overwrite semantics, error conditions, and the meaning of raw/session.

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, and the description explains none of them — in particular 'raw' and 'session' remain entirely undefined. Only 'path' is loosely implied by 'to disk', so the description fails to compensate for the coverage gap.

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: write an already-loaded image to disk. The parenthetical reference to export_module gives partial sibling differentiation, though the phrase 'same demap' is opaque jargon that leaves the exact relationship to export_module ambiguous.

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 'already-loaded image' implies the prerequisite that an image must first be captured/loaded (siblings capture_image, unload_image), which is useful implied usage context. However, it never states when to choose this tool over export_module or what happens if the image is not loaded.

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