Skip to main content
Glama

resolve_pointer_chain

Resolve a multi-level pointer chain by walking each offset from a base address and reporting every hop plus the final value; broken hops return the failing address instead of a misleading zero.

Instructions

Walk a pointer path and report every hop plus the final value.

base is game.exe+0x1a2b or an address, offsets is "0x10,0x38,0x8": each offset is added before the next dereference and the last one selects the field. A broken hop is reported with its address instead of a plausible zero.

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": {
      "base": "<base>",
      "offsets": "<offsets>"
    },
    "name": "resolve_pointer_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNo
baseYes
offsetsYes
sessionNodefault
read_sizeNo
value_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 disclosure burden. It does add real behavioral value by promising per-hop reporting and by stating that a broken hop is reported with its address rather than a plausible zero — an important anti-hallucination guarantee. It says nothing about read-only safety, what happens when pid/session are omitted, or the effect of read_size and value_type.

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?

The definition is short and front-loads the observable outcome before the mechanics. The mid-sentence switch to inline code for base and offsets is slightly awkward but not wasteful; nearly every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter memory-resolution tool with an output schema (so return shape needn't be described), the text covers the core mechanics and failure semantics. The gaps are the four undocumented optional parameters and the absence of any read-only/permission note, which matter because there are no annotations.

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 description coverage is 0%, so the description must compensate. It explains the two required parameters well — base accepts 'game.exe+0x1a2b' or a raw address, offsets is a comma-separated string, and the dereference order is spelled out. Four optional parameters (pid, session, read_size, value_type) are left completely undefined in both schema and description.

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 opens with a concrete verb and resource: 'Walk a pointer path and report every hop plus the final value.' That is unambiguous about what the tool returns. It does not distinguish itself from plausible siblings such as 'walk', 'pointer_chain_replay' or 'pointer_scan', so an agent cannot rule those out from the text alone.

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 choose this tool over the pointer-related siblings, and no prerequisites or exclusions. The only usage hint is the inline format of base and offsets, which is parameter guidance rather than selection guidance.

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