Skip to main content
Glama

Skyvern Get Run

skyvern_get_run
Read-onlyIdempotent

Get the status and output of a Skyvern run by run_id, optionally waiting up to wait_seconds for it to finish. Final statuses are completed, failed, terminated, timed_out and canceled; anything else means keep polling. 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": {
      "run_id": "tsk_123456789",
      "_apiKey": "your-skyvern-api-key",
      "wait_seconds": 10
    },
    "name": "skyvern_get_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesThe run_id returned by skyvern_run_task.
_apiKeyNoYour Skyvern API key (from your Skyvern account settings). Every run is billed to your Skyvern account.
wait_secondsNoWait up to this long for a final status (0 to 20, default 0).

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/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior. The description adds value beyond that: the terminal vs. non-terminal status semantics that govern the polling loop, and the requirement to supply your own Skyvern API key. It does not cover error handling or rate limits, but the annotations and output schema relieve most of that burden.

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?

Two tight sentences, front-loaded with the primary action, then the optional wait behavior and status semantics. No filler or restated title.

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 an output schema present, return-value explanation is unnecessary, and the description supplies the polling contract and auth requirement. Adding guidance on failure/timeout recovery or rate limits would close the remaining gap for a networked polling tool.

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%, so run_id origin, _apiKey purpose/billing, and the 0-20 wait_seconds range are already documented in the schema. The description reinforces the wait_seconds purpose and links run_id to skyvern_run_task, but adds no syntax or constraint detail beyond structured data. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb and resource: 'Get the status and output of a Skyvern run by run_id', plus the optional wait behavior. The read/status semantics clearly separate it from task-creation or cancellation siblings, though no sibling is named explicitly to route the agent.

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 concrete operating guidance: wait up to wait_seconds for completion, and 'anything else means keep polling' with an explicit enumeration of terminal statuses. It stops short of stating when to call this versus skyvern_run_task or when not to poll.

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.