Skip to main content
Glama

Check surface health

cmux_surface_health

Lists health details for surfaces in a workspace, including stuck or unresponsive terminals, to help identify and troubleshoot problematic panes.

Instructions

List health details (e.g. stuck/unresponsive terminals) for surfaces in a workspace.

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": "cmux_surface_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
windowNoWindow ref like "window:1". Defaults to the caller's window.
workspaceNoWorkspace ref like "workspace:26". Defaults to the caller's workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.13

TDQS

A3.5/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. 'List' implies a non-mutating read and the parenthetical hints at what the output reports, but there is no statement on permissions, whether the check is expensive/slow, or what the health payload looks like.

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?

A single front-loaded sentence with the resource named first and the illustrative example in a parenthetical that earns its place. No redundant or filler wording.

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?

Both parameters are optional and defaults are covered by the schema, so the surface area is small. However, with no annotations and no output schema, the definition could say more about the shape of a 'health detail' (statuses, per-surface granularity) for an agent to interpret results confidently.

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%, so both 'window' and 'workspace' already document their ref format and caller-default behavior. The description only reinforces the workspace scoping and says nothing about the window parameter, so it adds no meaning beyond the schema — baseline 3.

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 ('List health details ... for surfaces in a workspace') and clarifies the resource with an example ('stuck/unresponsive terminals'). It does not explicitly distinguish itself from look-alike siblings such as cmux_list or cmux_list_panels, so it stops short of a 5.

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: 'health details (e.g. stuck/unresponsive terminals)' signals a diagnostic check, which suggests when to reach for it. There is no explicit when-to-use, when-not-to-use, or named alternative among the many siblings, leaving the agent to infer the trigger conditions.

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