Skip to main content
Glama

Wait for a running job

wait_job
Read-onlyIdempotent

Wait (up to ~50 s) for the running tool of a project and return its result, or status running again. Requires a PCBBrew account (sign-in).

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": {
      "project_id": "<project_id>"
    },
    "name": "wait_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesid from create_project or list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered. The description adds real behavior beyond them: a bounded ~50 s wait, that it returns the result OR a running status again, and that a signed-in PCBBrew account is required. It omits what happens when no job is running or when the job fails.

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 short sentences with the core action and the time bound front-loaded; no filler. The phrasing 'status running again' is slightly terse but the meaning survives.

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 one-parameter tool with no output schema, the description covers the essential contract: what it waits on, how long, what comes back, and the auth prerequisite. Only failure/no-active-job cases and the re-poll instruction are missing.

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 project_id parameter is fully documented in the schema (100% coverage, pointing at create_project/list_projects). The description adds no further semantics about the parameter, so baseline 3 applies.

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 and resource: wait for the running tool of a project, plus the timeout and return shape. An agent can tell this is a polling/blocking companion to job-starting tools, though it does not name the sibling that starts the job.

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 ~50 s bound and 'status running again' return hint at repeated polling, but the description never explicitly says to call it after starting a job or to re-invoke while status is running, and it names no alternative.

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