Skip to main content
Glama
vcf-lifecycle

vcf-lifecycle

by warroyo

Fleet Wait

fleet_wait

Poll a Fleet task until it reaches a terminal status and return the final status. Tolerates transient 5xx and connection errors while Fleet pods restart.

Instructions

Poll a Fleet task until it reaches a terminal status; return the final status.

Tolerates transient 5xx and connection errors while Fleet's own pods restart.

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": {
      "task_id": "<task_id>"
    },
    "name": "fleet_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does add genuinely useful context beyond the schema: it blocks until terminal state and retries through transient 5xx and connection errors during pod restarts. However, it omits critical polling semantics such as timeout/max wait, backoff interval, and what happens if the task never terminates or ends in failure.

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?

Two short sentences, front-loaded with the action and result, followed by the resilience note. No filler or redundancy.

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 one-parameter polling tool with an output schema covering the return value, the description supplies what the schema cannot: the wait-until-terminal contract and retry tolerance. The remaining gaps (timeout, interval) are notable but secondary given the structured fields present.

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 task_id parameter has 0% schema description coverage, so the schema adds nothing. The description implies it identifies a 'Fleet task' but gives no format, source (e.g. an ID returned by fleet_apply), or validity constraints, leaving the agent to infer it.

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 (poll), resource (a Fleet task), and termination condition (terminal status), plus what it returns. This distinguishes it from a one-shot status reader like fleet_task, though it never names that sibling 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: the word 'poll' and 'until it reaches a terminal status' suggest calling it after starting a task (e.g. fleet_apply). There is no explicit when-to-use guidance, no statement of when a one-shot fleet_task lookup is preferable, and no prerequisites such as where task_id comes from.

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