Skip to main content
Glama

globals_touched

Lists module globals read or written by a function via RIP-relative references, so you can map the target function's memory dependencies.

Instructions

Module globals (RIP-relative references) read or written by a function.

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": "globals_touched"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaYes
keyYes
limitNo
sessionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/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 disclosure burden, and it says nothing about whether the operation is read-only, whether it requires an active session or loaded module, or how results are bounded. The parenthetical about RIP-relative references is a small piece of extra context, but mutation risk, truncation behavior implied by 'limit', and session requirements remain undisclosed.

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 short sentence with no wasted words, but that brevity comes at the cost of under-specification rather than being tightly structured information. There is no front-loaded verb or lead-in telling the agent what the call actually does.

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 four-parameter tool with no annotations the description is far too thin. The agent cannot tell from this how to supply 'key' versus 'va', what 'session' means, or what a normal call sequence looks like.

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% across four parameters, and the description explains none of them. 'key', 'va', 'limit', and 'session' are entirely undefined — the description does not say that 'va' is the function address or that 'limit' caps the number of globals returned, so it fails to compensate for the coverage gap.

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 phrase 'Module globals (RIP-relative references) read or written by a function' identifies the resource being reported and adds useful technical framing about RIP-relative references. However, it contains no verb describing the operation (list, retrieve, count) and gives no hint of how it differs from siblings such as 'read', 'address_info', or 'basic_blocks', so the agent must infer that it returns a collection.

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 when-to-use guidance, no stated prerequisite (e.g. that a function must be identified by key/va first), and no alternatives named. The agent is left to guess the context in which this tool is appropriate rather than a sibling like 'annotations' or 'basic_blocks'.

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