Skip to main content
Glama
mcccsm
by mcccsm

check_health

Check live health status of x402 services. Get a directory-wide snapshot with online/degraded/offline counts, or a detailed single-service report including uptime, response time, and failures.

Instructions

Check live health of x402 services. With no slug, returns a directory-wide snapshot (counts of online/degraded/offline/unknown plus per-service status). With a slug, returns that service's status, uptime windows, response time, consecutive failures, and recent daily uptime snapshots. No money fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNoService slug for a single-service health report. Omit for the whole directory.
uptime_periodNoDaily uptime snapshot window for single-service mode.30d
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses return content for both modes (status, uptime windows, response time, consecutive failures, daily snapshots) and adds the notable caveat 'No money fields.' This provides solid behavioral transparency, though it does not mention error handling or side effects.

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?

The description is concise, with three sentences that front-load the purpose, clearly enumerate mode-specific outputs, and include a relevant caveat. Every sentence contributes information without redundancy.

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?

Given the tool's moderate complexity (two optional parameters, two modes, no output schema), the description comprehensively covers what is returned in each mode. It is self-contained for an agent to understand expected results and use the tool correctly.

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

Parameters3/5

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

The schema descriptions already cover both parameters fully (100% coverage). The description reinforces that 'slug' toggles modes and that 'uptime_period' applies to single-service daily snapshots, but it does not add meaning beyond what the schema already states, so a baseline score of 3 is appropriate.

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?

The description clearly states the tool checks live health of x402 services, and distinguishes two modes: directory-wide snapshot without slug, and per-service report with slug. This specific verb+resource combination effectively differentiates from siblings like search_x402_services and get_service.

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?

The description implies when to use each mode (no slug for snapshot, with slug for detailed report) but does not explicitly mention alternatives or exclusion criteria. However, the context of health checking is clear enough that an agent can decide when to invoke this vs. other sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcccsm/x402-list-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server