Skip to main content
Glama
delano
by delano

update_collection_folder

Update a folder's name or description in a Postman collection using a PATCH-like approach. Provide the collection and folder IDs along with the fields to change.

Instructions

Update a folder in a collection. Acts like PATCH, only updates provided values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_idYesCollection ID
folder_idYesFolder ID
folderYesFolder details to update

Implementation Reference

  • The updateCollectionFolder method sends a PUT request to /collections/{collection_id}/folders/{folder_id} with the folder data to update.
    async updateCollectionFolder(args: any): Promise<ToolCallResponse> {
      const response = await this.client.put(
        `/collections/${args.collection_id}/folders/${args.folder_id}`,
        args.folder
      );
      return this.createResponse(response.data);
    }
  • Input schema definition for update_collection_folder: requires collection_id, folder_id, and folder object (with optional name and description properties).
    {
      name: 'update_collection_folder',
      description: 'Update a folder in a collection. Acts like PATCH, only updates provided values.',
      inputSchema: {
        type: 'object',
        properties: {
          collection_id: {
            type: 'string',
            description: 'Collection ID',
          },
          folder_id: {
            type: 'string',
            description: 'Folder ID',
          },
          folder: {
            type: 'object',
            description: 'Folder details to update',
            properties: {
              name: { type: 'string' },
              description: { type: 'string' }
            }
          }
        },
        required: ['collection_id', 'folder_id', 'folder'],
      },
    },
  • Registration (switch case) in handleToolCall that routes the 'update_collection_folder' tool name to the updateCollectionFolder method.
    case 'update_collection_folder':
      return await this.updateCollectionFolder(args);
    case 'delete_collection_folder':
Behavior3/5

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

With no annotations, the description adds useful behavioral info ('Acts like PATCH, only updates provided values'), but lacks details on side effects, permissions, or return values.

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?

Two sentences, front-loaded with purpose, no unnecessary words – highly efficient and well-structured.

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 simple PATCH-like update tool, the description covers purpose and behavior adequately, though return values are not explained (no output schema).

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% so baseline is 3; the description adds no extra meaning beyond the schema's 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 clearly states 'Update a folder in a collection' with a specific verb and resource, and distinguishes from sibling tools like create or delete by noting it acts like PATCH.

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?

It provides clear context on when to use (updating a folder) and the PATCH behavior, but does not explicitly exclude alternatives or give when-not-to-use 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/delano/postman-mcp-server'

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