Skip to main content
Glama
privacyscrubber-mcp

privacyscrubber-mcp

guard_session_reset

DestructiveIdempotent

Purges the in-memory token map for a specific session ID or all active agent sessions after task completion, clearing session state to limit residual data exposure.

Instructions

Zero-Trust Agentic Guard: Explicitly purges the in-memory token map for a specific session_id or all sessions upon agent task completion.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "guard_session_reset"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoWhether to purge ALL active agent sessions in memory. Defaults to false.
session_idNoThe session ID to purge. Defaults to 'default'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.3

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=true, so the description only needs to add context. It does: it names exactly what is destroyed (the in-memory token map) and when (task completion), which is the kind of operational detail annotations cannot express. It stops short of stating the consequence of purging, e.g. that the session must re-authenticate or that later calls will fail.

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?

One sentence with no redundancy, front-loading the component name and the destructive action before the scope and timing qualifiers. Nothing here is filler.

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?

For a two-optional-parameter destructive tool with rich annotations and no output schema, this covers what is destroyed and when, which is the core need. It is still missing the post-purge consequences and the `all` versus `session_id` interaction, which matter for a destructive reset.

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?

Schema coverage is 100%, so both parameters are already documented with defaults in the schema; the baseline is 3. The description reinforces that session_id targets one session while `all` targets every session, but it does not resolve precedence when both are supplied.

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 ('purges') and a specific resource ('the in-memory token map'), scoped to either a specific session_id or all sessions. This is clearly distinct from the sibling set, which otherwise reads, executes, or patches; however, it never names an alternative, so the agent must infer the boundary from the verb alone.

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 'upon agent task completion' gives a genuine timing cue for when to call it, which is more than most definitions offer. But there is no when-not guidance and no mention of siblings like guard_session_info, and no guidance on choosing between `all` and `session_id`.

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