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

debugbar_fetch_url

Sends an HTTP request to a PHP server endpoint and captures the DebugBar data from the response so you can test specific routes and inspect queries, logs, and errors.

Instructions

Make an HTTP request to the connected PHP server, capture the debugbar data from the response, and store it. Great for testing specific endpoints.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "debugbar_fetch_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (for POST/PUT/PATCH). JSON string.
pathYesURL path to request, e.g. /api/users or /admin/dashboard
methodNoHTTP method. Default: GET
headersNoAdditional request headers as key-value pairs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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: it does disclose that a real request is issued against the server, that debugbar data is extracted, and that results are stored, which is meaningful behavioral context. It does not warn that requests genuinely execute server-side (relevant for DELETE/POST/PUT side effects), nor does it mention authentication needs, what happens if no connection is active, or how stored data accumulates.

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?

Two sentences, front-loaded with the action and outcome, with no restated schema or filler. The trailing 'Great for testing specific endpoints' is slightly promotional in tone but still carries usage signal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter tool with no output schema and no annotations, the description covers what the tool does, what it produces internally (stored debugbar data), and a primary use case, which is enough to invoke it. Missing only the connection prerequisite and side-effect caveats, which are secondary but non-trivial gaps.

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% with all four parameters documented (path, method with enum, body, headers), so the schema already does the heavy lifting. The description adds no format or default guidance beyond it, making the baseline 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 uses a concrete verb chain — make an HTTP request to the connected PHP server, capture debugbar data from the response, store it — which clearly separates it from siblings like debugbar_get_request or debugbar_list_requests that read already-captured data. It never names an alternative explicitly, so differentiation is implied 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 Guidelines3/5

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

'Great for testing specific endpoints' hints at when to use it, but there is no statement of when not to use it, no mention of the prerequisite connection (debugbar_connect) that the word 'connected' presupposes, and no pointer to the sibling tools that read stored requests instead.

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