Skip to main content
Glama
SightRadar MCP Server

SightRadar MCP Server

Official

Delete a collection

delete_collection
DestructiveIdempotent

Delete a collection and all contained face, selfie, and photo records; default soft delete allows restore within 7 days, while immediate or compliance erasure is irreversible.

Instructions

Delete a collection and every face, selfie and photo record in it. By default this is a SOFT delete: the collection is hidden at once and purged after a 7-day grace period, and restore_collection undoes it until then. immediate=true starts the purge now and cannot be undone. compliance=true records an audited erasure (GDPR/BIPA) and cannot be restored. An immediate or compliance erase of a collection that still holds faces or selfies is refused with confirmation_required until confirm_erase=true. Confirm with the user before calling this. Free.

Input Schema

NameRequiredDescriptionDefault
immediateNoPurge now instead of after the grace period. Irreversible.
complianceNoAudited legal erasure. Irreversible and never restorable.
collection_idYesCollection id, e.g. an event or album id. Any text except '/', '\', '.' and '..'.
confirm_eraseNoSet true once the user has confirmed they want to erase a collection that still holds faces. When the answer is confirmation_required, tell the user what will be erased, ask, and retry with this.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructive/idempotent/open-world; the description adds the soft-delete default, the 7-day grace period, when purging becomes irreversible, the GDPR/BIPA audit mode, and the confirmation refusal path. It also discloses that the operation costs no credits.

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?

Four tightly packed sentences, front-loaded with the destructive default and ending with the confirmation duty. Dense but nearly every clause carries decision-relevant information; the trailing 'Free.' is terse to the point of ambiguity.

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

Completeness5/5

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

For a destructive four-parameter tool with no output schema, the definition covers irreversibility, recoverability, refusal behaviour, and cost, leaving nothing an agent needs to call it safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema by explaining how immediate and compliance interact with the refusal behaviour and by framing confirm_erase as a retry token rather than a plain flag.

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 ('Delete a collection') and immediately scopes it to everything contained in it ('every face, selfie and photo record'), which distinguishes it from the sibling delete_photo.

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?

Explicitly names the alternative restore path (restore_collection) and the window in which it works, contrasts three modes of deletion, and instructs the agent to confirm with the user before calling. It also tells the agent exactly how to recover from a confirmation_required response.

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