Skip to main content
Glama

get_widget_default_styles

Read-onlyIdempotent

Retrieve default style data for general and basic payment widgets by device or style key, so you can reference them before configuring a widget.

Instructions

위젯 타입별 기본 스타일 데이터를 조회합니다. 일반결제(type=0)와 기본결제(type=1) 두 가지 기본 스타일을 확인할 수 있습니다. configure_widget 사용 전 참고용으로 활용하세요.

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

Input Schema

NameRequiredDescriptionDefault
deviceNo조회할 디바이스 타입 (pc, mobile, all)all
style_keyNo특정 스타일 키만 조회. 예: mainTheme, buttonStyle, cardStyle 등. 미지정 시 전체 스타일 반환
widget_typeNo위젯 타입 (0: 일반결제, 1: 기본결제)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.15.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds the useful point that exactly two default style sets exist (type 0 and 1), but it says nothing about the shape or volume of the returned style data, which matters for a retrieval tool with no output schema.

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, front-loaded with the purpose and ending with the actionable usage hint. There is minor redundancy in re-explaining the type=0/type=1 mapping already present in the schema, but nothing is padded or irrelevant.

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 simple three-optional-parameter read tool this is close to sufficient, and annotations cover the safety profile. However, with no output schema, the description should give at least a hint of what the default style data contains (style keys, grouping), which it omits.

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 three parameters (device, style_key, widget_type) are already documented with defaults and enum values. The description only restates the widget_type values (0 일반결제, 1 기본결제), which the schema already specifies, and adds no extra meaning for device or style_key.

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?

Names a specific verb and resource ('위젯 타입별 기본 스타일 데이터를 조회') and scopes it to the two widget types. The relation to the sibling configure_widget is stated, so an agent can tell this is a read-only reference lookup rather than a configuration action, though the description does not contrast it with other get_* siblings.

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?

Explicitly says to use it as reference before calling configure_widget, which gives a concrete when-to-use trigger. It does not state when NOT to use it or what to do if the caller already has style data, so it stops short of full routing guidance.

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