Skip to main content
Glama

java_status

Checks the health of the Java Spring MCP server by probing its search index, local cache, and upstream Java/Spring/Maven endpoints, returning overall status and diagnostics.

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 docs.oracle.com, docs.spring.io and search.maven.org with a light GET (10s timeout each). Never raises; returns {"server", "version", "checks": {...}, "overall": "ok"|"degraded"|"error"} where overall is "error" when the search index is unavailable, "degraded" when any check fails, and "ok" otherwise.

Also returns a top-level politeness block with the politeness layer's counters: robots cache rows/fetches/hits, requests blocked by robots.txt, throttle waits and per-host delays, conditional GETs / 304 revalidations, 429 / transport retries, stalls, request budgets and whether the layer is disabled (JAVA_SPRING_MCP_POLITENESS_DISABLED). It sits outside checks on purpose: it is diagnostics and must never change overall.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so richly: it discloses the 10s per-host GET timeout, that it never raises, the exact mapping of overall values (error when the search index is unavailable, degraded on any check failure, ok otherwise), the env var that disables the politeness layer, and the deliberate decision that a read-only cache stays 'ok'. This is exactly the kind of non-obvious behavior an agent cannot get from a zero-parameter schema.

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 the one-line purpose, then logically grouped paragraphs for the cache edge case, the probe/return contract, and the politeness block. It is longer than most zero-param definitions, but nearly every sentence carries operational detail that has nowhere else to live given the absent output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description fully specifies the return shape (server, version, checks, overall) plus the top-level politeness counters and the environment flag. An agent has everything needed to call the tool and interpret the result.

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 to document and the baseline of 4 applies. The description correctly spends no effort on parameter syntax and instead describes the return payload and semantics.

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+resource: 'Real health check: search index, local cache and upstream endpoints.' The word 'Real' hints at contrast with the sibling health_check, and the enumerated components make the scope concrete. It stops short of explicitly routing the agent to or away from health_check, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use, when-not-to-use, or alternative guidance is given, despite a sibling named health_check that an agent must distinguish this from. The 'Real health check' phrasing and the 'never raises' note imply it is a safe diagnostic call, but the agent is left to infer the selection rule.

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