Skip to main content
Glama

okfindex

Unpublish collection

unpublish_collection
DestructiveIdempotent

Withdraw the collection page and public search. Collections store references, not copied content. They start private. Owner search reads current files in owned bases and published files in other bases. Publication includes only references to currently public bases; private bases and later additions stay out. Every public read checks base publication again. Private or withdrawn collections return 404. Responses use private, no-store.

Input Schema

NameRequiredDescriptionDefault
collection_idYesThe 64-character ID returned by this API.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the mutation and idempotency profile is covered structurally. The description adds real context beyond that: withdrawn collections return 404 and responses carry private, no-store caching headers. However, several sentences ('Collections store references...', 'Owner search reads current files...') describe the collection model rather than this tool's behavior, diluting the added value.

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 key action is front-loaded correctly, but the description runs seven sentences and roughly half of them cover general collection/publication mechanics unrelated to unpublishing. Sentences like 'Collections store references, not copied content' and the owner-search note do not earn their place in a tool description for a single-parameter withdraw operation.

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?

For a destructive mutation with no output schema, the description usefully covers the effect, the 404 on already-private collections, and response caching semantics. It omits what happens to base references already exposed and whether the collection can be re-published, leaving gaps an agent would have to discover empirically.

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% and the single parameter (collection_id) is documented in the schema, so the schema does the heavy lifting and baseline 3 applies. The description never mentions collection_id or its format, adding nothing beyond the structured field.

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 opening sentence states a specific verb and effect: 'Withdraw the collection page and public search,' naming the resource (collection) and what is removed. It does not, however, distinguish this from sibling operations like unpublish_base, remove_collection, or unshare_collection_team, so an agent gets no explicit routing help.

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 explains how collections and publication work in general but never states when to call unpublish_collection versus alternatives such as unpublish_base, remove_collection, or unshare_collection_team. The only usage-adjacent signal ('Private or withdrawn collections return 404') describes idempotent behavior rather than selection guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.