Skip to main content
Glama

List account groups

list_groups
Read-only

List account groups and their member account ids. When creating a draft, put the group's connectedAccountIds into platformTargets to publish by group. (Required scope: cd.accounts.manage)

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

Input Schema

NameRequiredDescriptionDefault
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond them: the required OAuth scope 'cd.accounts.manage', which an agent needs to anticipate auth failures. It does not mention empty-result or pagination behavior for a list endpoint.

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 short clauses: what it returns, how to use the output, and the auth requirement. The core resource is front-loaded, the scope note is correctly parenthesized at the end, and no sentence is redundant.

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?

No output schema exists, and the description partially compensates by stating that member account ids are returned and by naming the group field (connectedAccountIds) that feeds platformTargets. For a zero-required-parameter read tool with annotations and full schema coverage, this is nearly complete; only return shape details (e.g., whether multiple groups are always returned) are absent.

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?

There is a single optional workspaceId parameter with 100% schema description coverage, including the lookup hint (list_workspaces) and the API-key binding caveat. The description adds nothing further about the parameter, so the schema does the work and a 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?

Names a specific verb and resource ('List account groups') and adds what the listing includes ('their member account ids'), which distinguishes it from the plural listing siblings like list_accounts. It stops short of explicitly contrasting itself with list_accounts or create_group, so it is clear but not fully differentiated.

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?

The second sentence gives a concrete downstream use ('When creating a draft, put the group's connectedAccountIds into platformTargets'), which implies why an agent would call this. However, it never states when this tool should be chosen over list_accounts, or what to do if no groups exist; usage is implied rather than directed.

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.