Skip to main content
Glama
appwrite

Appwrite MCP Server

Official
by appwrite

tables_db_update_enum_column

Modify an enum column in an Appwrite database table by updating allowed values, requirements, or default settings. Changes apply to new entries without affecting existing data.

Instructions

Update an enum column. Changing the default value will not update already existing rows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
database_idYesDatabase ID.
table_idYesTable ID.
keyYesColumn Key.
elementsYesUpdated list of enum values.
requiredYesIs column required?
defaultYesDefault value for column when not provided. Cannot be set when column is required.
new_keyNoNew Column Key.
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds one important behavioral detail about the 'default' parameter not affecting existing rows, which is valuable. However, it doesn't mention other critical behaviors like whether this operation requires specific permissions, if it's reversible, what happens to data validation during the update, or what the response looks like.

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?

The description is extremely concise with just two sentences that both earn their place. The first sentence states the core purpose, and the second adds crucial behavioral information about the 'default' parameter. There's zero wasted language or redundancy.

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?

For a mutation tool with 7 parameters, no annotations, and no output schema, the description is inadequate. While it covers one important behavioral aspect, it misses critical context about permissions, error conditions, response format, and how this tool relates to the many sibling tools in the system. The agent would need to guess about many operational aspects.

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 the schema already documents all 7 parameters thoroughly. The description adds minimal value beyond the schema by clarifying the behavioral impact of the 'default' parameter change, but doesn't provide additional semantic context for other parameters like 'elements', 'required', or 'new_key'.

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 clearly states the verb ('Update') and resource ('an enum column'), making the purpose immediately understandable. However, it doesn't explicitly differentiate this from sibling tools like 'tables_db_update_string_column' or 'tables_db_update_boolean_column' beyond the column type, which is implied but not stated.

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. With many sibling tools for updating different column types and general operations, there's no mention of prerequisites, when this specific enum column update is appropriate, or what distinguishes it from other update operations.

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-for-api'

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