Skip to main content
Glama
Secil Canary Historian MCP Server

Secil Canary Historian MCP Server

by eins53740

get_health

Retrieve server health status, circuit breaker states, cache health, and metrics summary to monitor availability and diagnose system degradation.

Instructions

Get MCP server health status including circuit breaker state.

Story 2.3: Advanced Error Handling & Retry Logic Exposes circuit breaker state and system health for monitoring.

Returns: dict[str, Any]: Dictionary containing health status with keys: - status: Overall health status ("healthy", "degraded", "unhealthy") - timestamp: Current timestamp - circuit_breakers: Dictionary of circuit breaker states - cache_health: Cache system health information - metrics_summary: Performance metrics summary

Example: json { "status": "healthy", "timestamp": "2025-11-01T10:00:00", "circuit_breakers": { "canary-api": { "state": "closed", "failure_count": 0, "state_changes": 2 } }, "cache_health": { "operational": true, "entry_count": 42, "hit_rate_percent": 75.5 } }

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

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does reasonably well: it enumerates the returned keys and the exact status vocabulary ('healthy', 'degraded', 'unhealthy'), so an agent knows how to interpret results. It does not explicitly confirm the operation is read-only and side-effect free, nor mention any auth or rate-limit characteristics, which keeps it 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, which is good, but the artifact line 'Story 2.3: Advanced Error Handling & Retry Logic' is internal project bookkeeping that adds no value to an agent. The full example JSON and return-key list are also largely redundant given a declared output schema, so the definition is longer than it needs to be.

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 health probe with an output schema present, the description supplies more than enough context; nothing needed to call it correctly is missing. Its shortfall is redundancy rather than absence, since the return-value documentation duplicates the output schema.

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 disambiguate and the baseline of 4 applies. The description invents no phantom inputs and correctly implies a parameterless call.

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?

The description opens with a specific verb and resource: 'Get MCP server health status including circuit breaker state,' which tells an agent exactly what is retrieved. It is clear but does not distinguish this from overlapping siblings such as mcp_status, get_server_info, or get_metrics_summary, so an agent cannot resolve the ambiguity from the text alone.

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 by the phrase 'for monitoring,' which suggests a diagnostic/observability context. There is no explicit statement of when to prefer this over get_metrics, get_cache_stats, or mcp_status, and no when-not-to-use guidance.

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