Skip to main content
Glama

groups_list

Retrieve the list of all groups in your organization, or only those you belong to when restricted visibility is enabled.

Instructions

List all groups in the organization. When restricted group visibility is enabled, only returns groups the user belongs to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Despite no annotations, the description discloses an important behavioral nuance: that when restricted group visibility is enabled, the tool only returns groups the user belongs to. This adds transparency beyond the function name.

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?

The description is extremely concise: two short sentences with no excess verbiage. The purpose is front-loaded, and every word adds value.

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?

The description covers the essential purpose and a key condition. It is complete for a simple list tool with no parameters, though it could optionally mention output format or ordering.

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?

There are no parameters, so the baseline is 4. The description adds context by explaining what the tool returns and the visibility condition, which goes beyond the empty schema.

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 clearly states the action 'list all groups' and the resource 'groups in the organization'. It distinguishes from sibling tools like groups_listMembers which list members of a group, making the purpose unambiguous.

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

Usage Guidelines4/5

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

The description provides conditional guidance on when results may be limited (restricted visibility). While it doesn't explicitly exclude alternatives, the context implies it is the primary list tool for groups, and the guidance is helpful for understanding output variations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/examplary-ai/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server