Skip to main content
Glama

Read local workflow history

run_history

List recent batch or recipe runs, or read one run by ID to inspect step timing, status, and redacted error classifications. Optionally retrieve captured error screenshots.

Instructions

List recent batch/recipe runs, or read one runId. Stores step timing, status and redacted error classifications, never raw arguments or page results. Shared by trusted local MCP processes across restarts; retains 100 runs. includeScreenshot returns an image only if captureOnError was enabled for that run. Screenshots can contain visible page data.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
runIdNo
includeScreenshotNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.24.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses what is stored (step timing, status, redacted error classifications), what is deliberately not stored (raw arguments, page results), retention (100 runs), and cross-process/shared-across-restart scope. The screenshot caveat is also spelled out conditionally. It stops short of explicitly stating the operation is read-only and side-effect free, and says nothing about ordering or pagination of the returned list.

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?

Four tight sentences, front-loaded with the two access modes before moving to storage semantics and the screenshot caveat. Every sentence carries information; the only mild looseness is the privacy note trailing after the more essential retention behavior.

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 no annotations and no output schema, the description covers the storage model, retention bound, sharing scope, and the risky screenshot path — which is exactly what an agent needs to call this safely. The remaining gap is the shape of a returned run entry and list ordering, which the absence of an output schema leaves undocumented.

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 0%, so the description must compensate: it explains includeScreenshot's conditional behavior and privacy implication well, and ties runId to single-run reads. limit is never described — no ordering, default, or interaction with the 100-run retention is stated, leaving one of three parameters semantically thin.

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?

States two concrete modes: 'List recent batch/recipe runs' and 'read one runId', with a specific resource (batch/recipe run history). The verb+resource pairing is unambiguous, but it never names a sibling such as recipe_list or recipe_checkpoints, so an agent must infer the boundary itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'List ... or read one runId' phrasing implies the selection rule (present runId -> single read, absent -> list), which is useful mode guidance. However there is no explicit statement of when to prefer this over recipe_list or recipe_checkpoints, and no precondition or exclusion is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.