Skip to main content
Glama

List contact groups

flow_list_groups
Read-only

Contact groups with their contact counts and the campaigns using them. contactsCount includes blocklisted members, so it can run higher than flow_list_contacts with groupId, which lists only the contacts that can be messaged.

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

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number
searchNo
pageSizeNoRows per page, 1 to 50

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds a genuinely non-obvious data-semantics caveat: contactsCount includes blocklisted members and can therefore exceed the count from flow_list_contacts with groupId, which prevents a real misinterpretation of the numbers.

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?

Two sentences, no filler, and the core content is front-loaded. The first sentence is a verbless fragment, which is slightly less crisp than an explicit statement of the operation.

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 no output schema, the description does the work of stating what comes back (groups with counts and associated campaigns). It stops short of describing the group fields or pagination metadata, but for a read-only list tool with three optional params this is close to sufficient.

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?

With 67% schema coverage, page and pageSize are already documented in the schema, and the description adds nothing about pagination behavior or defaults. The undocumented `search` parameter (only maxLength 255) is left unexplained — the description never says what is searched (name? campaign?) or whether matching is partial.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (contact groups) and the payload it carries (contact counts plus the campaigns using them), which is specific enough to distinguish it from flow_list_contacts. The verb is only implicit from the name/title; the description itself is a noun phrase rather than an explicit 'List ...' statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by the resource description, and the second sentence does reference flow_list_contacts with groupId, but only to explain a counting discrepancy, not to say when to choose this tool over that one. There is no explicit when-to-use or exclusion 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