Skip to main content
Glama

KAT / 한국AI통신

통화 오디오 스트림 종료

stop_call_stream
Destructive

start_call_stream(또는 VoiceML )으로 연 오디오 스트림을 끝낸다. 통화는 끊지 않는다. streamId 또는 시작할 때 준 name 으로 지정한다. 이미 끝났거나 없는 스트림이면 STREAM_NOT_FOUND(404).

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": {
      "callId": "<callId>",
      "streamId": "<streamId>"
    },
    "name": "stop_call_stream"
  }
}

Input Schema

NameRequiredDescriptionDefault
callIdYes스트림이 열려 있는 통화 ID(CA…).
streamIdYesstart_call_stream 이 돌려준 streamId(MZ…) 또는 시작할 때 준 name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=false and openWorldHint=false, but the description adds context annotations cannot convey: the call itself survives the operation, and a repeat or bogus target yields STREAM_NOT_FOUND (404) rather than a silent success — which explains the non-idempotent behavior. It stops short of describing anything about in-flight audio or permission requirements.

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?

Three short sentences with zero filler: the action first, the important non-side-effect second, the targeting and error case last. Every sentence carries information an agent needs.

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, annotation-covered tool with no output schema, the description covers the action, its boundary (call not dropped), targeting, and the failure mode. Only marginal items such as permissions or behavior for partially delivered audio are absent.

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 both parameters are already documented there, including the MZ… format and the 'or the name given at start' alternative. The description's statement about streamId/name is essentially a restatement of the schema, so it adds no meaning beyond structured data — the 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?

States a specific verb and resource ('start_call_stream(또는 VoiceML <Start><Stream>)으로 연 오디오 스트림을 끝낸다') and immediately delimits scope with '통화는 끊지 않는다'. It names the sibling that creates the stream and clarifies that ending the stream is not the same as ending the call, so an agent can distinguish it from call-control tools without opening any schema.

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?

Makes the precondition clear: the stream must have been opened by start_call_stream or a VoiceML <Start><Stream> tag, and it says how to target it (streamId or the name supplied at start). It also gives the fallback case for a stream that is already closed or nonexistent (STREAM_NOT_FOUND, 404). It does not explicitly say which tool to use if the intent is to hang up the call, so there is a small gap versus a full when/when-not treatment.

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