Skip to main content
Glama

set_commerce_credentials

Idempotent

Sets and validates commerce client and secret keys for the current session so commerce and KakaoTalk AlimTalk tools can use them; these differ from payment keys.

Instructions

커머스 연동키(clientKey, secretKey)를 이 세션에 설정하고 검증합니다. 커머스 도구와 알림톡 도구가 같은 키를 씁니다(결제용 키와 다릅니다). MCP 설정 env 의 BOOTPAY_COMMERCE_CLIENT_KEY · BOOTPAY_COMMERCE_SECRET_KEY 로 이미 들어가 있으면 부를 필요가 없습니다. 검증 실패 시 사용자에게 올바른 키를 다시 요청하세요.

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": {
      "client_key": "<client_key>",
      "secret_key": "<secret_key>"
    },
    "name": "set_commerce_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
client_keyYes커머스 clientKey (관리자 → 개발자 설정 → API 연동키 → 커머스)
secret_keyYes커머스 secretKey

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.15.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so safety framing is partly covered. The description adds genuinely non-obvious behavior: the value is scoped to the current session, the key is validated at set time, and the same credential is reused by alimtalk tools. It does not spell out what a validation response looks like, but with annotations carrying the safety profile this is solid added context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, each doing distinct work: purpose, credential scope/ownership, the skip condition, and failure recovery. The action is front-loaded and no sentence restates the tool name or the schema.

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 two-parameter credential setter with annotations covering safety, the description supplies the session scope, the env-var fallback, shared usage with alimtalk, and failure handling — everything needed to decide whether to call it. Only minor gaps remain, such as whether a successful validation returns a confirmation payload.

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%, and the schema itself already tells the agent where to locate clientKey in the admin UI (관리자 → 개발자 설정 → API 연동키). The description adds only the distinction that both parameters are commerce keys rather than payment keys; it gives no format, length, or source-hierarchy detail beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (설정하고 검증합니다 – set and validate) and a specific resource (커머스 연동키 clientKey/secretKey), and explicitly separates it from the payment key (결제용 키와 다릅니다). It also states that the same key serves both commerce and alimtalk tools, which an agent could not infer from the name alone.

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 a concrete do-not-call condition: if BOOTPAY_COMMERCE_CLIENT_KEY / BOOTPAY_COMMERCE_SECRET_KEY are already supplied via MCP env, there is no need to call. It also prescribes recovery behavior on validation failure (re-ask the user for correct keys). The only gap is that no sibling tool is named as an alternative or contrast (e.g. create_commerce_keys or set_payment_mode), so the agent must infer the boundary itself.

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