Skip to main content
Glama

pcode.varnode_uses

Find p-code reads and writes that match a selected varnode to trace how a variable is used within a function.

Instructions

Find p-code reads and writes that match a selected varnode.

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>",
      "function_start": "<function_start>"
    },
    "name": "pcode.varnode_uses"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNo
spaceNo
addressNo
varnodeNo
session_idYes
timeout_secsNo
function_startYes

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?

No annotations are supplied, so the description carries the full behavioral burden and does very little with it. It implies a read-only search but never states that explicitly, nor does it describe output shape, whether results span just the one function or the whole session, or how size/space/address interact with varnode.

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 or redundancy. Brevity is not the problem here; the issue is that too little was said, which is penalized elsewhere.

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?

With 7 parameters, no annotations, and no output schema, the definition needs substantially more context than one sentence. An agent cannot reliably know how to supply the varnode coordinates or interpret the results from this definition alone.

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?

All 7 parameters have 0% schema description coverage, and the description only implicitly points at the 'varnode' parameter via 'selected varnode'. Required parameters (session_id, function_start), the alternative address/size/space identification route, and timeout_secs are left completely unexplained, so the description 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.

Purpose4/5

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

States a specific verb ('Find') and a specific resource ('p-code reads and writes that match a selected varnode'), so the operation is understandable at a glance. It does not differentiate itself from sibling p-code tools such as search.pcode or pcode.op.at, leaving the agent to infer the boundary.

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 guidance on when to use this tool versus alternatives, no stated prerequisites (e.g., that a varnode is typically obtained from a decompiler view), and no exclusions. The agent must infer usage entirely from the name and one-line purpose.

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