Skip to main content
Glama

doctor

Checks the health of dependencies such as Canvas tokens, browser, Ladok, database proxy, library, and timetable links, then shows human fixes. Run it when another tool fails; use the only filter to limit checks.

Instructions

Health check of every session the toolkit depends on (Canvas token and its expiry date, agent browser, Ladok, database proxy, library, timetable link). Each row has the fix, which is always a human action. Run it when another tool fails. only='canvas,ladok' limits the checks.

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
onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the output shape (one row per checked session, each row carrying a fix) and, importantly, that the fix is always a human action, pre-empting any attempt to auto-remediate. It stops short of stating explicitly that the tool is read-only, how long the checks take, or what auth it needs to reach each session.

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?

Four short sentences with the what front-loaded, followed by output shape, trigger condition and the parameter example. The parenthetical enumeration is dense but every item earns its place; little fat remains.

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 single optional-parameter tool with no output schema, the definition covers what is checked, what comes back per row, what the agent should do (nothing — fixes are human), and how to scope the checks. Only minor details, such as whether results are cached or how long a full sweep takes, are absent.

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?

Schema coverage is 0% and the schema is just an undescribed 'only' string, so the description must compensate — and it does, supplying a worked example ('only="canvas,ladok"'), the value format (comma-separated), and the semantics (limits which checks run). The first sentence also names the checkable targets, though it does not confirm the exact key spelling for every one of them.

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?

States a specific verb and resource ('health check of every session the toolkit depends on') and enumerates exactly what is checked (Canvas token and expiry, agent browser, Ladok, database proxy, library, timetable link). This is unmistakably a diagnostics tool, distinct from siblings like library, schedule or search, which are data-access tools.

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?

'Run it when another tool fails' gives a clear trigger condition, which is precisely the guidance an agent needs to route here instead of retrying a failing sibling. It does not state when not to run it (e.g. cost/latency, or that repeated polling is pointless), leaving a small gap.

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