Skip to main content
Glama

doctor

Verifies Android runtime readiness by checking adb backend, server reachability, device authorization, and key device tools; run it first when commands fail.

Instructions

Check the runtime environment: adb backend, server reachability, device authorisation, key tools on the device. Run this first when anything fails.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/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 behavioral burden. It discloses the scope of the checks, which implies a diagnostic, non-mutating read, but it never states whether the tool changes any state, whether it is safe to call repeatedly, or what a result looks like. The enumeration is useful context, but key behavioral traits remain implicit.

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?

Two short sentences, with no filler. The scope of the check is front-loaded and the usage trigger follows, so the agent gets purpose before procedure.

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 diagnostic with no annotations or output schema, the enumerated checks convey enough about what the tool inspects and implies the shape of the report (per-check status). The only gap is whether the output is pass/fail per check or free-form text, which matters when interpreting failures.

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 tool takes zero parameters, so there is no parameter semantics to add and the baseline does not apply in the usual way. The description adds nothing about inputs because there are none; this dimension is effectively neutral for this definition.

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 ('check') and resource ('the runtime environment'), and enumerates the concrete sub-checks: adb backend, server reachability, device authorisation, and on-device tools. That is far more informative than a tautology, though it never distinguishes itself from the sibling device_info, which an agent could reasonably pick instead.

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?

Gives an explicit trigger condition: 'Run this first when anything fails.' That is clear when-to-use guidance. It stops short of a full 5 because it names no alternatives or exclusions, so it does not help the agent decide between this and device_info or net_info when both look applicable.

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