Skip to main content
Glama

privacy_check_trace

Read-only

Score an agent run for privacy leakage across tool calls, responses, shared memory, inter-agent messages, logs, generated files, and the final answer to detect data escaping unmonitored channels.

Instructions

Score one agent run for privacy leakage across tool calls, tool responses, shared memory, inter-agent messages, logs, generated files and the final answer. Use when you have captured a run and want to know whether data escaped on a channel nobody reads.

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": {
      "trace": "<trace>"
    },
    "name": "privacy_check_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
traceYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.17.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description adds the analysis surface (which channels are inspected) but says nothing about cost, determinism, or what a 'score' means qualitatively — and since an output schema exists, the missing return detail is forgivable. Modest added value beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both earning their place: the first front-loads what is measured and over which channels, the second states the triggering situation. No filler, no restatement of the tool name.

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?

With an output schema present, return values need no explanation, and the description covers purpose, trigger, and channel coverage. The remaining gap is the structure of the single opaque `trace` argument, which is the one thing an agent must get right to call it and is left entirely to an untyped object.

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?

There is one parameter `trace` with 0% schema description coverage, typed only as an open object with additionalProperties. The description partially compensates by enumerating what a run contains (tool calls, responses, memory, messages, logs, files, final answer), which hints at the trace's expected shape, but gives no encoding, required subfields, or example.

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 verb and resource are specific — 'Score one agent run for privacy leakage' — and the enumerated channels (tool calls, responses, shared memory, inter-agent messages, logs, files, final answer) make the scope concrete. It stops short of naming a sibling (e.g., privacy_scan_code or privacy_preflight) to draw the boundary explicitly, so a 4 rather than a 5.

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

Usage Guidelines4/5

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

'Use when you have captured a run' states the precondition (a trace already exists rather than being captured here) and the goal ('know whether data escaped'). No explicit exclusions or named alternatives, which is the only thing separating it from a 5.

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