Skip to main content
Glama
delano
by delano

delete_collection_access_key

Delete a collection access key to revoke access to a Postman collection. Provide the key ID.

Instructions

Delete a collection access key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyIdYesThe collection access key ID to delete

Implementation Reference

  • The handler function that executes the delete_collection_access_key tool logic. It validates keyId is provided, sends a DELETE request to /collection-access-keys/{keyId}, and returns the response.
    async deleteCollectionAccessKey(keyId: string): Promise<ToolCallResponse> {
      if (!keyId) {
        throw new McpError(ErrorCode.InvalidParams, 'keyId is required');
      }
      const response = await this.client.delete(`/collection-access-keys/${keyId}`);
      return this.createResponse(response.data);
    }
  • The switch-case registration in handleToolCall that routes 'delete_collection_access_key' to the deleteCollectionAccessKey method, extracting keyId from args.
    case 'delete_collection_access_key':
      return await this.deleteCollectionAccessKey(args.keyId);
  • The tool definition/schema for delete_collection_access_key. Defines the name, description, and input schema requiring a 'keyId' string parameter.
    {
      name: 'delete_collection_access_key',
      description: 'Delete a collection access key',
      inputSchema: {
        type: 'object',
        required: ['keyId'],
        properties: {
          keyId: {
            type: 'string',
            description: 'The collection access key ID to delete'
          }
        }
      }
Behavior1/5

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

With no annotations, the description must fully disclose behavioral traits. It only states the action without mentioning consequences (e.g., irreversible deletion), required permissions, or any side effects. This is insufficient for safe invocation.

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

Conciseness2/5

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

The description is extremely short (five words) but lacks substance. It is not appropriately sized for a tool that needs more behavioral context. The brevity sacrifices clarity.

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

Completeness1/5

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

Given the tool's simplicity and absence of output schema, the description should explain the deletion effect, required permissions, or reversibility. It fails to provide any such context, making it incomplete for safe and correct use.

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?

The input schema has 100% description coverage for the single parameter 'keyId', stating it is the collection access key ID to delete. The tool description adds no extra meaning, but per the baseline rule for high schema coverage, a score of 3 is appropriate.

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

Purpose1/5

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

The description 'Delete a collection access key' is tautological, merely restating the tool name. It does not clarify what a collection access key is or differentiate this tool from many sibling delete tools like delete_api, delete_collection, etc.

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

Usage Guidelines1/5

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

No guidance is provided on when to use this tool vs alternatives. The description lacks any context about prerequisites, typical scenarios, or exclusions, leaving the agent without decision support.

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