Skip to main content
Glama

Check adb and Xcode

doctor
Read-only

Reports which adb and Xcode tools Karagöz uses, their versions, and how to fix any that are missing, old, or broken.

Instructions

Report which adb and Xcode tools karagoz uses, their versions, and how to fix one that is missing, old or broken.

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 observed

TDQS

A4.2/5.0
Behavior4/5

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

Consistent with readOnlyHint=true and openWorldHint=false, so no contradiction. It adds genuine context beyond annotations: the tool reports tool presence, versions, and remediation advice for missing/old/broken tools. No rate-limit or auth details, but with annotations covering the safety profile this is reasonably transparent.

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 no filler; the resource, the returned information, and the remediation purpose are all stated efficiently.

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 no parameters, no output schema, and annotations covering the read-only/open-world profile, the description conveys enough to call it correctly. What it returns (versions and fix guidance) is outlined, though the return shape is unspecified, which is minor for a zero-param diagnostic.

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?

Zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies since no parameter semantics are required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb (Report) plus specific resources (adb and Xcode tools, their versions) and a remediation outcome. An agent can immediately recognize this as a diagnostic/preflight tool distinct from functional siblings like devices, install, or launch.

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?

The intent is implied as an environment health check, but the description never states when to call it (e.g., before install/launch) or when sibling tools are the right choice instead. No explicit alternatives or exclusions are given.

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