Skip to main content
Glama

리콜·행정처분 시계열 추이

get_compliance_trends
Read-only

일일 스냅샷 기반으로 전일 대비 리콜·행정처분·금지성분 기준의 신규/변경/삭제 건수와, 최근 N일(기본 30) 급증 폼목군·위해유형·위반법령을 반환합니다. 스냅샷이 없으면 '없음'을 그대로 밝히며 0을 꾸며내지 않습니다.

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_compliance_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo조회 기간(일). 기본 30, 최대 90
as_ofNo기준일 YYYY-MM-DD(기본 오늘)
limitNo급증 표 행 수
sourceNoall

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds real behavioral context beyond that: the data source is daily snapshots, the comparison baseline is the previous day, and — most usefully — it discloses that a missing snapshot is reported as '없음' rather than backfilled with fabricated zeros, which tells the agent how to interpret empty results.

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 sentences, front-loaded with the core output and followed by the honesty caveat about missing snapshots; nothing is padding. The first sentence is long and stacks several output categories, which costs a little readability but not correctness.

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

Completeness4/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 carries the burden of describing returns, and it does so adequately: day-over-day change counts, surge dimensions, and the empty-snapshot case. It stops short of describing the shape of the surge table or how as_of interacts with the snapshot baseline, a modest gap for a read-only aggregate tool.

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 75%, so the schema already documents most parameters, and the description's only parameter-adjacent statement (recent N days, default 30) restates what the schema says. It adds no meaning for as_of, limit, or the six source enum values (including cosmetic_restricted, drug_schedule), which an agent must read from the schema alone.

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 (recall/administrative-disposition/prohibited-ingredient time-series) and the concrete outputs: day-over-day new/changed/deleted counts plus recent-N-day surge item groups, hazard types, and violated statutes. An agent can tell this is an aggregate trend tool rather than a single-record lookup, though it never names a sibling such as lookup_recall to sharpen the boundary.

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 only implied: 'daily snapshot based' and 'recent N days' signal this is for longitudinal trend analysis, while record-level siblings presumably answer per-item questions. There is no explicit when-to-use/when-not-to-use statement and no named alternative, so the routing decision is left to inference.

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.