Skip to main content
Glama

update_widget

Idempotent

Update payment widget settings to customize payment methods, terms, display order, styles, and configuration for Bootpay checkout.

Instructions

결제 위젯의 결제수단 설정, 약관, 순서 등을 업데이트합니다. ⚠️ 프로젝트가 선택되지 않았으면 먼저 browser_select_project로 프로젝트를 선택하세요. (로그인 필요)

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": {
      "widget_key": "<widget_key>"
    },
    "name": "update_widget"
  }
}

Input Schema

NameRequiredDescriptionDefault
ordersNo주문 설정 객체 — 기본값: {}
stylesNo스타일 설정 객체
configsNo설정 객체 — 기본값: { card: { interest: [] } }
sandboxNo샌드박스(개발) 환경 설정 여부
paymentsNo결제수단 설정 객체 — { method_alias: [{ alias, ecc, pa_id, pg_id, pm_id, priority, use_direct_call, credit_cards }] }
widget_keyYes위젯 키
method_ordersNo결제수단 노출 순서 배열

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.15.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent, open-world write, so the description needn't restate safety. The description adds real value beyond them by surfacing the auth requirement (로그인 필요) and the project-selection prerequisite, which are not in the annotations. It stops short of explaining whether omitted fields are preserved or reset, which matters for an update tool.

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?

Two sentences, front-loaded with the action and immediately followed by the blocking prerequisite. The hedge '등을' adds slight vagueness but nothing is wasteful. Structure is appropriate for a tool with a hard precondition.

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?

For a seven-parameter mutation tool with nested objects and no output schema, the description covers the prerequisite and auth but leaves the update semantics undefined. An agent cannot tell whether providing only widget_key and payments leaves orders/styles untouched or clears them. That gap matters more here than the already-covered parameter shapes.

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

Parameters3/5

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

Schema description coverage is 100%, so all seven parameters including the nested orders, payments, and method_orders objects are already documented in the schema. The description only names a few settings areas (결제수단, 약관, 순서) and notably mentions 약관, which maps to no parameter. Baseline 3 applies since the schema does the heavy lifting.

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?

States a specific verb (업데이트) and resource (결제 위젯) plus the kinds of settings affected (결제수단 설정, 약관, 순서). It does not differentiate itself from close siblings such as configure_widget or create_widget, so an agent must infer the boundary. Still, the purpose is unambiguous on its own terms.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Provides one concrete precondition: select a project with browser_select_project if none is selected, and notes login is required. It offers no guidance on when to use this versus configure_widget or create_widget, and no when-not conditions. Usage is implied rather than fully framed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools