Skip to main content
Glama

activate_payment_method

Idempotent

Enable or disable a specific payment method for a chosen PG by specifying pg_alias and method_alias; select a project first when none is active.

Instructions

특정 PG의 결제수단을 활성화/비활성화합니다. pg_alias(예: "kcp")와 method_alias(예: "card")로 지정합니다. ⚠️ 프로젝트가 선택되지 않았으면 먼저 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>"
    },
    "name": "activate_payment_method"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNo결제수단 활성화 상태. 1 = 활성화 (이 결제수단으로 결제 가능), 0 = 비활성화 (이 결제수단으로 결제 불가). ⚠️ 0으로 설정하면 해당 PG의 결제수단이 즉시 비활성화됩니다.
pg_aliasYesPG사 alias (예: "nicepay", "kcp", "danal", "inicis" 등). get_payment_settings로 확인
method_aliasYes결제수단 alias (예: "card", "phone", "bank", "vbank" 등). get_payment_settings로 확인

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 non-read-only, non-destructive, idempotent, open-world, so the safety profile is covered; the description adds useful context with the login requirement and the project-selection prerequisite. However, it says nothing about the fact that setting status to 0 disables the method immediately or what the call returns — that warning lives only in the schema, so the description adds modest value.

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 action statement front-loaded and the project-selection warning placed before it can be missed. The inline alias examples repeat schema content rather than adding new information, which is the only wasted space.

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 no output schema and full annotation coverage, the description supplies the essential preconditions (project selected, logged in) and how to identify the target. It is slightly incomplete in not restating the immediate-effect deactivation behavior, though the schema carries it.

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, including the status 0/1 semantics and the immediate-disable warning, are already documented. The description's alias examples ('kcp', 'card') largely duplicate the schema and it never mentions status, so 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?

Names a specific verb pair (activate/deactivate) and resource (a specific PG's payment method), plus the two identifying keys pg_alias and method_alias with examples. It does not distinguish itself from the sibling set_payment_mode, so the agent gets a clear purpose but no explicit sibling boundary.

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?

Gives an explicit precondition — if no project is selected, call browser_select_project first — and notes login is required, which is real routing guidance. It does not say when to prefer this over set_payment_mode or when to read settings first (get_payment_settings appears only inside the schema), so exclusions are 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