Skip to main content
Glama

Execute recipe

execute_recipe

Execute a public recipe discovered with list_recipes. Pass its exact domain, recipe_name and named params. Covers all public recipes, including those without a dedicated tool. Upstream errors are returned as tool errors. Authentication follows the selected recipe.

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": {
      "domain": "<domain>",
      "recipe_name": "<recipe_name>",
      "params": "<params>"
    },
    "name": "execute_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesCatalog key, e.g. news, holidays, wikipedia.org or amazon.com
paramsYesNamed parameters from list_recipes. Do not include authentication credentials.
recipe_nameYesRecipe name, e.g. search, list or search_products

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the description does not need to restate safety basics. It adds useful behavioral context: upstream errors are returned as tool errors, and authentication follows the selected recipe. It could say more about side effects or response shape, but the annotations carry much of that burden.

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?

Four short, front-loaded sentences with no filler. The discovery dependency and parameter requirements are stated immediately, followed by coverage, error behavior, and authentication.

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 generic open-world recipe executor, the definition covers discovery, required inputs, coverage scope, error behavior, and authentication. Without an output schema, some return-value detail is missing, but the core invocation contract is adequately described.

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%, and the schema itself explains domain, recipe_name, and params with examples. The description reinforces that the values must match what list_recipes returned and that params are named, but adds little beyond the schema.

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?

Uses a specific verb (execute) and resource (public recipe), and clearly distinguishes this from list_recipes and dedicated recipe-specific tools by stating it covers recipes without a dedicated tool. The first sentence alone lets an agent identify the tool's role.

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

Usage Guidelines5/5

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

Explicitly says to use a recipe discovered with list_recipes and pass its exact domain, recipe_name, and named params. It also explains the key usage condition: this tool covers all public recipes, including those without a dedicated tool. That is clear routing guidance.

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.

Resources