Skip to main content
Glama

Scraper run status

apify_get_run_status
Read-onlyIdempotent

Use this when apify_start_actor returned a runId and you need to know whether the scraper has finished. Returns the current Apify status for a run you started. When finished is true, call apify_complete_actor to charge credits and read results. When finished is false, wait and call this again.

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": {
      "runId": "<runId>"
    },
    "name": "apify_get_run_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesThe runId apify_start_actor returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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, so the safety profile is covered. The description adds what the annotations cannot: the polling loop semantics and the mandatory follow-up call to charge credits. It stops short of describing invalid/expired runId behavior or error responses, 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.

Conciseness5/5

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

Three short sentences ordered by need: precondition, action, then both branches. Every sentence carries operational weight and nothing is padded.

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 single-parameter polling tool with no output schema, the description covers the trigger, the return concept (status, finished flag) and the next step. It could briefly state what other status values exist or what happens on an unknown runId, but nothing needed to invoke it correctly is 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?

Schema description coverage is 100% and the parameter already documents 'The runId apify_start_actor returned.' The description's mention of runId provenance restates the schema rather than adding new constraints or format detail, so the baseline 3 applies.

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 ('Returns the current Apify status for a run') and ties it to the exact precondition ('apify_start_actor returned a runId'). The agent can distinguish it from the start/complete siblings 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 Guidelines5/5

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

Explicit when-to-use ('when apify_start_actor returned a runId and you need to know whether the scraper has finished') and explicit branching for both outcomes: finished=true routes to apify_complete_actor, finished=false routes back to this tool after a wait. No inference required.

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.