Skip to main content
Glama

wait_for_fit

Poll a conjoint fit until it completes, fails, or is cancelled, or the time limit is reached, then return its latest status. Call again to continue waiting.

Instructions

Poll a fit until it is done, failed or cancelled, or max_seconds pass (at most 600; call again to keep waiting). Returns the last status.

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": {
      "fit_id": "<fit_id>"
    },
    "name": "wait_for_fit"
  }
}

Input Schema

NameRequiredDescriptionDefault
fit_idYes
max_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the blocking/polling behavior, the three terminal states, the 600-second ceiling, the need to re-invoke to continue waiting, and what is returned. It omits any mention of permissions, rate limits, or backoff, which would round this out for a long-running blocking call.

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 with no filler. The primary behavior is front-loaded and the timeout caveat and return value follow in a logical order.

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?

For a two-parameter, no-output-schema tool, the description covers the essentials: what it waits for, when it stops, the time cap, and that the last status is returned. Only the shape of the returned status value and the behavior on an already-terminal or invalid fit_id are left unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does for the non-obvious parameter: max_seconds is given a hard cap of 600 and a re-call pattern, information absent from the schema (which only shows a default of 300). fit_id is left unexplained, but its meaning is self-evident from the tool's purpose.

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 opens with a specific verb and resource ('Poll a fit') and enumerates the terminal conditions (done, failed, cancelled, timeout), which separates it from a one-shot status check. It does not name the sibling it differs from (fit_status), so an agent must infer that distinction from the word 'Poll'.

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 implied rather than stated: the polling/blocking semantics tell an agent this is the tool for waiting on a fit, and 'call again to keep waiting' gives continuation guidance. However, it never says when to prefer this over a single fit_status call, nor when not to use it (e.g., for already-finished fits).

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