Skip to main content
Glama

clear_server_requests

Clears stored outbound HTTP request data for all apps or one specified app, resetting the buffer for fresh traffic inspection.

Instructions

Clears the buffer (all apps or one).

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_server_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoApp name or inspector port

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • changedInput schema / properties / app / description
      Previous value: -"App name (from inspector_status) or inspector port. Omit to include all apps."New value: +"App name or inspector port"
  2. First observedv0.5.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Clears' signals destruction, but it never states that the buffered requests are permanently lost, whether this affects capture for running apps, or whether it can be undone.

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?

A single front-loaded clause with no filler. It is efficient, though the extreme brevity leaves the destructive implication undefined.

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 destructive, unannotated, single-parameter tool, the description should at minimum disclose irreversibility and impact on other apps. Its one short sentence leaves an agent unable to judge consequences before invoking it.

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 coverage is 100% and the schema documents 'app' as app name or inspector port. The description adds the non-obvious semantics of omission: leaving 'app' out clears all apps, which the schema does not state.

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?

'Clears the buffer' names a specific verb and resource, and '(all apps or one)' states the scope. It is distinguishable from the read-oriented siblings (list_server_requests, get_server_request) at a glance, though 'buffer' is left unexpanded.

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?

No guidance on when to clear versus when to inspect first, no prerequisites, and no warning about the circumstances in which clearing is inappropriate. The parenthetical only describes scope, not usage context.

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