Skip to main content
Glama

Tw Fda Notices

Tw Fda Border Search

tw_fda_border_search
Read-onlyIdempotent

Search Taiwan Food and Drug Administration (食品藥物管理署) notices of imported food and food-related products that failed border inspection (邊境查驗不合格), since 2023: which importer (company) brought in what, from which country, what it failed on (pesticide residue, heavy metals, additives, microbes), the measured value against the legal limit, the foreign manufacturer or exporter, weight and the disposition (return or destroy). Newest first. query is matched in Chinese on product, importer, exporter, brand and failure text (e.g. 辣椒, 蘇丹, 農藥); origin is a country in Chinese (越南, 中國大陸); date_from/date_to filter the publication date. FIRMS ONLY: importer street addresses are never returned and rows whose importer is not clearly a firm are counted in skipped_possible_individuals. Zero matches says so and is distinct from an unreadable source. Example: query="辣椒", date_from="2025-01-01".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 3,
      "query": "辣椒"
    },
    "name": "tw_fda_border_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum notices to return (1-50, default 10).
queryNoChinese words matched on product, importer, exporter, brand and failure text, e.g. 辣椒, 農藥, 公司 name. Optional.
offsetNoNotices to skip, for paging (default 0).
originNoCountry of origin in Chinese, e.g. 越南, 中國大陸, 日本.
date_toNoOnly notices published on or before this ISO date (YYYY-MM-DD).
date_fromNoOnly notices published on or after this ISO date (YYYY-MM-DD).

Output Schema

NameRequiredDescriptionDefault
noteNo
foundNo
queryNo
sourceNo
noticesNo
returnedNo
searchedNo
truncatedNo
data_as_ofNo
total_matchingNo
skipped_possible_individualsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare a safe, read-only, idempotent, open-world search, so the description earns credit for the extra context it adds: results are newest first, source coverage begins in 2023, importer street addresses are never returned, and zero matches are explicitly distinct from an unreadable source. That error/empty-state distinction and the privacy constraint are behavioral facts an agent cannot get from the annotations or schema.

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?

The definition front-loads the resource and scope, then layers filtering semantics and finally a concrete example call at the end. It is dense — a single long paragraph packing many clauses — but nearly every clause carries information an agent needs, with only the parenthetical Chinese glosses bordering on redundant.

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 six-parameter, zero-required search with an output schema and full annotation coverage, the description supplies everything still missing: what the corpus contains, how each filter is interpreted, ordering, the firms-only privacy rule, and empty-versus-error behavior. Nothing needed to call the tool correctly is absent.

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 3 would be the floor, but the description still adds real meaning: it tells the agent the query is matched in Chinese across product, importer, exporter, brand and failure text, with example terms tied to failure categories (辣椒, 蘇丹, 農藥), and that origin must be a Chinese country name (越南, 中國大陸) and dates filter publication date rather than inspection date. This goes beyond the schema's field-level notes.

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 (Search) and resource (Taiwan FDA border-inspection failure notices for imported food), and enumerates exactly which fields are exposed (importer, origin country, failure reason, measured value vs legal limit, manufacturer, weight, disposition). This makes it easy to separate from siblings such as tw_fda_drug_recall_search, which covers a different product domain.

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

Usage Guidelines4/5

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

The description defines the applicable scope clearly (imported food and food-related products, since 2023, newest first) and includes an explicit exclusion, 'FIRMS ONLY', with the caveat that non-firm rows are dropped into skipped_possible_individuals. It never names a sibling as the alternative for a related question, so the routing guidance is implied rather than spelled out.

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.