Skip to main content
Glama

Wait for a job

revisia_jobs
Read-onlyIdempotent

Use this after launching anything long (import, search, strategy build, criteria suggestion, screening, full text, extraction, risk of bias): it waits up to about 45 seconds and returns status and done/total progress with the next steps. A finished screening job also says how many records the AI screened and how many went to human verification because of the plan quota, and human_review: the link where the researcher reviews what is left. If the job has not finished, call it again. Read-only.

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": "revisia_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoWhich job family to wait for (default all).all
actionNowait
job_idNoWait for this job only.
project_idYesReview id (from revisia_projects list).
timeout_secondsNoHow long to wait before answering (default and max 45). 0 = just report the current state.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive (the trailing 'Read-only.' merely repeats them), but the description adds real behavior beyond them: the ~45-second wait cap, the returned progress shape, retry semantics, and the screening-specific report of AI-screened vs. quota-diverted records plus a human_review link. It does not cover the shape of the response when a job is unknown or the job_id/kind interaction, which keeps it from a 5.

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?

Front-loaded with the trigger condition and the core behavior, and the long parenthetical job list is scannable. Some clauses (the screening quota explanation) are dense but each carries information an agent would otherwise have to guess.

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?

With no output schema, the description takes on the return-value burden and does it well, covering status, progress, next steps, and the screening-specific human_review link. It leaves undefined the 'status' value set and error behavior for an invalid or expired job_id.

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 coverage is 80%, so baseline is 3, and the description largely reinforces rather than extends it. It clarifies the 45-second wait bound and that a screening job yields quota/human-review detail, but adds nothing on job_id scoping versus the default kind='all'.

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?

The description states a specific verb and resource ('it waits ... and returns status and done/total progress') and names the job families it covers (import, search, strategy build, screening, full text, extraction, risk of bias). This lets an agent distinguish it from the sibling *_act tools that launch those jobs, without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use this after launching anything long' gives clear triggering context, and 'If the job has not finished, call it again' explicitly documents the polling loop. It stops short of a 5 because it names no alternative tool or when-not condition (e.g. reporting state without waiting).

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