Skip to main content
Glama

analysis.options.get

Retrieve the current value of a specific analysis option for a Ghidra session by providing the session ID and option name.

Instructions

Return the current value of a specific analysis option.

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>",
      "name": "<name>"
    },
    "name": "analysis.options.get"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
session_idYes

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?

No annotations are supplied, so the description carries the full behavioral burden. It does not disclose what happens for an unknown option name, whether the value is typed or stringly-formatted, or that the read is scoped to a live session; only the bare read nature is conveyed.

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?

A single front-loaded sentence with no filler, which is appropriately sized for a trivial getter. The brevity is efficient, though it borders on under-specification rather than achieving maximal information density.

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?

For a two-parameter getter with no annotations, no output schema, and zero schema description coverage, the description is too thin. An agent still lacks the session scoping rules, valid `name` values, and the shape of the returned value.

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% for two required parameters, so the description must compensate and largely does not. It hints that `name` identifies the option, but says nothing about valid option names or what `session_id` refers to, leaving most parameter meaning undocumented.

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 ("Return") and resource ("the current value of a specific analysis option"), which is enough to distinguish it from the set/list siblings by name and semantic role. It does not explicitly name those alternatives, so it falls short of full sibling differentiation.

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 single-option read scope is implied by "a specific analysis option," giving some sense of when to use it (targeted read rather than the list sibling). However, there is no explicit guidance about prerequisites, such as needing an active session or when to prefer analysis.options.list instead.

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