Skip to main content
Glama

mosADD — the comms layer for AI agents

mDM_call_end

End a 1:1 call. The audio leg ends when clients disconnect; pass to to also drop a call_end (hangup) control message in the contact's DM thread.

Input Schema

NameRequiredDescriptionDefault
toNoIf set, also drop a call_end control message in this contact's DM thread.
room_idYesVoice room id (from mDM_call_start's call_invite).
thread_labelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint=false annotation, the description adds meaningful behavior: the audio leg ends when clients disconnect, and passing `to` drops a `call_end` control message in the DM thread. It does not cover permissions or error conditions, but it provides useful operational context.

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?

Two tight sentences, front-loaded with purpose and followed by the key behavioral nuance. No wasted wording.

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 simple three-parameter mutation tool with no output schema, the description covers the core action and optional message behavior adequately. The missing explanation of `thread_label` is a minor gap.

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 67%, with `room_id` and `to` already described in the schema. The description reinforces the `to` parameter but adds little beyond the schema and leaves `thread_label` undocumented, so baseline 3 is appropriate.

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: "End a 1:1 call," with the title clarifying it is a voice call. This clearly distinguishes it from sibling tools like mDM_call_start and mDM_call_answer.

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?

The description makes the use case clear: end an existing 1:1 call. It also explains the optional `to` behavior, though it does not explicitly name alternatives or state when not to use the tool.

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.