Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Search Food Products

search_products
Read-onlyIdempotent

Find food products in the Yazio database by query, with optional filters for sex, country, and locale to match user context.

Instructions

Search for food products in Yazio database. You can optionally specify user's sex, country and locale of the products to search for.

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": {
      "query": "<query>"
    },
    "name": "search_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
sexNomale
queryYesSearch query
localesNoArray of locale codes (e.g. ["en_US", "de_US"])
countriesNoArray of country codes for product search (e.g. ["US", "DE", "TR"])

Output Schema

NameRequiredDescriptionDefault
productsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.0.21
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "products": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "amount": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "base_unit": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "countries": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "is_verified": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "language": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "nutrients": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "energy.energy": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "nutrient.carb": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "nutrient.fat": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "nutrient.protein": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "producer": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "product_id": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "score": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "serving": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "serving_quantity": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "products"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.0.12

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=true, so the safety and idempotency profile is covered. The description adds only that the search can be scoped by sex/country/locale, and says nothing about result limits, ranking, or behavior when filters return nothing.

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?

Two short sentences, front-loaded with the core action, with no filler. The second sentence is slightly redundant in restating that the listed parameters are optional, but it is not wasteful enough to penalize further.

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?

Annotations and an output schema are present, so return values need not be explained. However, for a cross-database search with four parameters, the description leaves meaningful gaps: no mention of result limits, no statement of how a multi-locale or multi-country query behaves, and no tie-in to the user-scoped product tools.

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 75%, so the schema already documents locales and countries with examples, and query/sex are self-evident with the sex enum and default. The description adds the only marginal semantic signal — that 'sex' refers to the user's sex and that all three filters are optional — but adds no detail on format or how multiple locales/countries combine.

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?

States a specific verb and resource: 'Search for food products in Yazio database.' An agent can distinguish it from retrieval-by-id tools like get_product and from user-scoped listings like get_user_products, though the description never names those siblings explicitly.

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: the description notes the optional sex/country/locale filters, which hints at filtering use cases, but it never says when to prefer this over get_user_products or get_product, nor any exclusions or prerequisites.

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