Skip to main content
Glama
grandMA2 MCP
by drohi-r

detect_tracking_leaks

Identify attributes that unintentionally track into later cues by comparing adjacent cue pairs and flagging values that persist without an explicit Block.

Instructions

Find attributes unintentionally tracking into later cues (SAFE_READ).

Compares adjacent cue pairs to find values that persist without an
explicit Block. Tracking leaks cause unexpected looks in later cues.

Args:
    sequence_id: Sequence to analyze.
    max_cues: Max cues to compare (default 20).

Returns:
    str: JSON with leaks[], total_leaks, recommendation.

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": {
      "sequence_id": "<sequence_id>"
    },
    "name": "detect_tracking_leaks"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_cuesNo
sequence_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full behavioral burden. It does disclose that this is a SAFE_READ operation and describes the comparison method and effect of leaks, but it does not mention permissions, performance characteristics, truncation behavior for max_cues, or whether any state is changed.

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 description is front-loaded with purpose, then structured into Args and Returns sections. It is reasonably tight, though the sentence about tracking leaks causing unexpected looks slightly repeats the purpose already stated.

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

Completeness3/5

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

Given no annotations, zero schema description coverage, and an existing output schema, the description covers the core purpose, both parameters, and a return summary. However, it leaves behavioral and usage gaps that matter for an analysis tool, such as when to prefer it over sibling detection tools and what limits apply to max_cues.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 for both parameters. It documents sequence_id as the sequence to analyze and max_cues as the maximum cues to compare with a default of 20, giving useful semantics beyond the bare schema types.

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 states a specific verb and resource: it finds attributes unintentionally tracking into later cues, and clarifies that this means values persisting without an explicit Block. This is clear enough to distinguish from generic analysis tools, but it does not explicitly differentiate itself from sibling detect_* tools.

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?

The description explains what a tracking leak is but gives no explicit when-to-use guidance, prerequisites, or alternatives. An agent can infer that this tool is appropriate when investigating unexpected looks, but there is no stated condition or exclusion to guide tool selection.

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