Skip to main content
Glama

create_widget

Creates a new payment widget with a unique key, name, payment type, and optional template so you can set up a checkout interface for Bootpay payment flows.

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": {
      "key": "<key>",
      "name": "<name>"
    },
    "name": "create_widget"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes위젯 고유 키 (영문, 숫자, 하이픈 조합)
nameYes위젯 이름 (예: "기본 결제 위젯")
typeNo위젯 타입 (0: 일반결제, 1: 기본결제, 2: 구독결제)
template_keyNo사용할 템플릿 키 (list_widgets에서 templates 확인)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.15.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false and openWorldHint=true, so the write/external nature is covered. The description adds genuinely new context beyond them: the authentication requirement and the project-selection prerequisite, both of which affect whether the call will succeed. It does not describe what happens if the key already exists, which would have pushed this higher.

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?

Three short sentences with the purpose front-loaded and the blocking prerequisite called out with a warning marker. The middle sentence enumerating fields is largely redundant against the schema, which is the only wasted material.

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

Completeness4/5

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

For a 4-parameter creation tool with full schema coverage, no output schema, and annotations covering the safety profile, the description supplies the missing operational context (auth + project prerequisite). Nothing critical is absent, though a note on duplicate-key behavior or what the response contains would make it complete.

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%, with each of the four parameters documented (including type values 0/1/2 and the template_key pointer to list_widgets). The description only restates the same field list, adding no syntax, format, or constraint detail beyond the schema, so the baseline 3 applies.

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 opens with a specific verb+resource in Korean: '새 결제 위젯을 생성합니다' (create a new payment widget), and lists the configurable fields (key, name, type, template). An agent can distinguish it from update_widget/configure_widget by the 'create' verb, though no sibling is named explicitly.

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 states a concrete precondition — if no project is selected, call browser_select_project first — and notes login is required. It gives no guidance on when to use this versus configure_widget or update_widget, but the create-vs-modify split is reasonably clear from the verb.

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