Skip to main content
Glama

Skyvern Run Task

skyvern_run_task
Read-onlyIdempotent

Start a Skyvern browser-agent run against a website that publishes no API (search forms, logins, multi-step lookups), described in plain language, and wait briefly for it. Returns the extracted output if the run finishes within wait_seconds (default 20); otherwise returns finished false and a run_id to continue with skyvern_get_run. Runs take seconds to minutes and are billed to your Skyvern account per step. Requires your own Skyvern API key as _apiKey.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "https://apps.irs.gov/app/eos/",
      "prompt": "Search for Wikimedia Foundation and return its EIN",
      "_apiKey": "your-skyvern-api-key",
      "wait_seconds": 20
    },
    "name": "skyvern_run_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoStarting page, e.g. the search form. Omit to let Skyvern choose.
promptYesWhat the agent should do and return, e.g. "Search for Wikimedia Foundation and return its EIN".
_apiKeyNoYour Skyvern API key (from your Skyvern account settings). Every run is billed to your Skyvern account.
max_stepsNoCap on browser steps (billed per step). Default 25.
wait_secondsNoHow long to wait for the result before returning the run_id (0 to 20, default 20). 0 starts the run and returns immediately.
data_extraction_schemaNoOptional JSON Schema for the output; strongly recommended so the result is structured.

Output Schema

NameRequiredDescriptionDefault
nextNo
outputNo
run_idNo
sourceNo
statusNo
app_urlNo
warningNo
finishedNo
max_stepsNo
succeededNo
created_atNo
step_countNo
finished_atNo
recording_urlNo
failure_reasonNo
screenshot_urlsNo
cancel_requestedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description adds genuinely non-annotation context: per-step billing to the caller's account, an _apiKey requirement, run durations of seconds to minutes, and the wait/return-or-resume contract with run_id. The gap is that it does not warn that interacting with logins and forms can have real side effects on the target site, which an agent reading readOnlyHint=true might not expect.

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?

Three front-loaded sentences with no filler: purpose and scope first, then the wait/return contract, then cost and auth. Billing and the API key are stated once here and also in the schema, so there is minor duplication, but the description itself is tight.

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?

For a 6-parameter, open-world, billed, asynchronous tool it covers the pieces an agent needs: when to reach for it, the blocking-vs-resume decision, cost, and auth. Return values are already defined by the output schema, and the description goes further by explaining the unfinished-run case.

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 100% and each parameter already carries a description, so the schema does the heavy lifting for url, prompt, wait_seconds, max_steps and data_extraction_schema. The description restates the wait_seconds default and the run_id fallback but adds no syntax, format, or constraint beyond what the schema provides — baseline 3.

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 (start a run) and resource (a Skyvern browser-agent run), plus the scope that distinguishes it: websites that publish no API, driven by a plain-language prompt. It also implicitly separates itself from skyvern_get_run by its 'start' vs 'continue' framing.

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?

Gives a clear use condition (sites with no API — search forms, logins, multi-step lookups) and routes to the sibling skyvern_get_run when the run does not finish within wait_seconds. It does not explicitly say when *not* to use it (e.g. when a real API exists), but the condition is close to a usable exclusion.

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.