Skip to main content
Glama

ida_string_refs

Find string literals matching a filter and return the code references, functions, and offsets that use them, so you can trace a known string to its implementation.

Instructions

Strings matching a filter plus the code that references them. The fastest way to go from a known string ('Killed by', '/Game/', 'AntiCheat') to the functions and offsets behind it.

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": {
      "filter": "<filter>"
    },
    "name": "ida_string_refs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
filterYesSubstring of the string literal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations provided, so description carries the burden. It discloses the return shape (strings plus referencing code) but says nothing about truncation at the limit, cost on large binaries, or grouping of results.

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?

Two tight sentences: the first states what is returned, the second gives the motivating use case. 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 simple two-parameter read tool this is nearly adequate, but with no output schema and no annotations the agent cannot tell the response layout (per-string grouping, offsets, function names) or how 'limit' affects results.

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 coverage is 50%: 'filter' is documented as a substring match and the description merely echoes it. The 'limit' parameter (default 50, max 5000) is never mentioned, leaving no guidance on result volume or truncation of cross-references.

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 specific resource and result: strings matching a filter plus referencing code, which differentiates it from a plain string listing. Does not name the sibling it contrasts with (ida_strings), so not a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear triggering scenario: start from a known literal like 'Killed by' or '/Game/' to reach the functions and offsets behind it. No explicit exclusions or named alternatives, keeping it at 4.

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