Skip to main content
Glama

get_widget

Read-onlyIdempotent

Retrieve a payment widget’s configuration details—payment methods, styling, category, and template—by widget ID so you can inspect and reuse it correctly.

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_id": "<widget_id>"
    },
    "name": "get_widget"
  }
}

Input Schema

NameRequiredDescriptionDefault
widget_idYes위젯 ID (list_widgets로 확인)

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 declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered. The description adds genuinely new operational context — the login requirement and the project-selection prerequisite — which an agent would otherwise only discover by failing. It does not mention the openWorldHint implications or pagination/response shape.

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: purpose first, returned fields second, blocking prerequisite last with a warning marker. Nothing is redundant, though the parenthetical '(로그인 필요)' is slightly tacked-on rather than integrated.

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 one-parameter read tool with no output schema, the description usefully lists what the response contains and flags the project/login prerequisites. An agent has enough to call it correctly; only the exact response structure remains unstated, which is acceptable without an output schema.

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?

There is a single parameter with 100% schema description coverage, and the schema already tells the agent the widget_id comes from list_widgets. The description's reference to a 'specific' widget adds no syntax or format detail beyond the schema, so the baseline of 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 states a specific verb and resource ('특정 결제 위젯의 상세 정보를 조회합니다') and enumerates the content returned (payment method settings, styles, categories, template info). It implicitly separates itself from get_widget_default_styles by emphasizing a 'specific' widget, but never names a sibling 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 gives concrete preconditions: a project must be selected first via browser_select_project, and login is required. It does not state when to prefer this over get_widget_default_styles or configure_widget, so the alternative-selection guidance is absent.

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