Skip to main content
Glama

search.text

Search a Ghidra session's defined strings and raw memory for specific text, with optional filters for address range, encoding, case sensitivity, and result limits.

Instructions

Search for text across defined strings and raw memory matches.

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>",
      "text": "<text>"
    },
    "name": "search.text"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
textYes
limitNo
startNo
encodingNo
session_idYes
case_sensitiveNo
defined_strings_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations and no output schema, so the description carries the full burden of behavioral disclosure. It says nothing about result format, whether matches are grouped by string vs address, how 'limit' truncates, or whether encoding conversion affects matching—all relevant for a search over encoded memory.

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 wasted padding. It is efficient, though the brevity is partly under-specification rather than tight editing.

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 an 8-parameter search tool with no annotations and no output schema, the description omits result semantics, paging/limit behavior, and the meaning of start/end and encoding. Anything an agent needs beyond the bare purpose must be guessed.

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 8 parameters, including ambiguous ones: start/end accept integer or string (address vs index?), encoding, case_sensitive, and defined_strings_only. The description only faintly gestures at defined_strings_only and says nothing about how the remaining seven parameters behave, so the coverage gap is unmitigated.

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 ('Search for text') and adds scope ('across defined strings and raw memory matches'), which implies it spans two sources rather than one. It stops short of differentiating from close siblings such as search.defined_strings and search.bytes, so an agent cannot tell from wording alone whether this is a superset or a distinct operation.

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 statement of when to prefer this over the specialized siblings (search.defined_strings, search.bytes, search.constants, search.instructions), nor any prerequisites. 'defined strings and raw memory matches' hints at coverage but does not tell the agent which tool to pick.

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