Skip to main content
Glama

Save a reusable recipe

recipe_save

Save a named browser automation sequence with typed parameters, target elements, and outcome checks; use secret_ params for masked secrets and atomic backups for safe stores.

Instructions

Save a named sequence with optional typed scalar parameters, fresh targets and outcome expectations. Bind data with {$param:'name'} or string {{name}}; executable JavaScript/predicate templates are forbidden. Name a parameter that carries a password or other secret with the reserved prefix secret_: the Recept panel then asks for it in a masked field. Saves are backed up, atomic and serialized across processes. Corrupt existing stores fail closed and remain untouched.

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>",
      "actions": "<actions>"
    },
    "name": "recipe_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
actionsYes
parametersNo
descriptionNo

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?

With no annotations, the description carries the full burden and does substantial work: it discloses that saves are backed up, atomic and serialized across processes, and that corrupt stores fail closed and stay untouched. It also covers the forbidden-template rule and masked prompting for secret_ parameters. Gaps remain around overwrite/name-collision behavior and what the tool returns or how failures are reported.

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 dense sentences with the core action front-loaded and constraints following logically; little waste. The secrets sentence is slightly long-winded but still earns its place by explaining a non-obvious naming convention.

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

Completeness3/5

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

For a complex nested-schema mutation tool with no annotations and no output schema, the description covers storage safety and binding syntax but omits save/overwrite semantics, validation failure behavior, and the result of a successful save. That leaves real gaps an agent would want before invoking it.

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, and it partially does: it explains parameter binding via {$param:'name'} and {{name}}, the reserved secret_ prefix, and the concept of targets and outcome expectations. However, the deeply nested expect/target fields (url, text, state, fieldValue, stableForMs, timeoutMs, role/name targets) and the description parameter get no meaning added beyond the raw 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 description opens with a specific verb+resource: save a named sequence with typed parameters, targets and outcome expectations. That distinguishes it from recipe_run and recipe_record by implication (persistence vs. execution vs. capture), though it never names a sibling explicitly. An agent can tell what gets created even without opening the schema.

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?

Usage is only implied: you use this to persist a reusable recipe, and the text supplies constraints (no executable JS/predicate templates, secret_ prefix for secrets). There is no statement about when to prefer this over recipe_record or when a save should be skipped, and no prerequisites for the caller.

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