Skip to main content
Glama

Update landing page URL mappings

update_url_mappings
Destructive

Update Url Mappings

When to use: 광고 랜딩 URL → 쇼핑몰(shop) 매핑을 저장할 때. 소재 조건이 아니라 도착 URL 의 base_url 로 어느 shop 의 광고인지 판별하는 경로다.

When NOT to use: 소재명·캠페인명 조건으로 잡으려면 URL 매핑이 아니라 광고 매칭 규칙 도구(create_ad_mapping_rule·update_ad_rule_mapping)를 쓴다. 특정 소재를 특정 상품에 붙이는 것은 update_ad_relation 이다 — 이 tool 은 shop 단위까지만 판별한다. 삭제는 delete_url_mappings.

Limitations: 🔴 상품(product) 매핑이 아니라 shop 매핑이다. body 항목은 {base_url, shop_id} 둘뿐이며 product_id 같은 필드는 받지 않는다(UpdateAdUrlMappingReq). URL 로 상품까지 특정하려는 의도라면 이 tool 로는 불가능하다. create-or-replace — 같은 base_url 의 기존 매핑을 덮어쓴다. 현재 등록된 base_url 은 MCP 도구로 조회할 수 없어 라플라스 웹 「광고 매칭」 화면에서 매칭 유형이 URL 매칭인 항목으로 확인하고, shop_id 는 상품/샵 조회 계열로 확인한 뒤 넘긴다. data_management:write 권한 필요. url_mapping 스코프 감사 이벤트로 기록되므로 복원 가능하다.

Examples:

  • Q: 이 랜딩 URL 로 들어오는 광고는 '브랜드A 스토어' 광고로 잡아줘 params: {'body': [{'base_url': 'https://shop.example.com', 'shop_id': 1}]}

Output shape: no content (성공 시 body 없음)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "body": "<body>"
    },
    "name": "update_url_mappings"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
project-idNo
auth_methodNojwt

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds meaningful context beyond that: create-or-replace semantics for the same base_url, the data_management:write permission requirement, and that changes are recorded as url_mapping audit events so they are recoverable. It also warns that currently registered base_urls cannot be listed via MCP and must be checked in the web UI, which is exactly the kind of operational caveat annotations cannot carry. The only gap is that it doesn't spell out what happens on partial failures of a multi-item body.

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 purpose, when/when-not, limitations, example, and output shape, and the critical scope constraint is front-loaded. It is long and mixes Korean with English headers, and the repeated 'Update Url Mappings' line restates the title, but no section is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating tool with no output schema, the description supplies everything needed: the write it performs, the overwrite semantics, permissions, recoverability, how to discover the required IDs, a concrete example, and even the return shape ('no content'). Nothing an agent needs to call this correctly is missing.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry the load, and it does for the important part: it states the body is exactly {base_url, shop_id}, that no product_id field is accepted, and where shop_id should be obtained. The remaining project-id and auth_method parameters are never mentioned, leaving a small compensation 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?

The description names a specific verb and resource (saving ad landing URL → shop mappings) and immediately scopes it: 'shop 단위까지만 판별한다' — it is a shop-level mapping, not a product-level one. It explicitly distinguishes itself from create_ad_mapping_rule, update_ad_rule_mapping, update_ad_relation, and delete_url_mappings, so an agent can pick it without opening any schema.

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?

There are explicit 'When to use' and 'When NOT to use' sections, each naming the sibling that covers the excluded case (creative/campaign-name conditions → ad mapping rule tools; product-level relation → update_ad_relation; deletion → delete_url_mappings). The routing is unambiguous.

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