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

debugbar_preview_modes

Lists available Cursor + PHP DebugBar preview modes with pros and cons for each, helping you choose the right approach for your integration setup.

Instructions

Show all available preview modes for Cursor + PHP DebugBar integration, with pros/cons for each approach.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. "Show" implies a read-only listing and the pros/cons mention tells the agent what kind of content to expect, but it never explicitly confirms the call is side-effect free or whether it changes any integration state.

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 the resource first and the value-add (pros/cons) second. No filler, no restatement of the tool name.

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 trivial zero-argument discovery tool with no output schema, the description covers what the agent gets back and its form. The one gap is not telling the agent what to do with the modes afterwards, presumably passing one to debugbar_open_preview.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters and the schema is an empty object, so there is nothing for the description to disambiguate. Baseline 4 applies for a zero-parameter tool.

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?

"Show all available preview modes" gives a concrete verb and resource, and adds that the output includes pros/cons per approach. It does not distinguish itself from the sibling debugbar_open_preview, so an agent must infer the relationship between listing modes and opening a preview.

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?

The description implies an informational/discovery call, which fits a zero-parameter tool, but it never states when to call this instead of debugbar_open_preview or that the returned mode names are meant to be fed into that sibling. Usage is inferable rather than stated.

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