Skip to main content
Glama

Get run

get_run
Read-onlyIdempotent

Status of a run: phase, whether it is finished, credits so far, the customer-visible activity, the error with a hint when it failed, and signed URLs for the video and other artifacts (GET only, valid ~15 minutes; call again for fresh ones).

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": {
      "run_id": "<run_id>"
    },
    "name": "get_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesThe run to describe (from start_run or list_runs).

Output Schema

NameRequiredDescriptionDefault
modeYesrecord produces a video; check only verifies the guide.
errorNoPresent only when the run failed.
guideNoDisplay name of the guide that was recorded.
phaseYesCustomer-facing phase label (Queued, Preparing, Recording, Finishing, Completed, Failed, Paused).
stateYesMachine-readable state; done means the video is ready.
outputNoDevice settings the run recorded with (device, frame, backdrop).
run_idYes
attemptYesAttempt number; the recorder retries some failures itself.
activityYesCustomer-visible activity lines, oldest first, each prefixed with its time.
warningsYesThings that stayed on top of the page, parts of it that could not load, or 3D graphics recorded without 3D recording, during the walkthrough; fix the guide or the project and run again.
artifactsYes
video_urlNoSigned download link for the video, valid about 15 minutes; null until the video is ready.
phase_noteYesOne line explaining the phase.
project_idYes
started_atNoISO 8601
is_terminalYestrue when nothing more will happen; stop polling.
completed_atNoISO 8601
output_labelYesHuman label of the output, e.g. Desktop or iPhone, Vertical 9:16.
video_secondsNoLength of the finished video.
credits_so_farYesCredits owed so far; 0 until the video completes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / code / description
      Previous value: -"Stable error code, e.g. login_failed, step_failed."New value: +"Stable error code, e.g. login_failed, page_check_failed, step_failed."
  2. Changed1 schema field changed
    • changedOutput schema / properties / warnings / items / properties / code / description
      Previous value: -"page_furniture, step_substituted, unreachable_host or three_d (the app draws 3D graphics: set three_d with update_project and record again, after telling the user it adds 5 credits a minute)"New value: +"page_furniture, step_substituted, unreachable_host or three_d (the app draws 3D graphics: set three_d with update_project and record again, after telling the user it adds 10 credits a minute)"
  3. Changed3 schema fields changed
    • changedOutput schema / properties / warnings / description
      Previous value: -"Things that stayed on top of the page, or parts of it that could not load, during the walkthrough; fix the guide and run again."New value: +"Things that stayed on top of the page, parts of it that could not load, or 3D graphics recorded without 3D recording, during the walkthrough; fix the guide or the project and run again."
    • changedOutput schema / properties / warnings / items / properties / code / description
      Previous value: -"page_furniture, step_substituted or unreachable_host"New value: +"page_furniture, step_substituted, unreachable_host or three_d (the app draws 3D graphics: set three_d with update_project and record again, after telling the user it adds 5 credits a minute)"
    • changedOutput schema / properties / warnings / items / properties / kind / enum
      Previous value: -[
      -  "cookie_banner",
      -  "chat_widget",
      -  "dialog",
      -  "substitution",
      -  "unreachable_host"
      -]New value: +[
      +  "cookie_banner",
      +  "chat_widget",
      +  "dialog",
      +  "substitution",
      +  "unreachable_host",
      +  "three_d"
      +]
  4. Changed4 schema fields changed
    • changedOutput schema / properties / warnings / description
      Previous value: -"Things that stayed on top of the page during the walkthrough; fix the guide and run again."New value: +"Things that stayed on top of the page, or parts of it that could not load, during the walkthrough; fix the guide and run again."
    • changedOutput schema / properties / warnings / items / properties / code / description
      Previous value: -"page_furniture"New value: +"page_furniture, step_substituted or unreachable_host"
    • changedOutput schema / properties / warnings / items / properties / kind / enum
      Previous value: -[
      -  "cookie_banner",
      -  "chat_widget",
      -  "dialog"
      -]New value: +[
      +  "cookie_banner",
      +  "chat_widget",
      +  "dialog",
      +  "substitution",
      +  "unreachable_host"
      +]
    • changedOutput schema / properties / warnings / items / properties / when / enum
      Previous value: -[
      -  "start",
      -  "end"
      -]New value: +[
      +  "start",
      +  "during",
      +  "end"
      +]
  5. Changed1 schema field changed
    • removedOutput schema / properties / estimated_credits
      Removed value: -{
      -  "description": "Estimate made when the run started.",
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
  6. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / code / description
      Previous value: -"Stable error code, e.g. login_gate_failed."New value: +"Stable error code, e.g. login_failed, step_failed."
  7. Changed2 schema fields changed
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "description": "Things that stayed on top of the page during the walkthrough; fix the guide and run again.",
      +  "items": {
      +    "properties": {
      +      "code": {
      +        "description": "page_furniture",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "enum": [
      +          "cookie_banner",
      +          "chat_widget",
      +          "dialog"
      +        ],
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "suggestion": {
      +        "description": "The guide line to add, e.g. If visible, click \"Accept all\".",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "when": {
      +        "description": "Seen from the first frame, or still there at the end.",
      +        "enum": [
      +          "start",
      +          "end"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "kind",
      +      "when",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "run_id",
      -  "project_id",
      -  "state",
      -  "mode",
      -  "phase",
      -  "phase_note",
      -  "is_terminal",
      -  "attempt",
      -  "credits_so_far",
      -  "output_label",
      -  "activity",
      -  "artifacts"
      -]New value: +[
      +  "run_id",
      +  "project_id",
      +  "state",
      +  "mode",
      +  "phase",
      +  "phase_note",
      +  "is_terminal",
      +  "attempt",
      +  "credits_so_far",
      +  "output_label",
      +  "activity",
      +  "warnings",
      +  "artifacts"
      +]
  8. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, so the bar is lower; the description still adds real value by disclosing that artifact URLs are GET-only and expire in ~15 minutes, and that failures surface an error with a hint rather than raising. It omits rate-limit or polling-frequency guidance, keeping 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?

One front-loaded sentence with a colon-delimited list of return fields, plus a parenthetical caveat where it matters most (URL expiry). No redundant restatement of the title or name.

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?

A one-parameter read tool with a declared output schema and full annotation coverage needs little more; the description still covers the expiry gotcha that would otherwise trip an agent. Nothing required for correct invocation 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?

There is a single parameter with 100% schema description coverage, and the schema already explains that run_id comes from start_run or list_runs. The description adds no further meaning about the identifier's format or semantics, so the baseline of 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?

The description names a specific resource and enumerates exactly what is returned: phase, finished state, credits consumed, customer-visible activity, error plus hint, and signed artifact URLs. That enumeration makes it clearly distinguishable from a bulk lister like list_runs without needing to name a sibling.

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?

It gives clear operational context — this is a status-polling call, and the URLs are short-lived so the agent should re-call for fresh ones. It does not state explicit exclusions (e.g., 'use list_runs to enumerate runs instead of calling this repeatedly'), so it falls short of a 5.

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.