Skip to main content
Glama

health_check_providers

Test real connectivity and authentication for all or selected LLM providers by sending lightweight parallel requests. Results are cached per session; use force to re-test cached providers.

Instructions

Test real connectivity and authentication for all (or specified) providers.

Runs a lightweight real request to each provider in parallel. Results are cached for this session; pass force=True to re-test cached providers.

Args: providers: List of provider names to test, or None to test all. force: Re-test even if cached results exist for this session.

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

Input Schema

NameRequiredDescriptionDefault
forceNo
providersNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full load; it does disclose meaningful behavior — lightweight real requests issued in parallel, session-scoped caching, and force to bypass the cache. It says nothing about failure modes, latency, rate limiting, or whether requests themselves mutate anything, which matters for a tool that hits live endpoints.

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 summary is front-loaded in one sentence, followed by the cache behavior and a compact Args block. No sentence is redundant and the reader gets the core fact before the details.

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?

With an output schema present, return values need not be described, and both parameters plus cache behavior are covered. The main residual gap is any statement about side effects or failure handling when live network requests are made, though the description is otherwise adequate for a two-parameter tester.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it does: providers is documented as a list of provider names with None meaning test all, and force is documented as re-testing cached providers this session. Both parameters gain semantics beyond the bare types and defaults in the schema.

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 opens with a specific verb and resource: "Test real connectivity and authentication ... for all (or specified) providers." The emphasis on a real request makes it distinguishable from a passive listing tool such as list_available_providers, so an agent can pick it without opening a schema.

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?

Usage context is clear: run this to verify connectivity and authentication, and it covers which providers to target (all vs. a subset). The caching/force rule tells the agent when a re-test is needed, but no sibling alternative (e.g., listing providers first) is named.

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