Skip to main content
Glama

WatchFor

List contact groups

list_contact_groups
Read-onlyIdempotent

Contact groups (notification groups): where alerts are delivered, with the ids a monitor's config.notificationGroupIds and an alert rule's contact group refer to. Cursor-paginated.

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_contact_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, 1-100
cursorNonext_cursor from the previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered externally. The description contributes the cross-reference of where these ids are consumed and notes cursor pagination, but does not say whether pagination has a terminating cursor, what the default page size is, or what fields each entry carries beyond ids.

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?

A single dense sentence front-loads the resource definition, and the parenthetical 'notification groups' plus the config.notificationGroupIds reference both earn their place by disambiguating and connecting. Slightly compressed for a two-idea sentence, but no waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-optional-parameter list tool with no output schema, the description covers what the collection is and how to page it, but leaves the shape of returned entries (name, id only?) and default page size unstated. Adequate, not complete.

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% and both parameters (limit, cursor) are documented in-schema with ranges and the meaning of next_cursor. The description adds nothing parameter-specific, so the baseline 3 applies.

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 defines the resource precisely ('Contact groups (notification groups): where alerts are delivered') and adds that it yields the ids referenced by a monitor's config.notificationGroupIds and alert rules. It never states the verb 'list' explicitly, but 'Cursor-paginated' makes the collection-return semantics clear. It does not distinguish itself from get_contact_group, which is the only missing piece.

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 rather than stated: by explaining that the ids are what a monitor's config.notificationGroupIds and an alert rule's contact group refer to, it hints the tool is the lookup step before wiring notification targets. There is no explicit 'use this when...' or exclusion against get_contact_group or list_contacts.

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.