Skip to main content
Glama

js_status

Checks the search index, local cache, and upstream MDN, TypeScript, and npm endpoints, returning an overall status of ok, degraded, or error.

Instructions

Real health check: search index, local cache and upstream endpoints.

The cache check gains read_only: true plus read_only_reason when the database cannot be written (P5). It stays an "ok" check on purpose: a cache that only reads is a degraded optimisation, not a sick server, so overall does not change.

Probes developer.mozilla.org, typescriptlang.org and registry.npmjs.org with a light GET (8s timeout each, through the politeness layer — no curl subprocess). Never raises; returns {"server", "version", "checks": {...}, "politeness": {...}, "overall": "ok"|"degraded"|"error"} where overall is "error" when the search index is unavailable, "degraded" when any check fails, and "ok" otherwise. The "politeness" block holds the layer's counters (robots cache state, throttle delays, budget use, conditional-GET hits) and is not a check: it never changes "overall".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the 8s per-probe timeout, that probes go through a politeness layer rather than a curl subprocess, and that the tool never raises. It also explains the deliberate degraded-but-ok semantics for a read-only cache. Auth requirements and any rate/budget limits are not stated, keeping this short of a 5.

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?

Front-loaded with a one-line summary followed by rationale and return semantics, so an agent can stop reading early. It is somewhat longer than necessary for a zero-parameter tool, with RST-style backtick markup and an internal 'P5' reference that adds noise rather than meaning.

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?

No output schema exists, so the description correctly absorbs the return-value burden, enumerating the response keys and the precise conditions for overall=ok/degraded/error, and clarifying that the politeness block never affects overall. It is essentially complete for a 0-param tool, missing only sibling-routing context.

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 zero parameters, so there is nothing for the description to disambiguate; the schema is complete by default. Baseline 4 applies.

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 concrete verb and resource set: a health check spanning the search index, local cache, and three named upstream endpoints. It is clear what the tool does, though it never explicitly distinguishes itself from the sibling health_check, which an agent could reasonably confuse it with.

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?

Usage is implied (diagnostic/status reporting) rather than stated. There is no when-to-use guidance, no exclusions, and no routing advice against the sibling health_check, which is the most likely alternative an agent would consider.

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