Skip to main content
Glama

calls_list_active

Read-onlyIdempotent

List live voice calls in this workspace, group voice chats included. Use before calls.make on a Telegram account (only one 1:1 MTProto call per account at a time) to check whether the line is free: pass channel='telegram', which lists 1:1 calls only. A group voice chat the account is in (source 'telegram_group', channel='telegram_group') does NOT occupy the 1:1 line.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calls_list_active"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNoFilter by voice channel. OMIT to include all channels. 'telegram' = 1:1 calls (the line calls.make needs); 'telegram_group' = group voice chats and conferences.
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.
channel_account_idNoFilter by channel_account.id (the calling Telegram account or Twilio number). Combine with channel for a per-line busy check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / channel / description
      Previous value: -"Filter by voice channel. OMIT to include all channels."New value: +"Filter by voice channel. OMIT to include all channels. 'telegram' = 1:1 calls (the line calls.make needs); 'telegram_group' = group voice chats and conferences."
    • changedInput schema / properties / channel / enum
      Previous value: -[
      -  "telegram",
      -  "twilio",
      -  "android"
      -]New value: +[
      +  "telegram",
      +  "telegram_group",
      +  "twilio",
      +  "android"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: what counts as an occupied 1:1 line versus a group voice chat, and that this is a pre-flight check for calls.make. It does not describe the shape of returned records, which the missing output schema leaves unstated.

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?

The core purpose is front-loaded in the first sentence, followed by the usage rule and the occupancy caveat. It is dense but each sentence carries actionable information; the parenthetical about one 1:1 call per account is slightly clunky but justified.

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?

With three optional params, no nested objects and no output schema, the description covers the main invocation pattern and the key semantic pitfall. The only gap is that it never indicates what a returned call record looks like, which an agent must discover empirically.

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 baseline is 3, and the description earns an extra point by explaining why channel='telegram' matters (it isolates the 1:1 line calls.make needs) and that telegram_group entries are irrelevant to line availability. The in_workspace and channel_account_id semantics are left to the schema, which documents them well.

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 ('List live voice calls') plus scope ('in this workspace, group voice chats included'). The word 'live' implicitly separates it from calls_list_history, and the mention of group voice chats sets it apart from a plain active-call listing.

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 when-to-use rule: call it before calls.make on a Telegram account because only one 1:1 MTProto call can run per account. It also names the exact selector (channel='telegram') and explains the negative case (group chats don't occupy the 1:1 line), leaving nothing to inference.

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.