Skip to main content
Glama

Search published ingredient facts

search_ingredients
Read-onlyIdempotent

Search published ingredient facts. Returns public catalog data with source links and credits.

Input Schema

NameRequiredDescriptionDefault
qNoLiteral, case-insensitive name substring. Surrounding whitespace is trimmed.
limitNoDecimal integer page size. Leading zeros, signs and fractions are rejected.
courseNoOne exact normalized course. No legacy-station fallback.
offsetNoDecimal integer ingredient result offset. Leading zeros, signs and fractions are rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / offset / description
      Previous value: -"Decimal integer result offset. Leading zeros, signs and fractions are rejected."New value: +"Decimal integer ingredient result offset. Leading zeros, signs and fractions are rejected."
    • changedInput schema / properties / offset / maximum
      Previous value: -500New value: +2000
  2. Changed1 schema field changed
    • addedInput schema / properties / course / type
      Added value: +"string"
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context — results are public catalog data with source links and credits — but says nothing about ordering, total counts, or how limit/offset paging behaves at the edges (offset max 2000).

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

Conciseness5/5

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

Two short sentences, front-loaded with the purpose and followed by the return-content note. Nothing redundant and nothing padded.

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 briefly (public catalog data, source links, credits). Given full schema coverage and rich annotations, the only real gap is result ordering/pagination semantics, which is minor for a search tool.

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 every parameter (q, limit, course, offset) is already documented in the schema, including enum values and validation rules. The description adds no parameter meaning beyond that, which is the expected baseline when the schema does the work.

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?

Clear verb+resource ("Search published ingredient facts") scoped to the published subset of the catalog. It distinguishes itself implicitly from get_ingredient by being a search, but it never names its siblings (search_flours, search_pizzas, get_ingredient) or explains what makes an ingredient search different from a flour or pizza search.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The word "published" implies a scope restriction (unpublished ingredients are not returned), but the agent must infer this and receives no routing help between this tool and search_flours/search_pizzas/get_ingredient.

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.

Resources