Skip to main content
Glama

Summarize product option match search

get_item_relation_search_meta
Read-only

Search Item Relations Meta

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

Limitations: 조회 전용 POST(query-by-body). body 는 search_item_relations 와 동일한 필터 조건.

Examples:

  • Q: '브랜드A' 옵션의 기초상품 연결이 총 몇 건인지 알려줘 params: {'body': {'brand_names': ['브랜드A']}}

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

Input Schema

NameRequiredDescriptionDefault
sortNoASC
limitNo
offsetNo
is_giftNo
item_idNo
item_idsNo
order_byNo
priorityNo
item_nameNo
option_idNo
product_idNo
project-idNo
updated_atNo
brand_namesNo
option_nameNo
product_nameNo
channel_namesNo
is_new_optionNo
is_item_mappedNo
rule_conditionNo
relation_provider_nameNo
relation_provider_typeNo
all_orders_undispatchedNo
start_date_for_last_payNo
start_date_for_first_payNo

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 declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false. The description adds genuinely non-obvious context: it is a read-only operation implemented as a POST with query-by-body, and the body accepts the same filter conditions as search_item_relations. That resolves the confusing 'POST but read-only' combination. It does not mention rate limits or cost, which keeps it short of 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 labeled sections (When to use / Limitations / Examples / Output shape) front-load the decision-relevant information and the example is concrete. The first line merely echoes the tool name and is the only real waste; the rest is compact for a tool of this complexity.

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?

An output schema exists, so return values need not be spelled out, and the meta/count purpose is well covered. However, for a 25-parameter tool with zero schema descriptions, the definition is thin: it does not say whether pagination or sort parameters are meaningful for a meta query, nor which filter fields are commonly needed beyond the single brand_names example.

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?

Schema description coverage is 0% across 25 optional parameters, so the description bears the full burden and largely does not carry it. It only states that the body mirrors search_item_relations filters and gives a single example using brand_names, leaving the roles of limit, offset, sort, order_by, and the date/boolean filters unexplained. Delegating to a sibling's filter schema is a partial mitigation, but an agent still cannot tell which of the 25 fields matter for a count-style 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 'When to use' line states a specific purpose: obtaining meta information (total count, aggregation) for an option↔base-product relation search, to gauge overall scale before paging through results. This clearly separates it from the result-listing sibling search_item_relations. The opening line 'Search Item Relations Meta' is close to a restatement of the name, but the following sentences carry the real specificity.

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?

It gives an explicit trigger condition ('before paging result pages, when you need total size') and names search_item_relations as the tool with identical body filter conditions. It does not explicitly say 'use search_item_relations instead when you need the actual records,' but the contrast is clear enough to route an agent correctly.

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