Skip to main content
Glama
apify

actors-mcp-server

Official
by apify

call-actor

Destructive

Call any Apify Store Actor dynamically with custom input and run options. Returns results or next steps for long-running tasks.

Instructions

Call any Actor from the Apify Store.

WORKFLOW:

  1. Use fetch-actor-details to get the Actor's input schema

  2. Call this tool with the actor name and proper input based on the schema

If the actor name is not in "username/name" format and search-actors is available in this session, use it to resolve the correct Actor first.

For MCP server Actors:

  • Use fetch-actor-details with output={ mcpTools: true } to list available tools

  • Call using format: "actorName:toolName" (e.g., "apify/actors-mcp-server:fetch-apify-docs")

IMPORTANT:

  • Waits up to waitSecs (default 30s) for completion; returns run status, storage IDs, and field metadata

  • Use get-dataset-items with the datasetId to fetch results; non-terminal runs include a nextStep with polling instructions

  • Use dedicated Actor tools when available for better experience

There are two ways to run Actors:

  1. Dedicated Actor tools (e.g., apify--rag-web-browser): These are pre-configured tools, offering a simpler and more direct experience.

  2. Generic call-actor tool (call-actor): Use this when a dedicated tool is not available or when you want to run any Actor dynamically. This tool is especially useful if you do not want to add specific tools or your client does not support dynamic tool registration.

USAGE:

  • Always use dedicated tools when available (e.g., apify--rag-web-browser)

  • Use the generic call-actor tool only if a dedicated tool does not exist for your Actor.

  • Use waitSecs (0–45) to control how long to wait. Default 30s returns results for fast actors. Use waitSecs: 0 to start and return immediately for long-running actors.

EXAMPLES:

  • user_input: Get instagram posts using apify/instagram-scraper

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actorYesThe name of the Actor to call. Format: "username/name" (e.g., "apify/rag-web-browser"). For MCP server Actors, use format "actorName:toolName" to call a specific tool (e.g., "apify/actors-mcp-server:fetch-apify-docs").
inputYesThe input JSON to pass to the Actor. Required.
waitSecsNoSeconds to wait for completion (0–45, default 30). Returns with current run status if not terminal within waitSecs.
callOptionsNoOptional run config: memory (MB), timeout (s), build, maxItems (pay-per-result cap), maxTotalChargeUsd (pay-per-event cap).

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 indicate destructiveHint=true and idempotentHint=false. The description adds beyond this: details wait behavior (default 30s, max 45s, returns run status and storage IDs), instructs to fetch results via get-dataset-items, and mentions dedicated tools offer better experience. 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.

Conciseness3/5

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

The description is well-structured with headings and examples, but somewhat verbose with repeated guidance on dedicated vs generic tools. Could be more concise to improve readability without losing essential information.

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?

Given the tool's complexity (4 params, nested object, output schema exists), the description covers workflow, parameter behavior, and integration with other tools (e.g., fetch-actor-details, get-dataset-items). Complete enough, though some details like common error conditions could be added.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (all parameters described). The description adds extra context beyond schema, e.g., for callOptions.memory it explains concurrent run caps, for waitSecs it mentions immediate return with 0, and for actor it explains MCP format. This adds value, though schema already covers basics.

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 clearly states 'Call any Actor from the Apify Store' with a specific verb and resource. It distinguishes from sibling tools by explaining when to use dedicated Actor tools vs this generic call-actor, and provides workflow instructions.

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 advises to use dedicated Actor tools when available, and only use call-actor if no dedicated tool exists. Provides a step-by-step workflow (fetch-actor-details first, then call) and instructions for MCP server Actors. Includes examples and guidance on waitSecs usage.

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