Skip to main content
Glama

createCollectionResponse

Create a request response in a Postman collection. Provide the collection and request IDs, then define response properties such as status code, headers, and body.

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.
requestYesThe 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.
descriptionNoThe response's description.
urlNoThe associated request's URL.
methodNoThe request's HTTP method.
headersNoA list of headers.
dataModeNoThe associated request body's data mode.
rawModeDataNoThe associated request body's raw mode data.
dataOptionsNoAdditional configurations and options set for the request body's various data modes.
responseCodeNoThe response's HTTP response code information.
statusNoThe response's HTTP status text.
timeNoThe time taken by the request to complete, in milliseconds.
cookiesNoThe response's cookie data.
mimeNoThe response's MIME type.
textNoThe raw text of the response body.
languageNoThe response body's language type.
rawDataTypeNoThe response's raw data type.
requestObjectNoA JSON-stringified representation of the associated request.
Behavior3/5

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

Annotations already provide readOnlyHint=false, destructiveHint=false, idempotentHint=false. The description adds the behavioral detail that omitting name results in a blank name, which is helpful. However, it does not disclose other potential side effects, permissions, or that creation is scoped to a specific request.

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 concise, with only two sentences and a reference to external documentation. It is front-loaded with the primary action. However, the reference to external docs could be seen as offloading, but it remains structured.

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 (19 parameters, nested objects, no output schema), the description provides minimal completeness. It covers the mandatory name recommendation but does not explain the overall effect or return value. Adequate but not comprehensive.

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?

Input schema has 100% description coverage, so baseline is 3. The description only reinforces the name property recommendation but adds marginal value beyond the schema parameter descriptions.

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 'Creates a request response in a collection' is a specific verb+resource combination that clearly identifies the tool's action. It distinguishes from sibling tools like createCollectionRequest (creates a request) and createCollection (creates a collection).

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 does not explicitly state when to use this tool versus alternatives. It includes a note about the name property but lacks guidance on context or prerequisites. Usage is implied but not formalized.

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