Skip to main content
Glama

createCollectionResponse

Add a response to a request in a Postman collection to document API behavior and test scenarios.

Instructions

Creates a request response in a collection. For a complete list of request body properties, refer to the Response entry in the Postman Collection Format documentation.

Note:

It is recommended that you pass the `name` property in the request body. If you do not, the system uses a null value. As a result, this creates a response with a blank name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collectionIdYesThe collection's ID.
requestIdYesThe parent request's ID.
nameNoThe response's name. It is recommended that you pass the `name` property in the request body. If you do not, the system uses a null value. As a result, this creates a response with a blank name.
Behavior3/5

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

Annotations provide readOnlyHint=false, destructiveHint=false, and idempotentHint=false, covering basic safety and idempotency. The description adds minimal behavioral context: it notes that omitting the 'name' parameter results in a blank-named response, which is useful but doesn't elaborate on permissions, rate limits, or side effects. No contradiction with annotations exists, but the description doesn't significantly enhance behavioral understanding beyond what annotations already convey.

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

Conciseness4/5

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

The description is reasonably concise, with two paragraphs: one stating the purpose and linking to external docs, and another with a note about the 'name' parameter. It avoids unnecessary fluff, but the external link might be less helpful for AI agents that can't browse URLs. The structure is clear, though the note could be integrated more seamlessly.

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

Completeness3/5

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

Given the tool's complexity (3 parameters, no output schema, no annotations on permissions or side effects), the description is minimally adequate. It states the purpose and links to external documentation for full details, but doesn't explain return values or error conditions. With annotations covering basic hints and schema covering parameters, it meets a baseline but lacks depth for a mutation tool in a collaborative API environment like Postman.

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 description coverage is 100%, with all parameters documented in the schema. The description adds no additional parameter semantics beyond what's in the schema—it repeats the note about the 'name' parameter verbatim from the schema's description. Since the schema already fully describes parameters, the baseline score of 3 is appropriate, as the description doesn't provide extra value here.

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?

The description clearly states the tool's purpose: 'Creates a request response in a collection.' This specifies the verb ('creates') and resource ('request response in a collection'), making the function unambiguous. However, it doesn't explicitly differentiate from sibling tools like 'createCollectionRequest' or 'createCollection', which might create similar resources in the same collection context.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an existing collection and request), nor does it contrast with sibling tools like 'createCollectionRequest' or 'updateSpecProperties' that might handle related operations. The only usage note is about the 'name' parameter, which is parameter-specific rather than tool-selection guidance.

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