Skip to main content
Glama

reference.clear_to

Remove all references targeting a specified address in a Ghidra session to clean up cross-references before analysis or patching.

Instructions

Remove all references that target a specific 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": {
      "session_id": "<session_id>",
      "to_address": "<to_address>"
    },
    "name": "reference.clear_to"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYes
to_addressYes

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?

With no annotations at all, the description carries the full behavioral burden and does not meet it. It says references are removed but not whether the operation is irreversible, whether it deletes references entirely or only detaches the target, what happens to the referencing source entries, or what permissions/state are required.

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 filler. It is efficient, though its brevity is part of why behavior and parameters go unexplained.

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 a destructive, bulk, two-parameter mutation with no annotations and no output schema, the description is far too thin. It omits reversibility, scope of the bulk delete, session semantics, and any return/error information.

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% for both required parameters. The phrase "a specific address" loosely maps to to_address, but session_id is never explained, and the schema's oneOf (integer or string) for to_address is not clarified in the description either.

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 ("Remove") and resource ("references that target a specific address"), and the word "target" implies the 'to' side of a reference, which implicitly distinguishes it from a clear_from-style sibling. It stops short of naming any alternative explicitly, so it lands at clear-but-undifferentiated.

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 clearing the 'from' side, removing individual associations, or deleting references. The agent must infer the to-vs-from distinction purely from the tool name.

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