Skip to main content
Glama

load_file

Load a PE file from disk for static analysis; omit a session to use the standalone engine and keep workflows independent of open DMA sessions.

Instructions

Load a PE file from disk for static analysis.

Files loaded without session go into the standalone engine, so a static-only workflow never depends on which DMA session happens to be open.

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": "load_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
baseNo
pathYes
sessionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it usefully discloses that omitting 'session' routes the file into a standalone engine, which is real behavioral context. It does not say what happens on a missing/invalid path, whether the load is registered under 'key' persistently, or whether repeated loads of the same path collide.

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 purpose is front-loaded in one sentence and the qualifier about sessions follows efficiently. The second sentence is slightly verbose ('a static-only workflow never depends on which DMA session happens to be open') but it earns its place by motivating the parameter behavior.

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?

An output schema exists, so return values need not be described. However, for a four-parameter stateful load operation with no annotations and 0% schema coverage, leaving 'key' and 'base' unexplained means an agent cannot confidently supply them or predict how the loaded file is referenced later.

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% — the four parameters carry only bare titles and defaults. The description explains the meaning of 'session' (empty string means standalone engine), but 'key', 'base', and 'path' remain completely undefined; notably 'key' and 'base' read like address/identifier fields whose semantics are unclear for a file load.

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 ('Load a PE file from disk for static analysis') and implicitly contrasts this with live DMA-session loading, which separates it from attach/capture siblings. It never names an alternative sibling explicitly, so an agent still has to infer the exact boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the condition that selects the standalone engine ('Files loaded without session') and frames the workflow it supports (static-only analysis independent of an open DMA session). There is no explicit statement of when not to use it or what to use instead for live-memory acquisition.

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