Skip to main content
Glama

create_keychain

Issues Bootpay clientKey and secretKey API keychains for commerce or payment development, enabling Basic Auth for PG and Commerce API calls. Choose internal for commerce, core for payments, or both.

Instructions

개발에 필요한 clientKey/secretKey(API 키체인)를 발급합니다.

🔑 발급된 키는 Basic Auth 인증에 사용됩니다: Authorization: Basic Base64(clientKey:secretKey) → PG API와 Commerce API 모두 동일한 방식으로 인증합니다.

📌 clientKey는 용도에 따라 2종류가 있습니다:

  1. 커머스용 clientKey → targets에 "internal" 지정

    • internal-api의 ProjectKeyChain으로 발급

    • 커머스 API(주문, 상품, 재고 등) 호출 시 사용

  2. 결제용 clientKey → targets에 "core" 지정

    • core-api의 AppKeyChain으로 발급

    • 결제 API(결제 요청, 결제 조회, 취소 등) 호출 시 사용

⚡ 개발자가 "개발 진행을 위해 clientKey가 필요하다"고 하면:

  • 커머스 개발 → targets: ["internal"]

  • 결제 개발 → targets: ["core"]

  • 둘 다 필요 → targets: ["internal", "core"] (동시 발급)

📋 발급 후 .env 설정: BOOTPAY_CLIENT_KEY=발급된_clientKey BOOTPAY_SECRET_KEY=발급된_secretKey

⚠️ 프로젝트가 선택되지 않았으면 먼저 browser_select_project로 프로젝트를 선택하세요. ⚠️ secret_key는 최초 1회만 반환됩니다. 반드시 안전한 곳에 저장하세요! (로그인 필요)

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": {
      "name": "<name>"
    },
    "name": "create_keychain"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes키체인 이름 (용도를 설명하는 이름 권장, 예: "커머스 개발용", "결제 연동 테스트용")
targetsNo발급 대상 (clientKey 종류 선택): - "internal" = 커머스용 clientKey (internal-api의 ProjectKeyChain 발급) - "core" = 결제용 clientKey (core-api의 AppKeyChain 발급) 둘 다 지정하면 동시에 발급됩니다.
api_scopesNoAPI 스코프 ID 목록 (list_api_scopes로 조회 가능). is_supervisor=true이면 무시됩니다.
expires_atNo만료일 (ISO 8601 형식, null=무기한). 예: "2027-12-31T23:59:59+09:00"
is_supervisorNosupervisor 권한 여부 (true=모든 권한, false=선택한 스코프만)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.15.1

TDQS

A4.2/5.0
Behavior5/5

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

The annotations only flag a non-idempotent, non-destructive, open-world write; the description adds the crucial behavioral fact that secret_key is returned exactly once and must be stored immediately, plus the login requirement and how the resulting keys are used (Basic Base64(clientKey:secretKey) for both PG and Commerce APIs). This is exactly the kind of irrecoverable-outcome disclosure an agent cannot get from the annotations or schema. Nothing in it contradicts the annotations.

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?

It is front-loaded with the core action, then structured into auth usage, key types, decision rule, .env setup, and warnings, so an agent can skim it. It runs long and repeats the internal/core mapping already present in the schema, and the emoji headers carry little information. Still, every block is functional rather than filler.

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 5-parameter mutating tool with no output schema, the description covers prerequisites, the two issuance modes, security handling of the one-time secret, and post-issuance configuration. It does not describe the response shape (what fields come back besides the keys) or how scope selection interacts with is_supervisor beyond one parenthetical. That is a minor gap rather than a blocking one.

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 baseline is 3; the description earns above that by explaining what each target value actually provisions (internal-api ProjectKeyChain vs core-api AppKeyChain) and by showing the downstream .env variables the returned values populate. Some of the targets explanation duplicates the schema, and api_scopes/expires_at/is_supervisor get no treatment in the description at all.

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 opens with a specific verb+resource: issuing clientKey/secretKey API keychains for development. It further splits that into the two keychain kinds (commerce clientKey vs payment clientKey), so an agent knows precisely what is created. It never explicitly distinguishes itself from a similarly purposed sibling such as create_commerce_keys, which keeps it from a 5.

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 an explicit decision rule: commerce development → targets ["internal"], payment development → targets ["core"], both → both values, and states the prerequisite that a project must be selected first (browser_select_project). What it does not supply is a when-not-to-use clause or a named alternative tool for overlapping cases. Given the sibling list includes create_commerce_keys, that omission is the main gap.

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