Skip to main content
Glama

xrefs_to

Find all code and data references pointing to a specific virtual address, with optional pointer inclusion and result limits, to map how a target is used.

Instructions

Cross references to an address.

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": {
      "key": "<key>",
      "va": "<va>"
    },
    "name": "xrefs_to"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaYes
keyYes
limitNo
sessionNo
include_pointersNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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 burden and discloses almost nothing: not whether results are paginated, what limit does, what include_pointers changes, or what the session parameter represents. Only a read-only intent can be inferred from 'cross references'.

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

Conciseness3/5

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

It is a single front-loaded sentence with zero waste, but it is under-specified rather than concise — the brevity comes at the cost of missing information.

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?

An output schema exists, so return values need not be described, but for a five-parameter tool with no annotations and no schema documentation, the description leaves the agent without enough to invoke it correctly, especially the session key and pointer behavior.

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

Parameters1/5

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

Schema description coverage is 0% for all five parameters. The description only alludes to 'an address' (va); key, limit, session, and include_pointers receive no meaning from either the schema or the description, so the agent cannot confidently populate them.

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 phrase ('Cross references *to*') and resource ('an address'), and the italicized 'to' distinguishes it from the sibling xrefs_from. It stops just short of naming the alternative explicitly, so a 4 rather than 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?

There is no statement of when to use this tool versus xrefs_from, string_xrefs, or address_info, and no prerequisites or exclusions. The agent must infer the selection rule from the emphasized '*to*' alone.

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