Skip to main content
Glama

Summarize ad product match search

get_ad_relation_search_meta
Read-only

Search Ad Relation Meta

When to use: 광고 소재↔상품 연결 검색의 메타 정보(총 건수·집계)를 얻을 때. 결과 페이지를 넘기기 전 전체 규모를 파악하는 용도.

Limitations: 조회 전용 POST(query-by-body). body 는 search_ad_relations 와 동일한 필터 조건. data_management:read 권한 필요.

Examples:

  • Q: 구글 광고 소재의 상품 연결이 총 몇 건인지 알려줘 params: {'body': {'ad_channel_names': ['GOOGLE']}}

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

Input Schema

NameRequiredDescriptionDefault
sortNoASC
limitNo
offsetNo
order_byNo
priorityNo
shop_idsNo
product_idNo
project-idNo
landing_urlNo
mapping_nameNo
product_nameNo
ad_id_or_nameNo
rule_conditionNo
ad_channel_namesNo
adset_id_or_nameNo
is_product_mappedNo
mapped_cnt_bucketsNo
campaign_id_or_nameNo
ad_account_id_or_nameNo
end_date_for_first_adNo
relation_provider_typeNo
relation_provider_typesNo
start_date_for_first_adNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already carry readOnlyHint=true and destructiveHint=false, and the description usefully adds that the endpoint is a read-only POST with a query-by-body contract, that the body reuses search_ad_relations filter semantics, and that data_management:read permission is required. That reconciles the POST verb with the read-only annotation rather than contradicting it. It does not cover rate limits or what aggregation dimensions are returned, which keeps it below a 5.

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 definition is front-loaded with purpose, then when-to-use, limitations, an example, and output shape — a clean structure with no padding. The redundant 'Search Ad Relation Meta' heading and the bilingual mixing add minor noise but no real waste.

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?

Safety behavior is covered by annotations and return values by the output schema, so those need no prose. However, a 23-parameter tool with zero schema description coverage is only partially covered by a pointer to search_ad_relations filters plus one example, leaving the parameter surface materially under-explained.

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

Parameters2/5

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

With 23 parameters and 0% schema description coverage, the description carries the full explanatory burden, yet it only says the body matches search_ad_relations filter conditions and shows one example field (ad_channel_names). None of sort, limit, offset, order_by, mapped_cnt_buckets, or the date-range fields are explained, so an agent cannot tell which of the 23 inputs actually affect a count query.

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 states a specific operation: retrieving meta information (total count and aggregates) for an ad-creative↔product relation search. The 'when to use' line clarifies it is for gauging overall scale before paging through results, which distinguishes it from a row-returning search. The header 'Search Ad Relation Meta' is redundant with the title, and it never names search_ad_relations outright as the sibling it complements, keeping it from 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'When to use' is explicit — get meta/total-count information before paging results — and the limitation section ties the body filters to search_ad_relations, implying that tool for actual rows. It stops short of an explicit 'use search_ad_relations instead for row data' exclusion, so the routing is inferred rather than stated.

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