Skip to main content
Glama

Worker Status

worker_status
Read-onlyIdempotent

Check AI worker backend health by probing provider reachability, configuration, model list, and usage—so a configured-but-unresponsive provider is visible.

Instructions

Show worker health: configuration, reachability, model, and usage.

HIVE-384 reshaped this tool, and the reshape is the point rather than a side effect. The old output led with a dollar budget and reported two providers by configuration: it said "Ollama: offline / OpenRouter: no API key" for an unknown length of time while every caller treated the worker as a working capability. A status surface that cannot distinguish "configured" from "answers" is how a dead backend stays invisible.

So reachability is probed, not inferred, and reported separately from configuration. The dollar figures are gone: on a flat subscription they would read zero forever, and a gauge that always says the same thing looks like a working gauge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_modelsNoProbe the provider for its model list. Default True. Set False to report configuration without a network call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.0.0
    • changedInput schema / properties / include_models / description
      Previous value: -"Include available model list from all providers. Default True."New value: +"Probe the provider for its model list. Default True.\nSet False to report configuration without a network call."
  2. Addedv1.21.0
  3. Removedv1.13.0
  4. First observedv1.11.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare read-only and idempotent, and the description adds material behavioral context: reachability is probed, not inferred; configuration and reachability are reported separately; and dollar-budget fields were removed as misleading. This tells an agent not to treat 'configured' as 'answering' and explains why no budget gauge appears. No contradiction with annotations.

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 opening sentence is crisp and front-loaded. However, most of the text is a historical rationale about HIVE-384 and the old dollar budget; it supports understanding but is longer than needed for a one-parameter status tool.

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?

For a read-only, idempotent tool with one optional parameter and an output schema, the description is sufficient: it states what is shown, clarifies the key semantic guarantee of probed reachability, and the schema covers parameter details and return shape. An agent has what it needs to invoke 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 single parameter include_models is fully documented in the input schema (100% coverage), including its default and effect of avoiding a network call when false. The description itself adds no parameter-specific meaning, so the schema carries the burden. Baseline 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 first sentence names a specific verb ('Show') and resource ('worker health') and enumerates the four aspects reported: configuration, reachability, model, and usage. The 'worker' framing clearly separates it from the vault_* siblings, including vault_health, so there is no ambiguity about what it targets.

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?

The description makes the intended use context clear — checking worker health/status — but never states when to prefer this tool over an alternative or when not to use it. There is no explicit exclusion or sibling routing, and guidance is implied rather than explicit.

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