Skip to main content
Glama

describe_worker

Retrieve a Temporal worker’s latest heartbeat details—host, process, task slots, pollers, SDK, and deployment version—using its worker instance key from list_workers.

Instructions

Describe one worker from its latest heartbeat: host, process, task slots, pollers, SDK and deployment version. Get the key from list_workers. Needs worker heartbeating; otherwise use describe_task_queue.

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": {
      "worker_instance_key": "<worker_instance_key>"
    },
    "name": "describe_worker"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceNoTemporal namespace for this operation; omit to use the server default
worker_instance_keyYesWorker instance key from list_workers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and discloses important behavior: it reads from the latest heartbeat, requires the worker to be heartbeating, and points to an alternative when that condition fails. It does not cover permissions, error behavior, or freshness limits, but the core operational constraint is explained.

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 definition is three short sentences, front-loads what the tool returns, then gives the key source and fallback condition. Every sentence adds useful information with no filler.

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?

There is no output schema, so the description usefully lists the main worker fields returned and explains the heartbeat prerequisite. It is complete enough for this two-parameter read tool, though it does not describe error or invalid-key behavior.

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 description coverage is 100%, so both parameters are already documented. The description repeats that the key comes from list_workers but adds no new semantics for the key or the namespace parameter, making the baseline 3 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 names a specific verb and resource ('Describe one worker') and enumerates the returned details, including host, process, task slots, pollers, SDK, and deployment version. It is clearly distinguishable from describe_task_queue via the heartbeat condition and fallback.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states exactly where to get the required key ('list_workers') and gives an explicit condition plus alternative: the worker must be heartbeating, otherwise use describe_task_queue. This removes ambiguity about when to select this tool versus a sibling.

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