Skip to main content
Glama

search_food_cards

Search and filter NomGacha Series 01 food TCG cards by keyword, rarity, Nutri-Score, category, country, calories, or Healthy Counter eligibility to find matching cards.

Instructions

Search and filter NomGacha Series 01 real food TCG cards (224 curated Open Food Facts products) by keyword, rarity, Nutri-Score, category, country, calories, or Healthy Counter eligibility.

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_food_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax cards to return (1–30)
nutriNoFilter by Nutri-Score grade: a, b, c, d, or e
queryNoKeyword to match against product name, brand, or flavor text
rarityNoFilter by card rarity tier: N, R, SR, SSR, or UR
sortByNoSort field (descending except serial num which is ascending)atk
countryNoISO 2-letter country code (e.g., FR, US, DE, GB, AU)
maxKcalNoMaximum kcal per 100g
minKcalNoMinimum kcal per 100g
categoryNoFilter by category: sweet, savory, drink, healthy, or weird
healthyCounterOnlyNoIf true, return only cards that trigger Healthy Counter ×1.5 CRIT (Nutri-Score A/B or DEF >= 540)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 burden; it discloses useful domain context (a fixed 224-card corpus, the Healthy Counter ×1.5 CRIT mechanic behind healthyCounterOnly). It does not state that the operation is read-only/non-mutating, nor anything about result ordering behavior beyond what the schema's sortBy already says, nor about empty-result handling.

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?

A single front-loaded sentence with the resource scope first and the filter list second; no filler. It is dense and slightly run-on, but every clause (series, corpus size, filter axes) carries information.

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?

With 10 optional parameters, no annotations, and no output schema, the definition still gives the agent enough to call correctly because the schema is fully documented. The residual gap is return-shape guidance — nothing describes what a returned card contains or how the limit interacts with the 224-card corpus.

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 100%, so the baseline is 3. The description's list of filter axes mirrors the schema properties rather than adding meaning (e.g., it does not explain how minKcal/maxKcal interact, whether query combines with other filters as AND, or how rare 'weird' category is defined).

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 names a specific verb ('Search and filter') and a precisely bounded resource ('NomGacha Series 01 real food TCG cards, 224 curated Open Food Facts products'), then enumerates the filter axes. This clearly separates it from the singular get_food_card, but it never explicitly says 'this returns many cards; use get_food_card for one'.

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 enumeration of filter dimensions, so an agent can infer this is the discovery tool versus get_food_card or calculate_nutrition_card_stats. There is no explicit when-to-use/when-not guidance and no mention of what to do when zero results match or when a specific card is already known.

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