Skip to main content
Glama

List activities

list_activities
Read-only

List this workspace's activities (tasks, calls, meetings, emails, notes), filtered by type/assignee/overdue/completion/linked-entity and paginated. Returns summary rows (id, type, title, priority, dueDate, completed, assignee, linked lead/contact/company/deal, isOverdue) plus pagination { page, perPage, total }. Use get_activity to fetch one activity's full detail by id.

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": "list_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFree-text search over the activity title. Omit for no text filter.
pageNo1-based page number of results to return. Default 1.
typeNoFilter by activity type. Omit for any. Allowed: task, call, meeting, email, note.
dealIdNoFilter to activities linked to this deal id (from search_deals).
leadIdNoFilter to activities linked to this lead id (from search_leads).
overdueNoSet "true" to return only overdue activities (past due date, not completed).
perPageNoNumber of activities per page (1-100). Default 20.
companyIdNoFilter to activities linked to this company id (from search_companies).
completedNoFilter by completion: "true" only completed, "false" only open. Omit for both.
contactIdNoFilter to activities linked to this contact id (from search_contacts).
assignedToNoFilter to activities assigned to this workspace member's user id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed11 schema fields changed
    • addedInput schema / properties / assignedTo / description
      Added value: +"Filter to activities assigned to this workspace member's user id."
    • addedInput schema / properties / companyId / description
      Added value: +"Filter to activities linked to this company id (from search_companies)."
    • addedInput schema / properties / completed / description
      Added value: +"Filter by completion: \"true\" only completed, \"false\" only open. Omit for both."
    • addedInput schema / properties / contactId / description
      Added value: +"Filter to activities linked to this contact id (from search_contacts)."
    • addedInput schema / properties / dealId / description
      Added value: +"Filter to activities linked to this deal id (from search_deals)."
    • addedInput schema / properties / leadId / description
      Added value: +"Filter to activities linked to this lead id (from search_leads)."
    • addedInput schema / properties / overdue / description
      Added value: +"Set \"true\" to return only overdue activities (past due date, not completed)."
    • addedInput schema / properties / page / description
      Added value: +"1-based page number of results to return. Default 1."
    • addedInput schema / properties / perPage / description
      Added value: +"Number of activities per page (1-100). Default 20."
    • addedInput schema / properties / q / description
      Added value: +"Free-text search over the activity title. Omit for no text filter."
    • addedInput schema / properties / type / description
      Added value: +"Filter by activity type. Omit for any. Allowed: task, call, meeting, email, note."
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only behavior is established. The description adds useful context beyond annotations: it states the return format (summary rows with specific fields) and pagination structure, and implicitly warns that these are not full details by pointing to get_activity. No contradictions exist.

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 sentences, front-loaded with the core action and resource, followed by return info and an alternative. Every sentence earns its place; zero waste. It is structured for quick scanning by an agent.

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?

Despite having no output schema, the description specifies exactly what fields are returned (id, type, title, priority, dueDate, completed, assignee, linked lead/contact/company/deal, isOverdue) and the pagination shape. It also covers the main filter categories and points to the detail-fetching sibling tool, so an agent has enough context to invoke and interpret results correctly.

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%, so the schema fully documents each parameter. The description merely groups the filters ('type/assignee/overdue/completion/linked-entity') without adding new details about parameter values, formatting, or relationships. This matches the baseline for high schema coverage.

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 uses a specific verb ('List') with a clearly defined resource ('this workspace's activities'), enumerates the activity types, and lists filtering dimensions. It also distinguishes itself from get_activity by noting that the latter returns full detail, so the purpose is unambiguous and differentiated from siblings.

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?

The tool's usage context is explicit: it's for listing/filtering activities with pagination. It provides a clear alternative directive: 'Use get_activity to fetch one activity's full detail by id,' which tells the agent when a different tool is more appropriate. This counts as explicit when/when-not guidance.

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