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

debugbar_disconnect

Disconnect from the PHP server and stop Chrome monitoring to end a DebugBar inspection session.

Instructions

Disconnect from the PHP server and stop Chrome monitoring.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 burden, and it does add value by disclosing a second side effect beyond the name: Chrome monitoring is also stopped. It does not say whether session state, collected request data, or the Chrome tab connection are preserved or destroyed, nor whether the call fails if no session is active.

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?

A single short sentence with no filler, and the primary action is front-loaded before the secondary effect. Nothing is redundant, though the phrasing 'PHP server' is slightly imprecise about what exactly the connection is to.

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 parameterless, terminal teardown tool this covers enough: it names both effects an agent needs to know about. The only meaningful gap is the outcome of calling it out of order, which matters slightly for an untracked session state.

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 zero parameters, which is the baseline-4 case; there is nothing for the description to elaborate on in terms of argument meaning. The lack of parameters is consistent with the described behavior.

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?

States a specific verb and action pair ('Disconnect from the PHP server', 'stop Chrome monitoring'), which clearly separates it from the connect/session-start siblings. It does not name an explicit alternative, but the operation is unambiguous on its own.

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 only implied: an agent can infer this is the teardown counterpart to debugbar_connect and debugbar_start_chrome_monitor. There is no explicit statement of when to call it (e.g., at end of a debugging session) or whether calling it when not connected is harmful.

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