Skip to main content
Glama

glass_doctor

Diagnose GUI setup or launch failures with structured checks, remedies, and an overall verdict. Use deep mode to verify the default display starts and tears down.

Instructions

Diagnose setup or launch failures. Returns report text, structured sections/checks with optional remedy/remedy_action, and overall (the verdict to branch on). Check status is ok, warn, fail or skip; non-default backend failures only warn in overall. deep also starts and tears down the default display.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deepNoStart and tear down the default display to prove it starts (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.8.0
    • changedInput schema / properties / deep / description
      Previous value: -"Also spawn and tear down the default backend's headless display to verify it\nactually starts (slower). Default false."New value: +"Start and tear down the default display to prove it starts (default false)."
  2. Changed1 schema field changedv1.2.0
    • removedInput schema / title
      Removed value: -"DoctorArgs"
  3. First observedv1.0.1

TDQS

A3.9/5.0
Behavior4/5

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

The description discloses important behavior beyond the annotations: returns structured report sections and an overall verdict, reports statuses such as ok/warn/fail/skip, and warns that non-default backend failures only affect the overall verdict as warnings. It also explicitly notes that deep starts and tears down the default display, which is a useful side-effect disclosure.

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?

The description is compact and information-dense: three sentences cover purpose, return shape, statuses, backend-failure nuance, and the deep flag's side effect. It is appropriately sized for the tool's behavior, though the output-structure explanation could be slightly more organized.

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?

With only one parameter and no output schema, the description covers the important return fields, overall verdict, status values, and deep behavior. It also gives enough context for branching on 'overall.' It does not explain the exact values of 'overall' or when 'deep' should be used, but these are minor 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?

The schema already fully describes the single 'deep' parameter with 100% coverage. The description adds only the phrase 'deep also starts and tears down the default display,' which largely mirrors the schema's own description, so the parameter semantics do not get much additional value from the description.

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 specific verb and resource: 'Diagnose setup or launch failures' and explains the return format. It is clear, but it does not explicitly distinguish this tool from diagnostic-looking siblings such as glass_logs or glass_capabilities.

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?

The description gives clear context for when to use the tool: when diagnosing setup or launch failures. It does not mention alternatives or exclusion criteria, but it does explain the optional 'deep' mode and its effect, giving the agent enough context to decide.

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