Skip to main content
Glama

ida_xrefs_from

Lists every reference made from a target address or symbol—calls, reads, writes, and pointers—to show outgoing cross-references in IDA Pro.

Instructions

Every reference made from an address (what it calls, reads, writes or points at).

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": {
      "target": "<target>"
    },
    "name": "ida_xrefs_from"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
targetYesAddress or name: '0x401000', 'sub_401000', a defined name, 'libUE4.so+0x1234', or a unique part of a function name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/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 disclose the semantic content of the result (call/read/write/pointer references), but says nothing about pagination or truncation via limit, failure modes when a target name is ambiguous, or that this is a read-only query.

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; the resource and direction come first. It is terse to the point of omitting usage context, but nothing in it is wasted.

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 2-parameter read tool with no output schema and no annotations, one sentence is thin. It covers what a reference is but leaves return shape (source/target/type structure) and limit-driven pagination unexplained.

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 only 50%: `target` is thoroughly documented in the schema itself ('0x401000', 'libUE4.so+0x1234', partial name matching), while `limit` has no description beyond its default and maximum. The description mentions neither parameter, so it adds no meaning beyond the schema and does not compensate for the coverage gap.

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+resource: references made FROM an address, and enumerates the reference kinds (calls, reads, writes, points at). The "from" framing contrasts implicitly with the incoming-reference sibling ida_xrefs_to, though that sibling is never named.

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?

No explicit when-to-use or when-not-to-use guidance, and no named alternative. The directional wording ("from an address") implies outward xrefs, but an agent must infer that ida_xrefs_to is the inverse rather than being told.

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