Skip to main content
Glama

getCollections

Read-onlyIdempotent

Retrieve all collections in a specified Postman workspace with optional name filter, limit, and offset.

Instructions

The workspace ID query is required for this endpoint. If not provided, the LLM should ask the user to provide it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceYesThe workspace's ID.
nameNoFilter results by collections whose name exactly matches the given value. Partial or substring matches are not supported.
limitNoThe maximum number of rows to return in the response.
offsetNoThe zero-based offset of the first item to return.
Behavior2/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true. The description adds no new behavioral context, only restating the requirement from the schema. No mention of pagination, filtering behavior beyond exact match, or any side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short and could be more informative. It lacks a clear statement of purpose, though it is concise. The structure is minimal but not wasteful.

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

Completeness2/5

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

The tool has no output schema, so the description should explain what is returned (e.g., a list of collections). It does not. Given 4 parameters and the need to understand behavior, the description is incomplete.

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 coverage is 100%, with all parameters having descriptions. The description does not add any additional semantic information beyond what is already in the schema, so it meets the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does not explicitly state what the tool does. It only mentions that the workspace ID is required, but does not say 'get collections' or list collections. The purpose is implied by the name, but the description should clarify.

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 description provides some usage guidance by stating that the workspace ID is required and instructs the LLM to ask the user if missing. However, it does not explain when to use this tool versus other tools like getCollection (singular) or other retrieval tools.

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/postmanlabs/postman-mcp-server'

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