Skip to main content
Glama

detach

End debugging while allowing the PHP script to continue running normally, useful for resuming execution without debugger interference.

Instructions

Detach from the debug session and let the script continue running without debugging

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNoSession ID
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool detaches from the debug session and lets the script continue, implying it's a non-destructive operation that doesn't terminate the session entirely. However, it lacks details on permissions, side effects, or what happens to the session after detachment, leaving gaps for a mutation tool.

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 a single, efficient sentence that directly states the tool's function without unnecessary words. It is front-loaded with the core action and outcome, making it easy to understand quickly.

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?

Given the tool has 1 parameter with full schema coverage and no output schema, the description is minimal but covers the basic purpose. However, as a mutation tool with no annotations, it should provide more behavioral context (e.g., effects on the session, error conditions) to be fully complete for agent use.

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 input schema has 1 parameter with 100% description coverage ('session_id' is documented), so the baseline is 3. The description doesn't add specific parameter details beyond the schema, but it implies the tool operates on a debug session, which aligns with the parameter. Since there's only one parameter, the description adequately supports it without redundancy.

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 clearly states the action ('detach') and the resource ('debug session'), specifying that it allows the script to continue running without debugging. However, it doesn't explicitly differentiate from sibling tools like 'close_session' or 'stop', which might have overlapping purposes in ending debugging sessions.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as 'close_session' or 'stop', nor does it mention prerequisites like needing an active debug session. It only describes what the tool does, not when it should be applied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kpanuragh/xdebug-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server