Skip to main content
Glama
apify

actors-mcp-server

Official
by apify

get-actor-run

Read-onlyIdempotent

Check the status and details of an Actor run, optionally waiting for it to finish. Returns run summary, storage info, and suggested next steps.

Instructions

Get detailed information about a specific Actor run.

Returns run result: status, storages (datasets/keyValueStores alias map), stats, summary, nextStep.

  • summary describes the past (e.g. "SUCCEEDED in 22s. 47 items; 3 fields available.").

  • nextStep prescribes one primary follow-up action with identifiers interpolated (e.g. "Use get-dataset-items with datasetId=...").

  • waitSecs (0–45, default 30) waits up to that many seconds for terminal status before returning.

USAGE:

  • Use to check the status of a run started with call-actor.

  • Pass waitSecs > 0 to block until terminal (or until the cap elapses).

  • If call-actor-widget or get-actor-run-widget rendered a widget for this run, do NOT poll here — the widget self-polls.

USAGE EXAMPLES:

  • user_input: Show details of run y2h7sK3Wc

  • user_input: Wait for run y2h7sK3Wc to finish

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
runIdYesThe ID of the Actor run.
waitSecsNoMaximum seconds to wait for the run to reach a terminal state (SUCCEEDED, FAILED, ABORTED, TIMED-OUT). 0 returns immediately with the current status. Cap: 45. Default: 30.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
runIdYesActor run ID
actorIdYesStable Apify Actor ID from the run record
actorNameNo"username/actor-name"
statusYesRun status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED
statusMessageNoPass-through from Apify run.statusMessage
exitCodeNoActor process exit code; populated for terminal states (especially FAILED)
startedAtNoISO timestamp when the run started
finishedAtNoISO timestamp when the run finished (terminal states only)
statsNoRun statistics
storagesYesDataset and key-value store metadata, keyed by alias. "default" is always the primary entry.
summaryYesPast-tense summary of the run state
nextStepYesOne primary follow-up action with identifiers interpolated
Behavior5/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true. The description adds critical behavioral context: explains that waitSecs controls blocking (up to 45s), returns immediately if already terminal, and describes the returned object's structure. No contradiction with annotations.

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?

The description is well-structured with a clear first-line summary, bullet-pointed return fields, a USAGE section, and examples. Every sentence is purposeful; no fluff or redundancy. The critical info is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (2 parameters, read-only with optional blocking), the description covers all necessary aspects: purpose, usage context, parameter behavior, return summary, and a warning about widget polling. It is complete and self-contained.

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?

Input schema has 100% description coverage with detailed descriptions for both parameters (runId and waitSecs). The description reinforces this (e.g., 'Pass waitSecs > 0 to block') but doesn't add new semantic information beyond the schema. Baseline 3 is appropriate.

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 starts with 'Get detailed information about a specific Actor run,' which clearly states the verb (get) and resource (Actor run). It elaborates on return fields (status, storages, stats, summary, nextStep), distinguishing it from siblings like abort-actor-run (modifies state) and call-actor (initiates).

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 states 'Use to check the status of a run started with call-actor.' Provides guidance on waitSecs: waiting up to a cap, and warns 'If call-actor-widget or get-actor-run-widget rendered a widget for this run, do NOT poll here — the widget self-polls.' This gives clear when-to-use and when-not-to-use instructions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/apify/apify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server