Skip to main content
Glama

Halal or Not: Find products by name and check them

halalornot_search_products
Read-onlyIdempotent

Halal or Not. Find products by name and check them. Searches Open Food Facts by name or brand (for example 'Haribo Starmix') and returns up to five matches, each with a verdict, plus a 'say' line for the best match. Where a brand states the source of an ingredient its label leaves unnamed (Haribo: pork gelatine in its standard UK range), that statement decides it and is quoted in brand_statement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesA product, brand or barcode to look up, for example Haribo Starmix or 5000159484695.
countryNoOpen Food Facts country slug, for example united-kingdom, united-states, france. 'world' means no filter. Also picks the Amazon store for halal versions (amazon.co.uk for the UK and Ireland).united-kingdom

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"Open Food Facts country slug, for example united-kingdom, united-states, france. Use 'world' for no filter. Also picks the Amazon store for halal versions (amazon.co.uk for the UK and Ireland)."New value: +"Open Food Facts country slug, for example united-kingdom, united-states, france. 'world' means no filter. Also picks the Amazon store for halal versions (amazon.co.uk for the UK and Ireland)."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive behavior, so the bar is lower. The description still adds real value beyond them: it discloses that up to five matches are returned, that each carries a verdict, that a 'say' line exists for the best match, and that brand statements can override an unnamed ingredient source.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The substantive content (search scope, result shape, brand_statement rule) is useful and reasonably front-loaded, but the opening two sentences largely restate the title and name, spending words without adding information. Middle-heavy rather than tight.

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 no output schema, the description carries the return-value burden and does so: match count, verdict field, 'say' line, and brand_statement. Combined with annotations covering safety, an agent has enough to invoke correctly, though sibling routing remains thin.

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 both q and country are already documented in the schema, including the barcode example and country slug semantics. The description repeats the 'Haribo Starmix' example but adds nothing about the country parameter or the Amazon-store side effect, so it sits at the baseline.

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: searches Open Food Facts by name or brand and returns products with a verdict. The name/brand vs barcode framing implicitly separates it from halalornot_check_product_by_barcode, though it never names a sibling. An agent can identify what it does but must infer differentiation.

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?

Implied usage via 'Find products by name and check them' and the name/brand example, but there is no explicit when-to-use or when-not guidance, and the obvious alternative (halalornot_check_product_by_barcode) is not mentioned. Context is present but leaves routing to inference.

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.