Skip to main content
Glama

Find healthier alternatives

find_healthier_alternatives
Read-onlyIdempotent

Finds similar products in the same Open Food Facts category that score clearly higher than the given product, best first, each with its score.

Input Schema

NameRequiredDescriptionDefault
limitNo
barcodeYesBarcode of the product to beat.
countryNoOnly suggest products sold in this country, e.g. 'united-states'.

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 readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context — results are ordered best-first, drawn only from the same category, and each carries its score — but the key decision threshold ('clearly higher') is never quantified, which is a meaningful gap for a ranking tool.

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?

A single front-loaded sentence that gets the core operation out first, then qualifies it with category scope, ranking, and return content. No filler, though the clause stacking makes it slightly dense to parse.

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?

With no output schema, the description does cover the return shape (alternatives with scores, best first), which is appropriate. However, it omits the 'clearly higher' threshold definition and the semantics of limit, both of which an agent needs to invoke and interpret results correctly.

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 67%: barcode and country are documented in the schema, while limit has no description anywhere. The description reinforces barcode ('the given product') and implies a capped, ordered result set, but never clarifies what limit controls or the default. It neither compensates for the gap nor adds much beyond the schema.

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?

The description states a specific verb (finds) and resource (similar products scoring higher), plus the scoping constraint (same Open Food Facts category) and result ordering. It is clear enough that the agent can distinguish it from the safety/additive-oriented siblings, though it does not explicitly contrast itself with them.

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 statement of when to use this tool versus alternatives, nor any when-not conditions or prerequisites. Usage is only implied by the tool name and the phrase 'given product', leaving the agent to infer the trigger context.

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.