Skip to main content
Glama

Unregister Collection

unregister_collection

Remove a collection from the workspace registry while leaving all files on disk intact. Clears stale entries list_collections still shows; to delete the collection itself, use delete_collection.

Instructions

Remove a collection from the workspace registry, leaving every file on disk untouched. list_collections reads that registry, so this is how an entry stops being listed, including a stale entry whose directory is gone. To delete the collection itself, use delete_collection.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "collectionPath": "<collectionPath>"
    },
    "name": "unregister_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspacePathNoAbsolute path of the workspace.yml to remove the entry from. Defaults to the same one list_collections reads: BRUNO_WORKSPACE_PATH, or the Bruno app's workspace for this platform.
collectionPathYesAbsolute path of the collection as it is listed. Use the path from list_collections: matching is by path, not by name, because two entries are allowed to share a name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.4.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does disclose the key trait: the mutation is registry-only and destroys no files on disk. It also discloses that stale entries pointing at missing directories are removable. It stops short of saying what happens when collectionPath matches no entry (error vs. silent no-op) or what the call returns.

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?

Three short sentences, front-loaded with the destructive-sounding-but-actually-safe distinction, then the mechanism, then the alternative. No filler and no repetition of the title.

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 two-parameter registry mutation with no annotations and no output schema, the description covers the essential risk profile (files preserved) and the primary edge case (stale entry). Only the not-found behavior and result shape are left implicit, which is a minor gap given the schema fully documents the inputs.

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%, so both parameters are already documented, including the path-matching-not-name-matching rule and the workspacePath default chain. The description adds essentially no parameter detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Remove a collection from the workspace registry') with an explicit scope qualifier ('leaving every file on disk untouched'). This immediately separates it from delete_collection without the agent needing to open either schema.

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

Usage Guidelines5/5

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

Gives the triggering condition ('this is how an entry stops being listed'), names the sibling whose output feeds it (list_collections), covers the edge case of a stale entry whose directory is gone, and explicitly routes deletion to delete_collection. When-to-use and the alternative are both stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.