Skip to main content
Glama
I-CAN-hack
by I-CAN-hack

analyze

Run Ghidra's auto-analysis on either changed code or the full program to update derived metadata.

Instructions

Run Ghidra auto-analysis for pending changes or the full program.

`scope="changes"` matches Ghidra's incremental analysis of pending work.
`scope="all"` schedules and runs analysis over the full program.

Args:
    program: Required Ghidra project path or name to target.
    scope: Either `changes` or `all`.
    timeout: Bridge execution timeout in seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNochanges
programYes
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It usefully discloses incremental vs full-program behavior and introduces the Bridge timeout. However, it does not mention side effects on the Ghidra project, expected runtime, or whether analysis mutates state, leaving meaningful behavioral uncertainty.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and well-structured: a clear two-line summary followed by a concise Args list. The key scope distinction is front-loaded, and every sentence earns its place with no filler.

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?

For a three-parameter tool with an output schema and no annotations, the description covers the mechanics of scope, program, and timeout. It omits guidance on when to use this tool relative to siblings and does not set expectations about runtime or side effects, so an agent would still need to infer some context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema property descriptions are absent (0% coverage), but the description's Args section adds meaning for every parameter: program is a required project path/name, scope is limited to 'changes' or 'all', and timeout is in seconds. This compensates well for the schema gap, though the program path format could be more specific.

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 opens with a specific verb and resource: 'Run Ghidra auto-analysis' for pending changes or the full program. It clearly states what the tool does and distinguishes it at a high level from siblings like decompile or disassemble, though it does not explicitly name those alternatives.

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 description explains when to choose scope='changes' vs scope='all' and identifies the required program target. However, it never states when to use analyze instead of sibling tools such as execute, decompile, or disassemble, nor whether analysis is a prerequisite for other operations. Usage is partly implied by 'pending changes' but not made explicit.

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