Skip to main content
Glama

Check Environment

varity_doctor
Read-onlyIdempotent

Checks local development and deployment readiness, verifies Node.js/npm or a deploy key, and reports the key source so you catch missing prerequisites before deploying.

Instructions

Check local-development and deployment readiness independently. Node.js and npm qualify local JavaScript tools; a verified deploy key qualifies deployment, and the report names which source supplied the key. varitykit is needed only for varity_migrate. Run this before varity_deploy to catch missing prerequisites early.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv2.0.0-beta.24

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world and non-destructive, so the safety bar is low. The description adds real value beyond them: the two checks are independent, the criteria for each (Node.js/npm, verified deploy key), and that the report identifies the key's source.

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 scope statement is front-loaded, and subsequent sentences each add a distinct fact (qualifying criteria, the varitykit caveat, the sequencing advice). It is dense but every sentence earns its place; minor tightening is possible in the Node.js/npm sentence.

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 zero-parameter, read-only preflight tool with no output schema, the description covers what is checked, how readiness is determined, and when to run it. The only small gap is that the report's structure beyond the key-source line is left implicit.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. Schema coverage is 100% with additionalProperties false, leaving no hidden input surface.

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 a two-part resource: 'Check local-development and deployment readiness independently.' It also clarifies what counts as qualifying in each case (Node.js/npm vs. a verified deploy key) and names sibling tools (varity_migrate, varity_deploy) so the agent can place it in the workflow.

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 this before varity_deploy to catch missing prerequisites early' gives explicit sequencing guidance, and 'varitykit is needed only for varity_migrate' rules out an unnecessary assumption. There is no explicit when-not-to-use case, but the workflow routing is clear.

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