Skip to main content
Glama

ghidra.call

Invoke Ghidra or Java APIs through a generic bridge for direct reverse-engineering calls; use write=true to transition a read-only session to writable for patching.

Instructions

Invoke Ghidra or Java APIs directly through a generic bridge. Raw access to a read-only session requires write=true and transitions it to writable.

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": {
      "target": "<target>"
    },
    "name": "ghidra.call"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNo
writeNo
kwargsNo
targetYes
session_idNo

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 disclosure burden. It does add one genuinely valuable behavioral fact — that write=true transitions a read-only session into a writable state — but says nothing about arbitrary code execution risk, error behavior, return values, or what happens to session state on failure. For a tool that runs arbitrary API calls, that is a substantial gap.

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?

Two sentences, front-loaded with the core purpose and no filler. The second sentence is dense and slightly ambiguous ('raw access to a read-only session'), but nothing is wasted.

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?

This is a high-complexity tool (arbitrary API invocation, free-form args array, nested kwargs, no output schema, no annotations, 0% parameter coverage), and the description covers only a fraction of what an agent needs. It omits how target is resolved, how args/kwargs are passed, and what a call returns.

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 five parameters, so the description must compensate and largely does not. It clarifies only 'write' (its session-state side effect); 'target', 'args', 'kwargs', and 'session_id' are never explained in the description, and 'kwargs' is a nested object with no guidance at all.

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 states a specific action (invoke Ghidra or Java APIs) and names the mechanism (a generic bridge), so an agent knows this is a low-level escape hatch rather than a dedicated operation. It does not distinguish itself from plausible siblings such as ghidra.eval or ghidra.script, so differentiation is left to the agent.

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?

Usage is only implied: the phrase 'generic bridge' and 'raw access' suggest this is for cases where no dedicated tool exists, but that is never stated, nor are any alternatives named. The one explicit condition given ('requires write=true' for a read-only session) is parameter guidance rather than tool-selection guidance.

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