Skip to main content
Glama

alimtalk_send

Sends one KakaoTalk AlimTalk from an approved template after a preview-and-confirm step, with idempotent duplicate protection.

Instructions

승인된 템플릿으로 알림톡 1건을 보냅니다. 두 단계로 동작합니다.

  1. confirm_token 없이 호출 → 보내지 않고 미리보기만 돌려줍니다: 변수가 치환된 실제 문구, 빠진 변수, 수신거부 여부, 템플릿·채널 상태, confirm_token.

  2. 미리보기를 사용자에게 그대로 보여 주고 "보내도 된다"는 답을 받은 뒤, 같은 인자에 confirm_token 만 더해 다시 호출하면 발송합니다. confirm_token 은 미리보기와 똑같은 내용에 한 번만 쓸 수 있고 10분 뒤 만료됩니다. ref_id 를 주지 않으면 토큰으로 만든 멱등 키를 씁니다. 결과를 모를 때 같은 ref_id 로 다시 보내면 중복 발송되지 않습니다. 이미 접수된 ref_id 면 미리보기에서 막고 그 접수를 알려줍니다. ⚠️ 실제 발송은 기본으로 꺼져 있습니다 — 사용자가 MCP 설정 env BOOTPAY_ALIMTALK_SEND_ENABLED=true 로 켜야 보냅니다(AI 가 대신 켜지 마세요). 꺼져 있어도 미리보기는 됩니다. ⚠️ 샌드박스가 없습니다. 확인 단계는 실제 카카오톡 발송이고 과금됩니다. 사용자 확인 없이 confirm_token 을 넣지 마세요. 보낼 채널과 1회 인원 상한은 env 로 고정되어 인자로 바꿀 수 없습니다. 알림톡이 실패하면 실패로 끝납니다(문자 대체발송 없음, 과금 없음).

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": {
      "template_code": "<template_code>",
      "to": "<to>"
    },
    "name": "alimtalk_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes수신 휴대폰 번호 (하이픈 무관)
ref_idNo가맹점 발송 식별자(멱등 키). 주문번호 · 예약번호처럼 고유한 값
user_idNo가맹점 회원 식별자 (기록용)
variablesNo템플릿 변수 치환값. 템플릿의 required_variables 를 모두 채우세요. 예: { "user_name": "홍길동" }
reserved_atNo예약 발송 시각. 시간대 오프셋까지 붙인 ISO8601 (예: 2026-09-16T10:00:00+09:00). 생략하면 즉시 발송
confirm_tokenNo미리보기 응답의 confirm_token. 사용자가 발송에 동의한 뒤에만 넣으세요
template_codeYes템플릿 코드. 공식(G_…) · 자체(BT_…) 모두 됩니다

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.15.1

TDQS

A4.7/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so thoroughly: send is disabled by default behind BOOTPAY_ALIMTALK_SEND_ENABLED, there is no sandbox so the confirm step is a real billed KakaoTalk send, tokens are single-use and expire in 10 minutes, and failures are terminal with no SMS fallback and no charge. It also notes channel and per-send recipient limits are fixed by env and cannot be overridden by arguments.

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?

Front-loaded with the core action, then numbered steps and clearly grouped ⚠️ warnings, so the agent can scan it quickly. It is long and the ref_id idempotency idea is restated across two consecutive sentences, which is the only real tightening opportunity.

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 7-parameter, irreversible, billed mutation with no annotations and no output schema, this is unusually complete: it enumerates what the preview returns (substituted text, missing variables, opt-out status, template/channel state, token) and covers failure and retry behavior. The response shape of an actual send is only implied, which is the remaining gap.

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, but the description adds real semantics beyond the schema: confirm_token must be paired with identical arguments and is single-use with a 10-minute expiry, and ref_id acts as an idempotency key that is auto-derived from the token when omitted and blocks duplicate sends on retry. The already-received ref_id case is also explained.

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?

Opens with a specific verb and resource in Korean: send one AlimTalk message using an approved template. The '1건' scope inherently distinguishes it from the bulk sibling, and the two-step preview/send framing tells an agent exactly what the tool does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit call sequence: call without confirm_token first to get a preview, show it to the user, then re-call with the same arguments plus confirm_token. It also states when NOT to act (never add confirm_token without user consent, never enable the env flag on the user's behalf) and when to reuse ref_id for retries.

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