Skip to main content
Glama
appwrite

Appwrite MCP Server

Official
by appwrite

databases_update_collection

Modify a database collection's configuration, including name, permissions, and security settings, to adapt to changing application requirements.

Instructions

Update a collection by its unique ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
database_idYesDatabase ID.
collection_idYesCollection ID.
nameYesCollection name. Max length: 128 chars.
permissionsNoAn array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).
document_securityNoEnables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https://appwrite.io/docs/permissions).
enabledNoIs collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states 'Update a collection' which implies a mutation operation, but it doesn't describe side effects (e.g., whether changes are reversible), permission requirements, rate limits, or what happens to unspecified fields. For a mutation tool with zero annotation coverage, this is a significant gap in transparency.

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?

The description is a single, straightforward sentence that efficiently states the core action. It's front-loaded with the essential information ('Update a collection'), though it could be more structured by including key details. There's no wasted verbiage, making it appropriately concise for its minimal content.

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

Completeness2/5

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

Given the complexity of updating a database collection with 6 parameters, no annotations, and no output schema, the description is incomplete. It doesn't address behavioral aspects like mutation effects, error conditions, or return values, leaving significant gaps for the agent to navigate. This is inadequate for a tool with multiple parameters and no structured safety hints.

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?

The schema description coverage is 100%, with detailed parameter descriptions in the input schema (e.g., 'Collection name. Max length: 128 chars.'). The tool description adds no additional meaning beyond what the schema provides, such as explaining relationships between parameters or usage examples. With high schema coverage, the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the verb ('Update') and resource ('a collection'), but it's vague about what aspects can be updated. It doesn't differentiate from sibling tools like 'databases_update' or 'databases_update_document', which also perform updates on different resources. The purpose is clear at a high level but lacks specificity about scope.

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?

No guidance is provided on when to use this tool versus alternatives. With many sibling tools for updating various database components (e.g., 'databases_update_document', 'databases_update_attribute'), the description offers no context on prerequisites, use cases, or exclusions. This leaves the agent to infer usage from the tool name alone.

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/appwrite/mcp'

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