Skip to main content
Glama

search_recipes

Find production recipes by building ticker, required input materials, or produced output materials. Filter for recipes that use all specified inputs or yield all specified outputs.

Instructions

Search recipes by building, input materials, or output materials.

Args:
    building: Building ticker to filter by (e.g., "PP1", "FP").
    input_tickers: Input material tickers (e.g., ["GRN", "BEA"]).
                   Returns recipes that use ALL specified materials.
    output_tickers: Output material tickers (e.g., ["RAT"]).
                    Returns recipes that produce ALL specified materials.

Returns:
    TOON-encoded list of matching recipes.

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

Input Schema

NameRequiredDescriptionDefault
buildingNo
input_tickersNo
output_tickersNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behaviors: results are TOON-encoded and multi-ticker filters use AND semantics ("ALL specified materials"). It omits read-only confirmation, result limits/pagination, and what happens when all filters are null.

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?

Front-loaded purpose sentence followed by a compact Args/Returns block; every line carries information. The literal 'Args:' formatting is slightly mechanical but costs little.

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?

An output schema exists, so return values need only a format note, which is provided. With all three optional parameters documented and the AND semantics explained, the definition is adequate for a three-filter search tool; only cross-filter combination and empty-filter behavior are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 largely does: all three parameters are defined with concrete ticker examples ("PP1", "FP", ["GRN", "BEA"], ["RAT"]) and the AND-combination rule for lists. It doesn't state whether filters combine with each other as AND or OR.

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 names a specific verb (search) and resource (recipes) and enumerates the three filter dimensions. It is clear enough to distinguish from retrieval siblings like get_recipe_info, though it never explicitly contrasts with them.

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 implied by the filter dimensions — an agent can infer to use this when hunting for recipes by building or materials — but there is no explicit when-to-use/when-not guidance and no named alternative such as get_recipe_info for single-recipe lookups.

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