Skip to main content
Glama

set_payment_mode

Idempotent

Change the payment mode for a chosen PG and payment method, using only modes supported by that provider; select a project first.

Instructions

결제수단의 결제 모드를 변경합니다. PG사별로 지원하는 모드가 다릅니다. ⚠️ 프로젝트가 선택되지 않았으면 먼저 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": {
      "pg_alias": "<pg_alias>",
      "method_alias": "<method_alias>",
      "mode": "<mode>"
    },
    "name": "set_payment_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes결제 모드 이름
pg_aliasYesPG사 alias (예: "kcp")
method_aliasYes결제수단 alias (예: "card")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.15.1

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare this is a non-destructive, idempotent, open-world mutation. Beyond that, the description adds real context: an authentication requirement, an ordering prerequisite (project selection), and the fact that supported modes vary by PG provider. It does not say what happens when an unsupported mode is submitted, but the added prerequisite and auth context clearly exceed annotation coverage.

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 core action, then the provider caveat, then the prerequisite warning. Each sentence carries useful information with no filler, though the warning is slightly buried at the end rather than leading.

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 three-parameter mutation with full schema coverage and annotations covering the safety profile, the description supplies the missing operational context: auth, project prerequisite, and per-PG mode variance. Without an output schema, return behavior is not required, so the remaining gap is minor.

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 coverage is 100% so the baseline is 3, and the description adds meaning by stating that supported modes differ per PG provider, which tells the agent that pg_alias and mode are coupled rather than independent. It stops short of listing valid modes or giving the enum values, which are absent from the schema.

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: changing the payment mode of a payment method (결제수단의 결제 모드 변경). It is clearly distinct from a generic settings getter, but it does not name a sibling such as set_sandbox_mode or activate_payment_method to draw the boundary explicitly.

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?

It gives one concrete prerequisite: if no project is selected, call browser_select_project first, and it notes login is required. However, it never says when not to use this tool or when a sibling like set_sandbox_mode or activate_payment_method is the better choice, leaving that inference to the agent.

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