Skip to main content
Glama

List groups

list_groups
Read-only

Lists every group the parent account belongs to, including each group's name, type and members, so you can choose the correct group for other actions when multiple groups exist.

Instructions

Lists every group the parent account belongs to, each with name, type and all members (publicId, role, display name). Use it when the parent has more than one group, to pick the group argument of the other tools; for one group with its pins use get_group.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.1

TDQS

A4.7/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 the non-obvious detail that every member is embedded in each group record, which tells the agent this is a richer read than a name list. It stops short of stating ordering or whether the response can be empty, but the value beyond annotations is real.

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?

Two sentences, both earning their place: the first defines the resource and payload, the second routes the agent to the correct tool. The selection guidance is front-loaded with the alternative immediately after it.

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?

With no input parameters and no output schema, the description carries the full burden and does so by enumerating the returned fields and member attributes. An agent has everything needed to decide between this and get_group and to use the output.

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

Parameters4/5

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

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline is 4. The description correctly implies a no-argument call by framing it as scoped to "the parent account" implicitly.

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?

States a specific verb and resource ("Lists every group the parent account belongs to") plus the exact payload returned (name, type, all members with publicId, role, display name). It also distinguishes itself from the sibling get_group, so an agent can identify it without opening a schema.

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?

Gives an explicit trigger ("use it when the parent has more than one group"), the downstream purpose (to pick the `group` argument of other tools), and an exclusion with the named alternative ("for one group with its pins use get_group"). Nothing is left to inference.

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