Skip to main content
Glama
chzkyy

mcp-mongodb

by chzkyy

drop_collection

Destructive

PERINGATAN: Menghapus koleksi BESERTA SELURUH ISINYA secara permanen!

Instructions

PERINGATAN: Menghapus koleksi BESERTA SELURUH ISINYA secara permanen!

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseNoNama database tujuan. Opsional jika MONGODB_DB sudah diatur.
collectionYesNama koleksi.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

The destructiveHint annotation already flags the operation as destructive. The description adds specific context that the collection is removed together with all of its contents and that this is permanent, which is valuable behavioral disclosure beyond the annotation.

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?

A single, front-loaded warning sentence conveys the core action and its permanent, all-contents consequence with no wasted words.

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 simple two-parameter destructive operation, the description is almost complete: it states the action, the scope, and the permanence. It could be slightly richer by noting the lack of undo or confirming that indexes are also dropped, but these are not necessary for basic correct invocation.

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%, so both parameters are already documented in the input schema. The description adds no additional meaning to the parameters, so baseline 3 is appropriate.

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 description states a clear verb and resource: 'Menghapus koleksi' (deletes collection) and clarifies the full scope with 'BESERTA SELURUH ISINYA' (along with all contents). It is not a tautology, but it does not explicitly distinguish itself from sibling tools like drop_database beyond the resource name.

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 provides no guidance on when to use this tool versus alternatives such as delete_many or drop_database. It only warns about permanent deletion, which implies caution but does not explain the appropriate selection context.

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