Skip to main content
Glama

list_api_collections

Read-only

List the workspace's API collections (saved endpoints with examples and environments). Start here to find a collection_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds a little context about collection contents (examples and environments) and the intended use, but does not go deeper into response shape, pagination, or other behavioral traits. With annotations present, this is adequate but not rich.

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 a single, well-structured sentence: it leads with the action, specifies the resource, adds a clarifying parenthetical, and ends with a practical use-case. Every word earns its place, with zero redundancy.

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?

For a list tool with no parameters and no output schema, the description gives the essential information: what is being listed and why an agent would call it (to find a collection_id). It doesn't describe the return format, but since the purpose is to locate an ID, the missing detail is minor. With annotations covering risk, this is largely complete.

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 has zero parameters, so the schema is empty and the baseline is 4. The description doesn't need to explain parameters; it only optionally notes the workspace scope, which is already implied by 'the workspace's'. No parameter clarification is missing.

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 uses a specific verb ('List') and clearly identifies the resource ('the workspace's API collections'), with a parenthetical clarifying what collections are (saved endpoints with examples and environments). It also states the intended outcome ('Start here to find a collection_id'), which distinguishes it from siblings like get_api_collection that require an ID.

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 gives explicit usage context: 'Start here to find a collection_id.' This tells an agent when to use this tool (as the first step for operations needing a collection ID). However, it does not explicitly state when not to use it or name alternative tools for the same purpose.

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.