Skip to main content
Glama

Observe deployment progress

deployments.observe
Read-only

Read an immediate authorized deployment snapshot, then use its opaque cursor to wait up to 30 seconds for a status event while receiving only the bounded build or runtime log delta. Use resource_id for a serving-state check when present, and stop when terminal is true.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "log_mode": "auto",
      "log_limit": 50,
      "deployment_id": "deployment-id"
    },
    "name": "deployments.observe"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoopaque next_cursor returned by the previous observation; omit for an immediate initial snapshot
log_modeNobounded log stream to include: auto selects by deployment stage; defaults to auto
log_limitNomaximum new log entries to include; defaults to 50
wait_secondsNomaximum seconds to wait for a change after an initial cursor; defaults to 25
deployment_idYesauthorized deployment identifier
organization_idNoorganization membership to use for this call; omit only when the account has one current membership

Output Schema

NameRequiredDescriptionDefault
observationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, but the description adds genuinely useful behavior: the call can block up to 30 seconds, returns an opaque cursor, and delivers only an incremental (delta) bounded log stream. That blocking/delta nature is not derivable from annotations or schema and materially affects how an agent should call it.

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?

Two dense but front-loaded sentences: the snapshot-then-wait behavior leads, followed by the serving-state and termination conditions. No filler, though the phrasing is jargon-heavy enough to require a second read.

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?

An output schema exists, so return values need not be explained, and the description covers the polling workflow, terminal stop, and log-delta bounding. The only real gap is the dangling 'resource_id' reference, which is an inconsistency rather than a missing piece.

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 the schema already documents cursor, log_mode, log_limit, wait_seconds, deployment_id, and organization_id; the baseline is 3. The description reinforces the cursor-chaining flow but adds no syntax beyond the schema, and it references 'resource_id', which is not a defined parameter, undermining rather than clarifying parameter meaning.

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 names a specific verb (read) and resource (deployment snapshot) and adds the distinguishing behavior of a cursor-driven wait for a status event with a bounded log delta. This differentiates it from a plain fetch, though it never names siblings like deployments.get or logs.build/logs.runtime, so the routing is inferential.

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?

It implies the intended polling loop ('use its opaque cursor to wait... stop when terminal is true') and gives a stop condition, which is real usage guidance. However it names no alternative tools and offers no when-not guidance. The 'Use resource_id for a serving-state check' instruction references a parameter that does not exist in the schema, which actively muddies usage.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources