Skip to main content
Glama

get_health

Check server and storage health by verifying the project root, .brain directory, and readable memory (DB or file), plus Context7 reachability when an API key is set.

Instructions

Check server and storage health: project root, .brain directory, memory (DB or file) readable. Optionally checks Context7 reachability when CONTEXT7_API_KEY is set.

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

Input Schema

NameRequiredDescriptionDefault
checkDocsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It lists the checks and notes a conditional extra check gated on CONTEXT7_API_KEY, which is genuinely useful, but says nothing about side effects, failure semantics (throw vs. report), or whether output is per-check status or a single pass/fail.

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?

Two sentences, zero filler, with the core checks front-loaded and the conditional Context7 behavior clearly qualified. Nothing needs trimming.

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

Completeness3/5

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

For a simple diagnostic tool with no output schema, the description should at least hint at result shape or whether failures are raised or returned — for a health check that distinction drives how an agent reacts. The undocumented optional parameter adds to the gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter 'checkDocs' has 0% schema description coverage and is never mentioned or explained in the description. Its likely relationship to the Context7/docs check is left to inference, so the description does not compensate for the schema gap.

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 and resource ('Check server and storage health') and enumerates exactly what is verified: project root, .brain directory, and memory backend readability. No sibling tool performs diagnostics, so confusion risk is low, though it never explicitly contrasts itself with the memory_* tools that also touch the DB.

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 only implied: an agent can infer this is a pre-flight/setup verification tool. There is no statement of when to call it versus alternatives (e.g. memory_retrieve to test DB access) and no guidance on what to do with a failing result.

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