Skip to main content
Glama
appwrite

Appwrite MCP Server

Official
by appwrite

databases_create_index

Create database indexes to optimize query performance by defining attributes for faster data retrieval in Appwrite collections.

Instructions

Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
database_idYesDatabase ID.
collection_idYesCollection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).
keyYesIndex Key.
typeYesIndex type.
attributesYesArray of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.
ordersNoArray of index orders. Maximum of 100 orders are allowed.
lengthsNoLength of index. Maximum of 100

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