Skip to main content
Glama

appwrite_delete_collection

Remove a collection and all its documents permanently from an Appwrite database. This irreversible action deletes data completely.

Instructions

[UNIFIED] Delete a collection and all its documents. This action is irreversible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYes
database_idYes
collection_idYes
Behavior3/5

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

No annotations provided, so description carries full burden. Discloses critical destructive traits: irreversibility and cascade deletion of documents. However, omits other important behaviors like authentication requirements, side effects on collection indexes/attributes, or error conditions.

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?

Two sentences with no redundancy. Front-loaded with the action verb. The '[UNIFIED]' prefix is slightly extraneous metadata but doesn't significantly detract from conciseness.

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?

Adequately covers the safety-critical aspect (irreversible) for a destructive operation. However, given 3 undocumented parameters and no output schema, it lacks completeness regarding parameter semantics, success/failure behaviors, and related resource impacts (e.g., what happens to collection indexes).

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

Parameters2/5

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

Schema description coverage is 0%, requiring the description to compensate. It adds no explanation for parameters like 'site' (ambiguous - Appwrite instance? Project?), 'database_id', or 'collection_id'. Relies entirely on parameter names which are partially self-descriptive but insufficient.

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?

Clearly states the action (Delete) and resource (collection) with specific cascade scope ('and all its documents'). This distinguishes it from sibling appwrite_delete_document by implying bulk deletion, though it doesn't explicitly name the sibling alternative.

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?

Lacks explicit guidance on when to use this versus alternatives (e.g., deleting individual documents vs the whole collection) or prerequisites like backup confirmation. Only provides an implied warning via 'irreversible'.

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/airano-ir/mcphub'

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