Skip to main content
Glama

Ad Compliance Check

ad_compliance_check

广告法违禁词/极限词检测。输入广告文案 text(商品标题、详情页、宣传语等),纯本地词库匹配返回:总体风险结论(通过/需修改/不通过)、命中违禁词清单(词、类别、风险级别、风险说明、法律依据、修改建议、原文上下文)、高中低风险数量统计、类别统计,以及自动打码后的安全文案。覆盖绝对化用语(国家级/最佳/第一/顶级)、医疗功效(治疗/根治/减肥)、权威背书(特供/免检)、诱导抢购(秒杀/万人疯抢)、封建迷信、投资承诺(保本/零风险)、教育培训(保过)、房产违规等9类约560词。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "ad_compliance_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
maskNo是否返回打码替换后的安全文案,默认 True
textYes待检测的广告文案全文

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly does: "纯本地词库匹配" tells the agent the result is a local dictionary match — deterministic, with no network call or data leaving the caller — and it discloses the verdict tiers (pass / needs edits / fail) and the masking behavior. It stops short of stating performance traits, whether the word list is versioned, or false-positive behavior on borderline phrasing.

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?

Front-loaded with purpose, then input expectations, then result contents, then coverage scope. Each element earns its place, though the long enumeration of return fields partially duplicates the output schema and could be trimmed without loss.

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?

For a read-only two-parameter check with an output schema, the description is nearly complete: it covers input, verdict tiers, coverage breadth, and the local/deterministic nature that the absent annotations would otherwise have to carry. The one real gap is the relationship to the sibling ad_banned_words, which the agent cannot resolve from this text.

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 100%, so both parameters are already documented and the baseline is 3. The description adds some meaning about what `text` should contain (full copy including titles, detail pages, slogans) but never mentions the `mask` parameter or when its default of True matters — notably that a masked safe copy is produced.

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?

States a specific verb+resource: detecting Advertising-Law prohibited words / absolute terms in ad copy, and enumerates the covered categories (absolute claims, medical efficacy, authority endorsement, etc., 9 categories, ~560 words). The scope is unmistakable. It does not differentiate itself from the sibling ad_banned_words, which sounds functionally near-identical, so it stops short of a 5.

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?

Gives input context by naming the kinds of copy to pass (product titles, detail pages, slogans), which implies when to reach for it. There is no explicit when-not guidance, no prerequisites, and no routing rule relative to the sibling ad_banned_words, which is the one comparison an agent most needs here.

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