Skip to main content
Glama

查詢台灣食藥署公布的違規食品廣告

get_food_ad_violations
Read-onlyIdempotent

查詢台灣食藥署公布的違規食品廣告(誇大療效等)。使用者問「這個保健食品廣告合法嗎」時使用。

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": "get_food_ad_violations"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo最近幾天,預設 180
keywordNo產品或業者名稱

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/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 that the data source is government-published violations, which hints at coverage limits, but it never warns that an empty result does not mean an ad is legal — a material caveat for this lookup. Return shape and freshness/staleness are also unstated.

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?

Two short sentences, scope first and trigger second, with no filler. It is well front-loaded; only the parenthetical example slightly crowds the first sentence.

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?

The tool is simple (two optional params, no output schema, no nesting) and the description covers what and when. What it omits is how results should be interpreted — that only published violations appear and absence of a hit is not an approval — which matters for a compliance-oriented lookup.

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%, with both parameters documented, including the 180-day default for days and that keyword matches product or business name. The description adds no extra semantics such as matching behavior or whether keyword is a substring search, so the baseline 3 applies.

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 gives a specific verb-plus-resource: querying violating food advertisements published by Taiwan's FDA, with an illustrative example of violation type (誇大療效). This clearly separates it from recalls and international alerts among the siblings, though it does not explicitly name a boundary against check_product_safety.

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?

It supplies a concrete trigger question — '這個保健食品廣告合法嗎' — that tells the agent exactly when to reach for this tool, which is stronger than a vague 'use for ads'. It stops short of exclusions, e.g. it never says to prefer get_drug_recalls or get_international_food_alerts for non-food or non-Taiwan cases.

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