Skip to main content
Glama

Watch

watch

Monitors a background job and returns its final status—done, uncertain, or failed—after creating, sending, or queueing it, so you can continue other work.

Instructions

Watch a job in the background and return it when it ends (done, uncertain, or failed).

Call it right after create, send, or queue, then go on with other work: the client delivers the job when it ends. It needs the right to wait. A client without MCP tasks waits for the answer instead.

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": {
      "job": "<job>"
    },
    "name": "watch"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/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: asynchronous background delivery, terminal outcomes (done, uncertain, failed), permission requirement, and behavior for clients lacking MCP tasks.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with purpose and action; each sentence adds relevant behavior. Minor terseness in 'right to wait' but 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?

The output schema covers return shape, and the description covers behavior, sequencing, permission, and fallback. It is not fully complete because the sole input's expected value is unspecified.

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

Parameters2/5

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

The sole parameter 'job' has 0% schema description coverage, and the description only restates 'a job'; it does not identify whether this is an ID, name, or object, nor its expected format.

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?

States a specific verb and resource ('Watch a job'), enumerates terminal states, and distinguishes background watching from the blocking 'wait' path for clients without MCP tasks.

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?

Explicitly instructs calling right after create/send/queue, says to continue other work, names the required permission, and describes the fallback behavior when MCP tasks are unavailable.

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