Skip to main content
Glama

KAT / 한국AI통신

update_phone_number

Destructive

전화번호 webhook/라우팅 설정 변경 (삭제 불가). routingType 으로 webhook/sip/softphone/forward/callflow/agent 착신 라우팅 전환 가능. callflow = 콜 플로우(결정적 ARS)가 인입을 받는다(list_call_flows 로 id 조회). agent = 매니지드 에이전트가 인입을 받는다. list_agents/create_agent로 얻은 agentId를 함께 지정한다. callContextUrl은 agent 라우팅에서 사용한다. friendlyName 은 번호마다 적어 두는 용도 메모(별칭, 최대 50자)로 라우팅에는 영향이 없다. rejectCallerIdRestricted=true 면 이 번호로 오는 번호 표시제한 수신 통화를 받지 않고 거절한다(통화 기록 status=rejected, hangupCause=caller_id_restricted_rejected). 통신사가 표시제한 여부를 보내지 않는 경로에서는 거절되지 않을 수 있다. ringbackSignatureAudioId·ringbackAudioId·ringbackMinSeconds 는 전화를 받기 전 발신자에게 들리는 연결음 설정이다(음원 id 는 list_ringback_audios 로 조회, 음원을 지우려면 빈 문자열·시간을 지우려면 0, 070 번호·대표번호·080 수신자부담에서만 설정). voiceFallbackUrl 은 webhookUrl 요청·실행이 실패했을 때 대신 요청할 대체 URL 이다(null = 해제, webhookUrl 이 없는 번호에는 둘 수 없다). recordingEnabled=false 면 이 번호로 받거나 거는 통화를 녹음하지 않는다(녹음 파일·받아쓰기·요약 없음, 계정 녹음이 꺼져 있으면 값과 무관하게 녹음 안 함).

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

Input Schema

NameRequiredDescriptionDefault
numberYes
agentIdNo
forwardToNo
callFlowIdNo
webhookUrlNo
routingTypeNo
dictionaryIdNo
friendlyNameNo
sipEndpointIdNo
webhookMethodNo
callContextUrlNo
forwardTargetsNo
statusCallbackNo
webhookHeadersNo
ringbackAudioIdNo
sipCredentialIdNo
recordingEnabledNo
voiceFallbackUrlNo
ringbackMinSecondsNo
voiceFallbackMethodNo
statusCallbackEventsNo
rejectCallerIdRestrictedNo
ringbackSignatureAudioIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations it discloses concrete downstream effects: rejectCallerIdRestricted produces status=rejected with hangupCause=caller_id_restricted_rejected (and may not fire on carriers that omit the flag), recordingEnabled=false suppresses recording/transcription/summary subject to account settings, and voiceFallbackUrl only applies when webhookUrl is set. It also explains clearing semantics (empty string for audio, 0 for seconds, null to unset) and the constraint that ringback audio only works on 070/representative/080 numbers, which materially clarifies what the destructiveHint actually means here.

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

Conciseness3/5

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

The core purpose is front-loaded, but the remainder is one dense run-on block of comma-chained clauses and parentheticals with no separation between routing, ringback, fallback, and recording concerns. Every clause carries information, yet the lack of structure makes scanning for a single parameter's semantics slow.

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 23-parameter destructive mutation with no output schema, the description covers the highest-risk behavioral semantics well but is incomplete on a large share of the parameters and says nothing about what the call returns. Adequate for the common routing switch, thin for the long tail of forwarding, SIP, and callback fields.

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?

With 23 parameters and 0% schema coverage the description carries the full burden, and it explains routingType, agentId, callflow/callContextUrl, friendlyName (alias, max 50 chars, no routing effect), rejectCallerIdRestricted, the ringback trio, voiceFallbackUrl, and recordingEnabled. However roughly a dozen parameters (forwardTo/forwardTargets, dictionaryId, sipEndpointId, webhookMethod, webhookHeaders, sipCredentialId, statusCallback, statusCallbackEvents, voiceFallbackMethod) get no treatment at all, leaving significant gaps.

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 opening states a specific verb and resource ('전화번호 webhook/라우팅 설정 변경') plus a scoping constraint ('삭제 불가') that implicitly separates it from delete_phone_number. An agent knows immediately this is a settings-mutation tool for a specific number, not a create or delete operation.

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 names the routing modes and supplies per-mode prerequisites, e.g. callflow requires an id from list_call_flows and agent requires an agentId from list_agents/create_agent. That is real routing guidance, but there is no explicit when-to-use-this-vs-create_phone_number framing or statement of preconditions like number ownership.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources