Skip to main content
Glama

Find ad rules without a category

list_unassigned_ad_rule_targets
Read-only

Get Ad Rule Unassigned Targets

When to use: 광고비가 카테고리 미귀속('-')으로 새고 있는 규칙을 찾을 때. 저장된 규칙 전체를 훑어 대상상품에 카테고리가 안 붙은 건을 규칙별로 모아준다.

When NOT to use: 저장 전 단일 규칙의 카테고리만 보고 싶으면 preview_ad_rule_category.

Limitations: 탐지만 한다 — 고치려면 그 기초상품에 카테고리를 부여해야 하며 규칙 수정으로는 해결되지 않는다. 카테고리 lookup 이 판매 이력 기반이라, 단종·미판매 상품은 실제로는 매칭돼 있어도 '-'로 잡힐 수 있다(오탐 방향). 금액은 알려주지 않는다 — 규모가 필요하면 list_ad_rule_category_divergence. data_management:read 권한 필요.

Examples:

  • Q: 카테고리가 안 붙어서 광고비가 새고 있는 규칙을 찾아줘 params: {}

Output shape: object: 미귀속 규칙 수·대상상품 총건수 + 규칙별 미귀속 대상상품

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

Input Schema

NameRequiredDescriptionDefault
providerNo광고 매칭 규칙 다운로드 시 포함할 규칙 종류 필터. URL(랜딩 URL 매칭) 은 "광고 규칙 시트" 대상이 아니므로 제외한다.
project-idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description adds substantial behavior on top: it is detection-only (fixing requires assigning a category to the base product, not editing the rule), the category lookup is sales-history based so discontinued/unsold products can be false positives in the '-' direction, no monetary amounts are returned, and data_management:read permission is required.

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 sectioned layout (When to use / When NOT to use / Limitations / Examples / Output shape) makes it scannable, and each limitation carries real information. Points off for the redundant title-restating first line and the mixed English/Korean prose, which slows parsing slightly.

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 two-optional-parameter read tool, the definition covers the essential ground: routing, detection-only semantics, false-positive direction, permission requirement, and even an output shape (an output schema also exists, so return values are doubly covered). The remaining gap is that neither optional filter parameter is described anywhere, leaving an agent unsure whether passing provider or project-id narrows the sweep.

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 50%: provider has an enum plus a description, while project-id has neither a title description nor any note here. The description never explains what provider (all/rule/manual) or project-id do for this tool, though the example 'params: {}' does signal that it can be called with no arguments. That is a modest hint rather than real parameter meaning.

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 body states a concrete action: sweep all saved rules and aggregate, per rule, the target products that have no category attached (spend leaking into '-'). That is specific enough to separate it from preview_ad_rule_category and list_ad_rule_category_divergence. The only weakness is that the headline 'Get Ad Rule Unassigned Targets' merely restates the title, so the real purpose statement has to be dug out of the 'When to use' block.

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 gives an explicit 'When to use' condition, an explicit 'When NOT to use' with the named alternative (preview_ad_rule_category for a single un-saved rule), and a second routing hint to list_ad_rule_category_divergence when monetary scale is needed. Nothing about tool selection 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.

Resources