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

debugbar_start_polling

Start polling the PHP DebugBar open handler to capture new requests automatically when Chrome CDP is unavailable. Use this to keep receiving request data in Cursor Simple Browser mode.

Instructions

Start polling the PHP DebugBar open handler for new requests. Use this when Chrome CDP is not available (e.g. Cursor Simple Browser mode). Every new request is captured automatically.

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

Input Schema

NameRequiredDescriptionDefault
interval_msNoPolling interval in milliseconds. Default: 2000 (2 seconds)
auto_analyzeNoAutomatically analyze each new request and log issues. Default: true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses that every new request is captured automatically, but omits important lifecycle details such as whether polling runs in the background, whether repeated starts create multiple pollers, how to stop it, and whether auto_analyze has side effects.

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?

The description is three short sentences and is front-loaded with the action and purpose. Every sentence contributes either the core operation or the selection context, with no wasted wording.

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 stateful start-polling operation with no annotations and no output schema, the description is adequate but incomplete. It explains the purpose and usage context, but does not cover stop behavior, idempotency, or interaction with the polling lifecycle.

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 interval_ms and auto_analyze are already documented in the input schema. The description adds no parameter-specific meaning beyond what the schema provides, making the baseline score of 3 appropriate.

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: start polling the PHP DebugBar open handler for new requests. It also gives a context that distinguishes it from Chrome-based monitoring, though it does not explicitly name the sibling alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives a clear when-to-use condition: when Chrome CDP is not available, with Cursor Simple Browser mode as an example. It does not state explicit exclusions or name the alternative tool, but the context is sufficient to select it in the intended scenario.

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