Skip to main content
Glama

Worker Status

worker_status
Read-onlyIdempotent

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

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: NaN bills in credits and exposes no per-request cost, so they would read zero forever, and a gauge that always says the same thing looks like a working gauge.

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

Input Schema

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

Output 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

A3.6/5.0
Behavior4/5

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

Beyond readOnlyHint/idempotentHint, it discloses the key behavioral trait: reachability is actively probed with a network call rather than inferred from configuration. It also explains why cost figures were removed, which pre-empts an agent hunting for budget output. It stops short of noting probe latency or failure/timeout behavior.

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 lead sentence is well front-loaded, but roughly two-thirds of the text is changelog backstory (HIVE-384, the old dollar budget, 'a gauge that always says the same thing'). The rationale for absent cost data earns some of its space; the historical framing does not.

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?

An output schema exists, so return values need not be explained, and the single parameter is fully described in the schema. The description supplies the config-vs-reachability distinction that makes the output interpretable. Minor gap: no mention of what a probe failure or timeout looks like to the caller.

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?

Schema coverage is 100% and include_models is fully self-documenting, so the description needs to add little. 'Probed, not inferred' supports the parameter's meaning (that omitting the probe yields configuration-only output) but never names the parameter or restates the trade-off explicitly.

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 first line gives a specific verb and resource plus an enumerated scope: configuration, reachability, model, and usage. That is far more concrete than 'worker status' alone, though it never explicitly contrasts itself with health-check siblings such as vault_health.

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?

No explicit 'use this when' clause exists, but the narrative implies the intended use: checking that a worker actually answers before treating it as a working capability. The exclude-the-network-call case is documented only in the schema, not the description.

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