Skip to main content
Glama

Xrefs To

xrefs_to

Find all cross-references that point to one or more addresses in an IDA Pro database, enabling reverse engineers to trace code and data usage.

Instructions

Get all cross-references to address(es).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addrYesTarget address(es) - single or comma-separated
timeoutNoTimeout in seconds
instance_idNoInstance id override

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.7

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it says nothing about what kinds of xrefs are returned (code vs. data), whether results are paginated or bounded, or what the timeout parameter actually governs. For a read tool in a reverse-engineering suite this is a significant gap.

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 zero filler. It is efficient, though brevity here shades into under-specification rather than polished conciseness.

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?

With no annotations and no output schema, the description is the only source of behavioral context, yet it omits return shape, xref categories, and the role of timeout/instance_id. For a query tool that other sibling tools build on, this leaves the agent under-informed.

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

Parameters3/5

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

Schema coverage is 100%, so each parameter is already documented, including "single or comma-separated" for addr. The description's "address(es)" adds only marginal reinforcement of the plural form; baseline 3 is appropriate.

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 clear verb ("Get") and resource ("cross-references to address(es)"). The preposition "to" implicitly distinguishes it from the sibling xrefs_from, though no sibling is named explicitly, so it falls short of 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 Guidelines2/5

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

The description gives no when-to-use guidance, no prerequisites, and never mentions alternatives like xrefs_from or xrefs_to_field. The agent must infer the direction distinction from the tool name alone.

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