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

debugbar_list_requests

Lists captured PHP and Laravel debugbar requests with method, URI, timing, query count, and log count to help diagnose performance issues and errors.

Instructions

List all captured PHP/Laravel debugbar requests, showing method, URI, timing, query count, and log count.

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

Input Schema

NameRequiredDescriptionDefault
maxNoMax number of requests to show. Default: 25
refreshNoFetch fresh data from the server before listing. Default: false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 behavioral burden, and it does disclose the shape of each listed record, which is genuinely useful. It leaves unstated whether the call reads from a cache or triggers a fetch, whether listing has side effects, and how volume is bounded beyond the 'max' default of 25.

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 front-loaded sentence with zero filler; the resource leads and the returned fields follow, which is exactly the ordering an agent needs for selection.

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 list tool with no output schema, the returned-field inventory largely covers what an agent needs to call it. The remaining gaps are routing (versus the refresh sibling) and behavior around cached versus fresh data, which are material for a debugbar inspection workflow.

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 description coverage is 100%, so both 'max' and 'refresh' are already documented with defaults in the schema. The description adds no extra meaning about either — not what 'refresh' costs, nor what happens if 'max' exceeds the captured count — so the baseline of 3 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?

A precise verb ('List') plus resource ('captured PHP/Laravel debugbar requests') and an explicit enumeration of the fields returned (method, URI, timing, query count, log count). The plural 'all' implicitly separates it from debugbar_get_request, but no sibling is named, so the differentiation is inferential rather than stated.

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?

The description never says when to call this versus alternatives, most notably debugbar_refresh_requests, which overlaps on the freshness concern handled here by the 'refresh' parameter. There are no prerequisites, no when-not-to-use conditions, and no indication of what an empty capture set yields.

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