Skip to main content
Glama

Search product option matches

search_item_relations
Read-only

Search Item Relations

When to use: 옵션(채널 상품)↔기초상품 연결(relation)을 브랜드·채널·상품·매핑여부 등 필터와 페이지네이션으로 검색할 때.

Limitations: 조회 전용 POST(query-by-body). body 로 필터(channel_names·brand_names·product_id·is_item_mapped 등)와 페이지네이션(limit/offset)을 넘긴다.

Examples:

  • Q: 아직 기초상품에 매핑되지 않은 옵션 50개만 찾아줘 params: {'body': {'is_item_mapped': False, 'limit': 50}}

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

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, so the description earns credit for what it adds on top: that this read is a POST with a query in the body, that pagination is limit/offset, and that the result is a list of relation rows. The explicit read-only POST note is genuinely useful, since a POST verb would otherwise suggest mutation.

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 the tool name, then when-to-use, limitations, example and output shape in a short, scannable block. The opening line merely restates the title/tool name, and the bilingual framing could be tighter, but no paragraph is wasted.

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 only a nod, which the 'Output shape: list' line supplies. The real gap is the 25-parameter surface: an agent still has no idea what most filters mean or how the body should be shaped, which is significant for a query tool of this size.

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 parameters, so the description carries the full burden, yet it names only channel_names, brand_names, product_id, is_item_mapped, limit and offset. Nothing explains sort, order_by, priority, rule_condition, relation_provider_*, all_orders_undispatched, or the date-range fields. The single example also passes filters under a 'body' key that does not exist in the flat input schema, which muddies rather than clarifies how to call it.

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 names a specific verb and resource: searching option(channel product)↔base product relation rows, with filters and pagination. That is far more concrete than the bare tool name, though it never names a sibling (e.g. update_item_relation, delete_item_relations, get_item_relation_search_meta) to sharpen the boundary between reading and mutating relations.

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 has an explicit 'When to use' clause covering brand, channel, product and mapping-status filtering, plus a worked example question about finding unmapped options. There is no when-NOT-to-use guidance and no pointer to a count/meta sibling, so it stops short of a 5.

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