Skip to main content
Glama

Run a saved recipe

recipe_run

Run a stored browser recipe with typed parameters and optional tab ID to perform repeatable automation; resume from verified checkpoints and capture failure screenshots when needed.

Instructions

Run a recipe with typed parameters and optional default tabId. Fresh targets and expectations never retry actions. resumable=true requires an explicit single owned tab, fresh targets instead of stored refs/coordinates, and declarative expectations. Durable intent blocks resume after ambiguous dispatch. Returns resumeId in structuredContent once a step has been dispatched (a run that ended before its first step has nothing to resume and returns none); recipe_resume continues only from a verified checkpoint. If the final checkpoint write fails, the run's result is still returned, with checkpointError. History stores metadata; captureOnError opts into a failure PNG.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
tabIdNo
resumableNo
parametersNo
captureOnErrorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.24.1

TDQS

A3.6/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does substantial work: it discloses that fresh targets never retry actions, that durable intent blocks resume after ambiguous dispatch, that resumeId appears in structuredContent only after first dispatch, and that a checkpoint write failure still returns the result with checkpointError. Its main omission is permissions/auth and what a normal successful run returns besides resumeId.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence, which is good, but the remainder is a dense run-on packing several distinct concerns (resume semantics, checkpoint errors, history, capture) into semicolon-chained clauses. It is information-rich rather than padded, yet the structure makes it hard to parse on first read.

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 complex, nested-schema tool with no annotations and no output schema, the description covers the important returns (resumeId, checkpointError) and the failure-capture behavior, which is the right emphasis. It stops short of describing the normal run result payload or parameter value constraints, but nothing critical for calling it correctly 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?

With 0% schema description coverage the description must compensate, and it partially does: tabId is a 'default tab', parameters are 'typed', resumable's constraints are spelled out, and captureOnError is tied to a failure PNG. However it never explains the required 'name' as the recipe identifier or the value types allowed in the nested parameters object, leaving key gaps for a 5-param schema.

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?

The opening sentence states a specific verb+resource: 'Run a recipe with typed parameters and optional default tabId.' It names the sibling recipe_resume and distinguishes the continuation path, so an agent can tell start-a-run from resume-a-run. The later density about resumable/checkpoint semantics muddies but does not obscure the core purpose.

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?

Guidance is embedded rather than explicit: 'resumable=true requires an explicit single owned tab...' and 'recipe_resume continues only from a verified checkpoint' imply when to pick resumable and when to switch to resume. There is no clean 'use this when / don't use this when' statement, and alternatives like browser_batch are not addressed, so the agent must infer the selection rule.

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