Skip to main content
Glama

End the current call

end_call
DestructiveIdempotent

Hangs up an in-progress or still-ringing call immediately, for both parties, and marks it cancelled. For when the user asks to stop, end, cancel, hang up or abort the call ("stop", "hang up", "never mind", "call it off"). Input: call_id. A call that has already ended returns already_ended with no change, so repeating it has no further effect. Once it succeeds the call is over and wait_for_call has nothing more to report for it. Results carry user_status (a sentence written for the end user, with no tool names or ids) and usually agent_next (the next step in the call flow, for the assistant; it names tools and ids and is not written for the end user).

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

Input Schema

NameRequiredDescriptionDefault
call_idYesThe call_id to end (returned by place_call).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, and the description reinforces and extends them: it says the call ends for both parties, the record is marked cancelled, and that a repeat call returns already_ended with no change. It also discloses downstream effects ("wait_for_call has nothing more to report") and describes the response fields, which no output schema covers.

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?

Action and trigger phrases are front-loaded, and the idempotency note earns its place. The closing sentence on user_status and agent_next is somewhat dense, but it substitutes for a missing output schema, so it mostly pays for itself.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is destructive with no output schema, and the description covers the mutation's effect on both parties, reversibility (none — the call is over), idempotency, and the shape of returned fields. Nothing essential for a correct invocation is missing.

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 coverage is 100% and the single parameter's schema text already explains call_id and its origin in place_call, so the description's "Input: call_id" adds nothing new. Baseline 3 applies since the schema carries the full burden.

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 ("hangs up... a call") plus scope ("in-progress or still-ringing", "both parties", "marks it cancelled"). The scope wording implicitly separates it from schedule_call and cancel_scheduled, which operate on calls that are not yet live, so an agent can route correctly 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 Guidelines4/5

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

Gives an explicit when-to-use trigger with user phrasings ("stop", "hang up", "never mind", "call it off"), which is strong for intent matching. It does not name an alternative for non-live calls (e.g. cancel_scheduled) or state when-not to use it, so it falls short of full alternative routing.

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