Skip to main content
Glama

agent_health

Check whether a specific fleet agent is healthy by retrieving its gateway /health JSON, so you can verify agent status before prompting or troubleshooting.

Instructions

Check whether a specific fleet agent is healthy. Returns the agent gateway's /health JSON.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "agent_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations, so the description carries the entire burden. It usefully discloses the underlying mechanism (the agent gateway's /health endpoint) which implies a read-only network probe, but says nothing about behavior on an unknown agent name, timeouts, failure modes, or whether the probe has side effects. For a tool with zero annotation coverage this is a substantial gap.

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?

Two short sentences with the purpose front-loaded and the return value second — no filler. Slightly terse to a fault, since the space saved came at the cost of parameter and failure-mode detail.

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 one-parameter, no-output-schema tool the description covers what it does and roughly what it returns (raw /health JSON). It does not cover how the name is sourced or what an unhealthy/error response looks like, which matters given how sparse the schema is.

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?

Schema coverage is 0%, so the description must explain the single required parameter. It only implies that 'name' identifies the target agent; it does not say whether this is a display name, an ID, where to obtain it (e.g., from list_agents), or whether it is case-sensitive. With one undocumented parameter the schema and description together leave ambiguity.

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 whether a specific fleet agent is healthy." That is clearly distinct from the invoke_* and list_* siblings. It stops short of naming where a healthy/failing agent fits relative to those siblings, but the operation itself is unambiguous.

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 that health should be checked before invoking an agent, and that list_agents might supply the name. There is no explicit when-not-to-use guidance and no note on how to handle an unknown or unreachable agent.

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