Skip to main content
Glama

clear_traffic

Destructive

Permanently deletes stored HTTP captures; preview the deletion scope first, then confirm the same scope to remove them.

Instructions

Permanently delete stored captures. First preview the deletion scope and ask the user to approve it. Set confirm to true with the same scope to delete.

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": "clear_traffic"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
older_than_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description adds real value on top: deletion is permanent, and it must be gated behind a user-approved preview and a matching scope. It leaves one meaningful behavior undisclosed — what actually happens when confirm is false or omitted (no-op, dry-run listing, or error).

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?

Three short sentences, front-loaded with the irreversible consequence followed by the required procedure. No filler and no repetition of schema or annotation content beyond what is needed for the workflow.

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?

No output schema and no annotation help for the operational detail, but the description covers the confirmation protocol that matters most for a destructive tool. It is still incomplete on the default deletion scope when older_than_minutes is omitted, which is exactly the ambiguity an agent must not guess at.

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%, so the description must carry both parameters. It explains confirm reasonably (set true with the same scope), but older_than_minutes — which defines the deletion scope — is never mentioned, and there is no hint what scope applies when it is omitted. For a destructive tool that is a significant unexplained parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

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

The first sentence names a specific verb and resource ('Permanently delete stored captures') and makes the destructive, irreversible nature unmistakable. That alone separates it from every listed sibling, which are read/inspect or replay operations.

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?

It prescribes a clear two-step procedure: preview the deletion scope, get user approval, then re-invoke with confirm=true and the identical scope. It does not say how to obtain the preview (whether by calling this tool with confirm=false or by using list_requests), and it names no alternatives, so the guidance is strong but not fully self-contained.

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