Skip to main content
Glama

recipe

Save repeatable multi-step browser workflows and run them later in one call with parameters; if a step breaks, complete it by hand and the saved workflow updates.

Instructions

Saved workflows any agent can run later in ONE call: a list of batch steps. After a multi-step task that will come up again, save it. Refs in steps become role+name locators automatically; write {{param}} in values to fill at run time. Steps act on the page only (no eval or upload; login fills saved passwords) and stay on the site of the recipe. Give it expect (a success check): when a step breaks, you finish the task by hand and Reins updates the recipe from what you did. A recipe runs on its own site, and other agents can run yours after the user approves it.

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": "recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNoTab id. Default: your own target tab (each agent session gets its own)
nameNoLetters, digits, - and _
siteNolist/get: another site. Default: the site of your current tab
stepsNosave: batch steps, e.g. [{tool:"click", find:{role:"button", name:"New issue"}}, {tool:"type", find:{role:"textbox", name:"Title"}, text:"{{title}}"}]
actionNodone: finished a broken run by hand (only for recipes without expect); cancel: stop recording a fix
expectNosave: success check the run must end with: {text:"Account created"}, {text:"Loading", gone:true} or {url:"/dashboard"}
paramsNorun: values for the {{params}}
browserNochrome, edge, ... (only when several browsers are connected)
snapshotNoDefault returns a diff of what changed. true = full snapshot, false = nothing
descriptionNosave: what it does, one line

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations, so description carries the burden. It discloses useful constraints: page-only steps, no eval/upload, stays on-site, login fills passwords, expect drives fallback and self-repair, other agents run after approval. Missing: permission/approval mechanics for saving, what delete destroys, error behavior, return shape. Decent but uneven.

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?

Sentences are dense but each carries substantive information; front-loaded with what a recipe is. Some jargon-heavy compression ('Refs in steps become role+name locators automatically') reduces readability, and the definition jumps between save-time and run-time behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Ten parameters, no annotations, no output schema, and six action modes. The description thoroughly covers save and run semantics but barely addresses list, get, delete, done, cancel, snapshot, tab, or browser. That's a large gap for a multi-mode 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 coverage is 100%, so the schema already documents all ten parameters, including action enum, steps format, expect shapes, params. Description adds runtime concepts like {{param}} templates and expect semantics (broken step → manual finish → update). Baseline 3 given high coverage.

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?

Description opens with a concrete definition: saved batch workflows runnable in one call. It distinguishes from batch ('one call' versus step-by-step) but doesn't explicitly name batch. Purpose is clear: save/list/get/run/delete recipes, though the definition's framing leans heavily on the 'save' case while the action enum includes six more.

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?

Provides clear when-to-use: save after a multi-step task that will recur; run later in one call. Mentions cross-agent sharing after user approval. But it doesn't guide choosing between actions, e.g., when to list vs get, or when running a recipe beats calling batch directly.

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