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

debugbar_get_request

Retrieves detailed debugging data for a specific PHP or Laravel request by ID, including timing, memory, route, and query summaries, to diagnose performance and errors.

Instructions

Get detailed debugging information for a specific request by its ID. Shows timing, memory, route, queries summary, and more.

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

Input Schema

NameRequiredDescriptionDefault
idNoRequest ID. If omitted, uses the most recent captured request.
load_dataNoFetch full data from server if not already loaded. Default: true
full_reportNoInclude full report with queries, logs, timeline inline. Default: false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/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. It implies a read-only lookup through 'Get' and lists some returned data, but it does not state whether the tool has side effects, how large the report may be, or how full_report changes output size beyond what the schema already says.

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?

The description is two front-loaded sentences with no wasted preamble. The phrase 'and more' is slightly vague, but overall it is efficient and readable.

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?

The tool has three optional parameters, no annotations, and no output schema. The description gives a useful sketch of returned content, but it omits important context such as the default-to-most-recent behavior and what distinguishes the full_report output, leaving gaps for an agent deciding how to call it.

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 the baseline is 3. The description adds only that lookup is by ID, and does not clarify the optional ID fallback to the most recent request or what load_data and full_report mean in practice.

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 states a specific verb and resource: get detailed debugging information for a request ID. It lists representative contents (timing, memory, route, queries summary), which distinguishes it from facet-specific siblings like debugbar_get_queries or debugbar_get_logs, though it does not explicitly name those alternatives.

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 implied by the phrase 'for a specific request by its ID', but there is no explicit when-to-use guidance, no statement about when to choose this overview tool versus the many facet-specific siblings, and no exclusions or prerequisites.

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