Skip to main content
Glama

Run one of my recipes or workflows

run_my_recipe

Run a saved recipe or workflow with new material, billed in USD to the PopNow balance. Call it without max_usd for a quote, then confirm with max_usd, quote_id and a unique idempotency_key. Reuse the same idempotency_key and arguments after a lost response. Prices and key limits are checked on every step.

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

Input Schema

NameRequiredDescriptionDefault
countNoHow many pieces a recipe makes, 1 to 4 (workflows run once)
inputsNoInput id to a popnow:// or https:// file link (or text for text inputs); inputs you leave out use the material saved with the recipe
max_usdNoAPI-key only: total run budget as a decimal USD string. Omit to quote; confirm with quote_id.
currencyNoOptional. Always USD for this endpoint.
quote_idNoAPI-key quote_id returned by the latest quote; required with max_usd
recipe_idYesThe recipe or workflow id from list_my_recipes
idempotency_keyNoAPI-key execution only: unique identifier for this approved run (1-100 characters). Reuse it unchanged after a lost response; use a new value only for a separately approved run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this as a non-read-only, open-world, non-destructive operation, and the description adds meaningful context beyond them: real money is debited from a PopNow balance, prices and key limits are re-checked on every step, and the idempotency contract for retries is defined. It does not cover failure/refund behavior or how a run can be interrupted or resumed, which would be the next layer of disclosure. No contradiction with idempotentHint=false, since idempotency here is caller-supplied via a key rather than inherent to the call.

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?

Three tight sentences pack purpose, billing, the quote/confirm sequence, retry semantics, and the per-step validation note with zero filler. The core purpose and cost implication are front-loaded, and the operational protocol follows in call order.

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 7-parameter, nested-input, paid execution tool with no output schema, the description never says what a successful run returns — no mention of a run id or handle that would be needed to poll get_recipe_run or resume_recipe_run. The quote/confirm and idempotency flows are well covered, but the missing return contract is a real gap for an agent wiring up a multi-step execution.

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 100% schema description coverage, the schema already documents count, inputs, max_usd, currency, quote_id, recipe_id, and idempotency_key. The description reinforces the quote/confirm relationship between max_usd, quote_id, and idempotency_key but adds no syntax, format, or edge-case detail beyond what the schema states, so the baseline 3 applies.

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 opens with a specific verb and resource — 'Run a saved recipe or workflow with new material' — and immediately states the billing model ('billed in USD to the PopNow balance'). This clearly separates it from the listing/inspection siblings like list_my_recipes and get_recipe_run, which do not execute anything.

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?

It spells out a concrete two-phase protocol: call without max_usd to get a quote, then confirm with max_usd, quote_id, and a unique idempotency_key, including what to do after a lost response ('reuse the same idempotency_key and arguments'). What is missing is any explicit exclusion or handoff — e.g. pointing to get_recipe_run or resume_recipe_run for monitoring an in-flight run — so it stops short of the when/when-not/alternatives bar.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.