Skip to main content
Glama

describe_worker_deployment_version

Inspect a worker deployment version to view status, drainage details, and polled task queues with backlog stats when report_task_queue_stats is true.

Instructions

Describe one worker deployment version: status, drainage info and the task queues it polls (with backlog stats when report_task_queue_stats is true).

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": {
      "deployment_name": "<deployment_name>",
      "build_id": "<build_id>"
    },
    "name": "describe_worker_deployment_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
build_idYesBuild ID of the version
namespaceNoTemporal namespace for this operation; omit to use the server default
deployment_nameYesWorker deployment name
report_task_queue_statsNoInclude per task queue backlog stats (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description must carry the full load. It does signal a read-only inspection by using 'Describe' and discloses the returned content shape, including the conditional backlog stats, but says nothing about permission requirements, behavior when the build ID is unknown, or cost of computing queue stats.

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?

A single front-loaded sentence stating the operation, the resource, and the returned data, with the conditional flag handled in a compact parenthetical. There is no filler or redundancy.

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 no output schema, the description compensates by enumerating the key return values (status, drainage info, task queues, optional backlog stats), which is sufficient for an agent to know what it will get. Only the absence of failure-mode or permission context keeps it short of complete.

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 all four parameters (build_id, deployment_name, namespace, report_task_queue_stats) are already documented in the schema. The description only restates the report_task_queue_stats effect already covered by its schema default note, adding no new semantics.

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 description uses a specific verb ('Describe') plus a precise resource ('one worker deployment version') and enumerates the returned facets: status, drainage info, and polled task queues. It is clearly distinct from a plain deployment description, though it never names the sibling describe_worker_deployment to draw that line explicitly.

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 by the scope phrase 'one worker deployment version'; there is no explicit when-to-use, when-not-to-use, or named alternative tool. The only real guidance is the conditional note about report_task_queue_stats, which tells the agent when backlog stats are returned.

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