Skip to main content
Glama

alert_search

PRO. Full alert detail (products, batch codes, best-before, risk statement) for alerts matching keyword/allergen/type over the last ~200 alerts.

Input Schema

NameRequiredDescriptionDefault
kindNoallergy | recall | action
keywordNo
access_tokenNoSubscriber token from /success (or Authorization: Bearer)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry behavior, and it does disclose the return payload fields and the ~200-alert scope bound. It omits that access_token is required for subscriber access, whether results are paginated, and what happens when nothing matches—gaps that matter for an unannotated 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?

One tightly packed sentence that front-loads the return payload, which is what distinguishes this tool. The 'PRO.' prefix is noise that doesn't earn its place.

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?

No output schema exists, and the description does a reasonable job of enumerating returned fields. However, for a 3-parameter search with no annotations and zero required parameters, the definition should clarify auth/tier requirements and the behavior with no matches or an empty result set.

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%; the description loosely maps its 'keyword/allergen/type' phrasing onto keyword, kind, and the allergen concept. It adds no matching semantics, wildcard behavior, or explanation of how allergen filtering differs from keyword search, so it does little 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 names a specific resource (alerts) and states exactly what is returned (products, batch codes, best-before, risk statement) plus the scope (~last 200 alerts). It is distinguishable from latest_alerts/new_since by being a filtered search rather than a recency feed, though it never names those siblings directly and the leading 'PRO' tier marker is unexplained.

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?

Usage is implied by 'matching keyword/allergen/type', giving an agent a rough sense of when this applies, and the ~200-alert window hints at its limits. But there is no explicit when-to-use versus latest_alerts/new_since/watchlist, and no stated fallback when the alert is outside the search window.

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.