Skip to main content
Glama

Search pet food recalls

search_pet_food_recalls
Read-onlyIdempotent

Use this when the user asks about a recall of dog food, cat food, pet treats or other pet food, such as "dog food recall this week". Optionally pass a brand or hazard as query, and set withinDays for recent recalls, such as 7 for this week. Returns matching FDA recall announcements, newest first, with the title, date, summary and FDA link. It only sees the FDA's 20 most recent recall announcements (about three weeks) and says so, so for an older recall point the user to the FDA recalls page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_pet_food_recalls"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost recalls to return, newest first (default 5), up to 1000. At most 10 come back in one answer: a larger number is read as 10, and the answer says so.
queryNoOptional brand or hazard to look for, such as "Purina" or "salmonella"; leave out to list every recent pet food recall
withinDaysNoOnly announcements from the last this many days, such as 7 for this week

Output Schema

NameRequiredDescriptionDefault
queryNo
noticeYes
statusYes
matchesNo
messageNo
recallsNo
coveredFromNo
moreAvailableNo
otherPetFoodRecallsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Most recalls to return, newest first (default 5)"New value: +"Most recalls to return, newest first (default 5), up to 1000. At most 10 come back in one answer: a larger number is read as 10, and the answer says so."
    • changedInput schema / properties / limit / maximum
      Previous value: -10New value: +1000
  2. Changed1 schema field changed
    • removedOutput schema / properties / note_from_openkrill
      Removed value: -{
      -  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      -  "type": "string"
      -}
  3. Changed1 schema field changed
    • addedOutput schema / properties / note_from_openkrill
      Added value: +{
      +  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedOutput schema / properties / otherPetFoodRecalls
      Added value: +{
      +  "type": "integer"
      +}
  5. Changed1 schema field changed
    • removedOutput schema / properties / otherPetFoodRecalls
      Removed value: -{
      -  "type": "integer"
      -}
  6. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description still adds the single most important behavioral limit: coverage is capped at the FDA's 20 most recent announcements, roughly three weeks, and the tool self-discloses this to the user. It also gives the returned fields and ordering, so an agent knows what evidence it will have and when to caveat.

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?

Three sentences, front-loaded with the selection trigger, then parameter mapping, then return shape and the coverage caveat. Every sentence carries distinct information with no repetition of the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, filter-based search tool with a full schema and an output schema, the description covers selection trigger, parameter intent, return shape, ordering, and the key data-coverage limitation plus the escalation path for misses. Nothing an agent needs to call it correctly or to explain gaps to a user is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds interpretive value by mapping natural language to parameters: brand or hazard for query, and "7 for this week" for withinDays. It does not restate the schema-level limit cap semantics (the 10-result ceiling), leaving that to the schema, which is acceptable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource (recall search) and narrows the domain precisely to dog food, cat food, pet treats and other pet food, which distinguishes it from human food/drug and general product recall siblings without needing their names. It also states the result ordering (newest first) and the source (FDA recall announcements).

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

Usage Guidelines5/5

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

It opens with an explicit when-to-use trigger tied to a natural user utterance ("dog food recall this week") and closes with an explicit when-not: the tool only sees the 20 most recent FDA announcements (~3 weeks), so older recalls should be routed to the FDA recalls page. That is both a usage condition and a named alternative destination.

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.