Skip to main content
Glama

Halal or Not

Check an ingredients list

check_ingredients
Read-onlyIdempotent

Check an ingredients list. Pass the ingredients exactly as printed on the pack. Returns an overall verdict, a verdict for each school, and every flagged ingredient with the reason

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextNo'cosmetic' for products used on the skin, 'medicine' for medicines and supplements; these change how alcohol, carmine and necessity are treated.food
ingredientsYesIngredients list as printed, comma separated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds the return shape (overall verdict, per-school verdicts, flagged ingredients with reasons), which is valuable since there is no output schema, though it doesn't explain what the verdicts mean or how schools are treated.

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 action, then input guidance, then return shape. No filler, though the opening sentence restates the title.

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?

For a two-parameter, annotation-covered read tool with no output schema, the description covers the action, input expectation, and return contents. It leaves the meaning of 'school' verdicts and the effect of the context enum to the schema and sibling 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 description coverage is 100%, so both parameters are already documented, including the enum meanings for context. The description only reinforces the ingredients format ('exactly as printed'), which slightly conflicts with the schema's 'comma separated' phrasing but adds little beyond it.

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 (check) and resource (an ingredients list) plus the exact input form to supply. It doesn't explicitly name a sibling to contrast with, but the 'pass the printed ingredient text' framing implicitly separates it from barcode- or product-based siblings like check_product_by_barcode.

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?

Gives an input-format instruction ('pass the ingredients exactly as printed on the pack'), which is a genuine usage hint, but never says when to choose this tool over check_medicine, check_product_by_barcode, or ask_is_it_halal, and never explains when to set the context parameter.

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.