Skip to main content
Glama
runwhen-contrib

RunWhen Platform MCP

get_run_output

Get parsed output, issues, and status from a completed script run to review findings and next steps.

Instructions

Get the output artifacts from a completed script run.

Returns parsed, human-readable results including:

  • issues: list of issues found by the script (title, severity, details, nextSteps)

  • stdout: script stdout output

  • stderr: script stderr output

  • status: run status (SUCCEEDED, FAILED, RUNNING)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesThe run ID returned by run_script.
fetch_logsNoDownload and parse artifact contents.
workspace_nameYesThe workspace the run belongs to (e.g. 't-oncall').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses return content but not behavior on incomplete runs, error handling, or required permissions. The precondition 'completed script run' is implied but not enforced.

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 sentences plus a bullet list. Front-loaded with purpose, no redundant 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?

For a 'get' tool with 3 params, output schema, and no annotations, the description covers return values well. Lacks details on failure modes or preconditions, but overall adequate.

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%, so parameters are well-documented in the schema. The description does not add extra meaning beyond the schema descriptions.

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 'Get the output artifacts from a completed script run' with a specific verb and resource. It lists the returned fields (issues, stdout, stderr, status), distinguishing it from sibling tools like get_run_status or run_script.

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?

Implies usage after a script run completes ('from a completed script run'), but lacks explicit when-not-to-use or alternatives like get_run_status for status-only checks.

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/runwhen-contrib/runwhen-platform-mcp'

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