Skip to main content
Glama

function.batch.run

Run a single supported action across a filtered batch of functions to automate repetitive reverse-engineering tasks in Ghidra sessions.

Instructions

Run one supported action across a filtered batch of functions.

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>",
      "action": "<action>"
    },
    "name": "function.batch.run"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
actionYes
offsetNo
session_idYes
timeout_secsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations exist, so the description carries the full disclosure burden, and it discloses nothing. For a batch mutation runner the agent needs to know whether actions are destructive, how partial failures are reported, whether execution is ordered or parallel, and what permissions are needed; none of this appears.

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, so it is efficiently structured. However, the brevity reflects under-specification rather than disciplined compression.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A 6-parameter batch executor with no annotations, no output schema, and 0% schema coverage needs substantial description to be usable. Nothing about result shape, per-item outcomes, failure handling, or action vocabulary is provided.

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 6 parameters, so the description must compensate and largely fails. 'Filtered batch' weakly maps to query/limit/offset and 'one supported action' to action, but session_id, timeout_secs, and valid action values receive no explanation anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'Run' and resource 'batch of functions' give a rough sense of the operation, but 'one supported action' is undefined and the action parameter has no enum, so an agent cannot tell which operations are legal. No sibling tool is named or contrasted, leaving it unclear how this differs from individual tools like function.rename or function.delete.

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 guidance, no statement of when to apply a batch action versus invoking per-function tools, and no prerequisites such as required session state. The only implied usage is the word 'filtered', which hints at the query parameter but not a selection policy.

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