Skip to main content
Glama
hajekd
by hajekd

list_activities

Retrieve and filter contact center activities by type, action, queue, ticket, user, or date range to monitor calls, emails, chats, and more.

Instructions

List activities (calls, emails, chats, etc.) with optional filters. Always specify type and/or a date range to keep results focused.

Args: type: Filter by activity channel type: CALL (phone), EMAIL, CHAT (web chat), SMS, FBM (Facebook Messenger), IGDM (Instagram DM), WAP (WhatsApp), VBR (Viber), CUSTOM. action: Filter by activity status/action: OPEN (in progress), WAIT (waiting), POSTPONE (postponed), CLOSE (closed). queue: Filter by queue internal name (e.g. '10333'). Use list_queues to find names. ticket: Filter by ticket ID (numeric, e.g. '787979'). user: Agent name — pass either a display name (e.g. 'John Doe') or login name (e.g. 'john.doe'). Resolved automatically. date_from: Filter by activity start time on or after this date (YYYY-MM-DD). date_to: Filter by activity start time on or before this date (YYYY-MM-DD). sort: Field to sort by. Useful values: time (activity start time), duration, time_close. WARNING: only fields that exist on the activities endpoint work — do NOT use 'created' or 'edited' (those are ticket fields, not activity fields). sort_dir: Sort direction: asc or desc (default: desc). skip: Pagination offset (default: 0). take: Number of records to return (default: 50, max: 200).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skipNo
sortNo
takeNo
typeNo
userNo
queueNo
actionNo
ticketNo
date_toNo
sort_dirNodesc
date_fromNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden and delivers by warning against invalid sort fields ('do NOT use created or edited') and explaining user name resolution. It also documents defaults and the max take value, adding behavioral nuance beyond the schema.

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?

The description is front-loaded with the core action and usage tip, followed by an organized Args list. Every line adds information, including the sort-field warning and user resolution note, with no fluff.

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?

Given 11 parameters and no annotations, the description covers every parameter, usage guidance, and a critical pitfall. An output schema exists, so the absence of return-value documentation is acceptable; the description is sufficiently complete for a complex listing tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema descriptions are entirely absent (0% coverage), so the description must compensate. It does so thoroughly, explaining each of the 11 parameters with value enums, examples, and defaults, such as type channel codes and queue lookup via list_queues.

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 description opens with 'List activities (calls, emails, chats, etc.) with optional filters,' which clearly states the operation and resource scope. The enumeration of channel types in the 'type' parameter further distinguishes it from channel-specific siblings like list_calls or list_emails.

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 provides concrete usage context with 'Always specify type and/or a date range to keep results focused,' and references list_queues for finding queue names. However, it does not explicitly contrast with alternative list tools or state when-not-to-use them.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hajekd/mcp-daktela'

If you have feedback or need assistance with the MCP directory API, please join our Discord server