Skip to main content
Glama

appwrite_list_documents

Retrieve documents from an Appwrite collection using JSON queries to filter, sort, and paginate results for efficient data management.

Instructions

[UNIFIED] List documents in a collection with powerful query support.

Queries must be JSON objects (Appwrite 1.7.4 format):

  • {"method": "equal", "attribute": "status", "values": ["active"]}

  • {"method": "notEqual", "attribute": "type", "values": ["draft"]}

  • {"method": "greaterThan", "attribute": "price", "values": [100]}

  • {"method": "search", "attribute": "title", "values": ["keyword"]}

  • {"method": "orderAsc", "values": ["createdAt"]}

  • {"method": "orderDesc", "values": ["createdAt"]}

  • {"method": "limit", "values": [25]}

  • {"method": "offset", "values": [50]}

  • {"method": "cursorAfter", "values": ["documentId"]}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYes
database_idYes
collection_idYes
queriesNo
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