Skip to main content
Glama

update_payment_resource

Idempotent

Configures PG payment method authentication credentials, such as site_cd and site_key, for a selected project so payment gateway integrations can be set up correctly.

Instructions

PG 결제수단의 인증정보(site_cd, site_key 등)를 설정합니다. ⚠️ 프로젝트가 선택되지 않았으면 먼저 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>",
      "resource": "<resource>"
    },
    "name": "update_payment_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
pg_aliasYesPG사 alias (예: "kcp")
resourceYesPG 인증정보 객체. 예: { "site_cd": "...", "site_key": "..." }. PG사마다 필요한 키가 다릅니다.
method_aliasYes결제수단 alias (예: "card")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.15.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare non-read-only, idempotent, non-destructive, open-world behavior, so the safety profile is largely covered. The description adds useful context beyond that (login requirement, project-selection prerequisite), but does not disclose whether existing credentials are overwritten, how secrets are handled, or what a successful response looks like.

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?

Two short sentences with the action stated first and the warning prerequisite front-loaded before use. No filler or repetition; it could be slightly tighter by folding the login note into the project prerequisite, but it is efficient.

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 mutation tool with a nested-object parameter, no output schema, and several payment-related siblings, the description covers the essentials (what is set, prerequisites, auth needed). It leaves unaddressed what happens to pre-existing credentials and how this differs from neighbor tools, which matters given the crowded payment-method sibling set.

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 pg_alias, method_alias, and the nested resource object each documented, so the schema carries the parameter burden. The description only echoes site_cd/site_key as examples of the resource payload, adding little meaning beyond the schema's own note that required keys vary per PG provider.

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 names a specific verb and resource: setting the authentication credentials (site_cd, site_key, etc.) for a PG payment method. It is clearly a write/configuration operation on PG credentials rather than a payment flow action, though it does not explicitly position itself against siblings like activate_payment_method or set_payment_mode.

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 two concrete prerequisites: a project must be selected (use browser_select_project first) and login is required. However, it does not say when to use this versus related siblings such as set_payment_mode or activate_payment_method, so sibling selection guidance is implied at best.

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