Skip to main content
Glama

doctor

Read-onlyIdempotent

Diagnoses IAF Agent Bridge setup by reporting Node and bridge versions, Cursor CLI discovery, auth state without secrets, and optionally verifying an ACP handshake.

Instructions

Report Node, bridge version, Cursor CLI discovery, authentication state without secrets, and an optional ACP handshake.

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

Input Schema

NameRequiredDescriptionDefault
deepNoOpen a short ACP session to verify Cursor can start. This creates an empty Cursor session.
workspaceNoOptional project directory to validate and scan for project context files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful context beyond that by stating authentication state is reported 'without secrets' and that the tool can perform an optional ACP handshake, which clarifies scope and security expectations.

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 a single dense sentence that front-loads the reporting action and lists the diagnostic checks without filler. It is appropriately sized for a diagnostic tool, though the list-style structure is slightly compressed.

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 low-complexity diagnostic tool with two optional parameters and no output schema, the description supplies enough scope to understand what is checked. It clearly states that authentication state is reported without secrets, though it could say more about the return format or output shape.

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 the 'deep' and 'workspace' parameters are fully documented in the schema itself. The description's reference to an optional ACP handshake loosely maps to the 'deep' parameter but does not add meaningful syntax or behavioral detail beyond the schema.

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 states a specific reporting/diagnostic action and enumerates the resources inspected: Node, bridge version, Cursor CLI discovery, authentication state, and an optional ACP handshake. This makes the tool's purpose clear, though it does not explicitly distinguish itself from siblings such as cancel or delegate.

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 does not state when to use this tool, when not to use it, or which sibling to choose instead. The mention of an optional handshake hints at a deeper diagnostic mode but does not provide actionable usage guidance.

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

Deploy Server

Other Tools