Skip to main content
Glama

Halal or Not: Explain one ingredient or E-number

halalornot_explain_ingredient
Read-onlyIdempotent

Halal or Not. Explain one ingredient or E-number. For example 'E471', 'carmine', 'prawns', 'whey' or 'alcohol denat'. Returns the verdict for each school and the reasoning.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe ingredient or E-number, for example E471, carmine, gelatin or alcohol denat.
contextNoWhether the ingredient is in food or a cosmetic. Defaults to food.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, open-world lookup, so safety is covered. The description adds genuine value by disclosing the return shape ('verdict for each school and the reasoning'), which matters since there is no output schema, but it says nothing about unknown-ingredient handling or the effect of ambiguity.

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?

Three short sentences, front-loaded with the tool's identity and purpose, with zero filler. The opening 'Halal or Not. Explain one ingredient or E-number.' largely restates the title, which is mild redundancy but not harmful.

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?

For a two-parameter lookup with no output schema, the description adequately conveys that a per-school verdict plus reasoning is returned. It omits how the cosmetic/food context changes the verdict and how unrecognized inputs are handled, leaving the agent without full expectations.

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 parameters are already documented, including the food/cosmetic enum with its default. The description's examples (E471, carmine, prawns, whey, alcohol denat) overlap the schema's own examples and add no new semantics; baseline 3 applies.

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 ('explain') and resource ('one ingredient or E-number') and gives concrete example inputs, so the agent knows exactly what it retrieves. It does not, however, differentiate itself from the sibling halalornot_check_ingredients (bulk ingredient list) or halalornot_ask_is_it_halal, so the agent must infer the boundary.

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

Usage Guidelines2/5

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

No when-to-use guidance, no exclusions, and no alternative named. The description never says to use this for a single ingredient versus check_ingredients for a full product list, nor does it mention what happens if the ingredient is unknown.

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.