Skip to main content
Glama
mcp-php-debugbar
by movinginfo

debugbar_clear

Clears all locally cached PHP Debugbar requests from memory, resetting inspection data so AI assistants can start a fresh debugging session.

Instructions

Clear all locally cached debugbar requests from memory.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and it does disclose the destructible scope: all locally cached debugbar requests, in memory only. It does not say whether the clear is reversible, whether server-side data survives, whether an active connection is required, or what (if anything) is returned, which are the questions an agent most needs answered for a destructive operation.

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?

A single front-loaded sentence with no filler; the scope words ('all', 'locally cached', 'from memory') do real work rather than padding.

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 zero-parameter, annotation-free tool with no output schema, the description covers what is removed but not the resulting state, reversibility, connection prerequisites, or return value. It is workable but leaves an agent guessing about the consequences of calling 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?

The tool takes zero parameters, so there is no parameter meaning to convey and the definition cannot be faulted for omission. Baseline of 4 applies.

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 gives a specific verb plus resource ('Clear all locally cached debugbar requests') and adds a scope qualifier ('from memory') that separates it from read siblings such as debugbar_get_cache and debugbar_list_requests. It does not name or contrast an alternative explicitly, so it stops short of 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 Guidelines3/5

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

Usage is only implied: an agent can infer this is for wiping the local request cache, likely to free memory or reset state. There is no explicit when-to-use, when-not-to-use, or named alternative, and no note on whether it should be run before re-fetching requests.

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