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

debugbar_watch_and_debug

Continuously monitor incoming PHP DebugBar requests, automatically analyze each capture, and stream a live debug dashboard in MCP output for Cursor Simple Browser.

Instructions

Start continuous monitoring: poll for new requests AND automatically analyze each one. Shows a live debug dashboard in the MCP output. Best used with Cursor Simple Browser.

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

Input Schema

NameRequiredDescriptionDefault
alert_onNoWhen to show analysis results. Default: warning
interval_msNoPoll interval in ms. Default: 3000
max_capturesNoStop after capturing this many new requests. Default: unlimited (0)

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?

With no annotations, the description carries the full burden and does disclose that this is a continuous loop that auto-analyzes and renders a live dashboard in the MCP output. It omits operationally important behavior: whether the call blocks/streams indefinitely, how a running monitor is stopped, and what the agent receives as output.

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?

Three short sentences, front-loaded with the core action, and no filler. The Cursor Simple Browser note is a small but relevant client hint 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-annotation, long-running tool with three documented parameters and no output schema, the description covers the gist but not the lifecycle: termination behavior, whether output is a one-time snapshot or stream, and how it interacts with the related polling/analysis tools are unstated.

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 alert_on, interval_ms, and max_captures are already documented with defaults in the schema. The description adds no meaning beyond that, which meets the baseline for a fully documented schema.

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 leads with a specific verb and composite action: start continuous monitoring that polls for new requests AND automatically analyzes each one. That combination distinguishes it from a plain polling or plain analysis tool, though no sibling is named explicitly, so an agent must infer the boundary with names like debugbar_start_polling.

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 'continuous monitoring' and by the recommendation to pair it with Cursor Simple Browser, which tells the agent this is a live-dashboard workflow. There is no explicit statement of when to prefer it over one-shot polling or analysis siblings, and no guidance on when not to use it.

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