Skip to main content
Glama

reference.create.register

Create a reference from a specific address to a register, linking code locations to register usage for reverse-engineering analysis.

Instructions

Create a reference from an address to a register.

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>",
      "from_address": "<from_address>",
      "register": "<register>"
    },
    "name": "reference.create.register"
  }
}

Input Schema

NameRequiredDescriptionDefault
registerYes
session_idYes
source_typeNo
from_addressYes
operand_indexNo
reference_typeNo

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?

With no annotations, the description carries the full burden and discloses almost nothing: it does not say whether the call requires a loaded/open session, whether an existing reference at that address is replaced or appended, whether the address must already have a symbol, or what failure modes exist. Only the bare fact of mutation is conveyed, and that is implied by "create" rather than stated.

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?

The single sentence has no filler and is front-loaded with the action, which is good. However, at nine words it is under-specified rather than efficiently concise, and the dangling phrase "from an address to a register" reads ambiguously.

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 six-parameter mutation tool with zero schema descriptions, no annotations, and no output schema, the definition is far too thin. An agent has no way to know preconditions, parameter meanings, or the effect on existing references, all of which the description would need to supply here.

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%, so the description must compensate, yet it only loosely gestures at two of six parameters (from_address as "address", register as "register"). session_id, source_type, reference_type, and operand_index are left completely undefined, and the oneOf integer/string shape of from_address is unaddressed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb+resource pair ("create" + "reference") and the direction "from an address to a register" give a workable gist, but the term "register" as a source/target of a reference is never defined, so an agent unfamiliar with the domain cannot tell what object is being produced. It hints at a distinction from siblings like reference.create.memory or reference.create.stack, but only by naming one token rather than stating the difference.

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 this tool should be chosen over reference.create.external, reference.create.memory, reference.create.stack, or reference.association.set. The agent must infer the selection rule entirely from the tool name and the phrase "to a register."

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