Skip to main content
Glama

List ad matching rules

list_ad_mappings
Read-only

Get All Ad Mappings

When to use: 고객의 광고 소재↔상품 연결 매핑 규칙 목록 전체를 조회할 때. 어떤 광고 매핑 규칙(MANUAL/URL)이 설정돼 있는지 파악하는 진입점.

Limitations: 본인(admin) 규칙만. 조회 시 MANUAL/URL 기본 매핑이 없으면 자동 생성해 포함한다(멱등). 파라미터 없음. 규칙별 실제 적용 건수는 get_ad_mapping_counts. data_management:read 권한 필요.

Examples:

  • Q: 광고 매칭 규칙 목록 보여줘 params: {}

Output shape: list: 광고 매핑 규칙 목록(조건·우선순위·매핑 대상)

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

Input Schema

NameRequiredDescriptionDefault
project-idNo
auth_methodNojwt

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that only the caller's (admin) rules are returned, that a data_management:read permission is required, and – most valuably – that missing MANUAL/URL default mappings are auto-created on read (idempotent). That auto-creation is a state change sitting behind readOnlyHint=true, which the agent should know about. It stops short of describing pagination or ordering guarantees.

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?

Well-structured with labeled When to use / Limitations / Examples / Output shape sections and the operative guidance front-loaded. The redundant English title line ('Get All Ad Mappings') restating the tool name and the mixed-language prose cost a little, but nothing is bloated.

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 an output schema present, the return shape is already covered, and the description still helpfully summarizes it in one line. Permission requirements, scoping, and the auto-creation side effect are all covered. The one real hole is the unexplained project-id and auth_method parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description asserts '파라미터 없음' (no parameters), yet the schema exposes project-id and auth_method with 0% description coverage. An agent trusting the prose would omit project-id entirely and could silently fetch the wrong project's rules, so the description actively misleads rather than compensating for the schema gap.

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?

Names a concrete resource (ad creative↔product mapping rules) with an explicit read verb, and states the scope of what comes back (MANUAL/URL rules with condition, priority and target). It also distinguishes itself from get_ad_mapping_counts, which returns per-rule applied counts, so the agent can separate the two without opening a schema.

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 'When to use' line explicitly frames this as the entry point for discovering which mapping rules exist, and the Limitations line routes the agent elsewhere (get_ad_mapping_counts) for actual application counts. It does not explicitly exclude sibling list tools such as list_item_mappings, but the context given is clear enough to choose.

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