Skip to main content
Glama

scan_next

Narrow a prior memory scan to addresses that still contain or no longer contain a specified value, with optional changed-state filtering.

Instructions

Narrow a previous scan to addresses still holding (or no longer holding) a value.

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>"
    },
    "name": "scan_next"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
valueNo
changedNo
sessionNodefault

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description must carry the behavioral burden. It discloses the filtering behavior (still or no longer holding a value) but says nothing about scanner state or session handling, what the required key identifies, whether prior results are replaced or a new set is returned, or any side effects.

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?

One front-loaded sentence with no wasted words. It is terse but clear; the terseness is better assessed under contextual completeness than as a verbosity problem.

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 four-parameter refinement tool with no annotations and no schema descriptions, the definition is too thin. An output schema exists so return values need not be explained, but key and session semantics and the effect on prior scan state are missing.

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 coverage is 0% for four parameters. The description only vaguely maps to value and changed via 'still holding (or no longer holding) a value', while the required key and the session parameter are left completely unexplained.

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 action (narrow a previous scan) and the criterion (addresses still or no longer holding a value), making the refinement purpose clear. It does not explicitly contrast with sibling scans such as scan_value or scan_results, so sibling differentiation is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'narrow a previous scan' implies this is a follow-up step after an initial scan, giving some when-to-use context. It does not name alternatives or state when not to use it, leaving the agent to infer the relationship with scan_value and scan_results.

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