Skip to main content
Glama
elmapicms

elmapicms-mcp-server

Official
by elmapicms

List Entries

list_entries

Retrieve content entries from a collection with filtering, sorting, and pagination options to manage structured data efficiently.

Instructions

List content entries for a collection with advanced filtering, sorting, and pagination. Use the 'where' parameter for powerful queries. Read the 'query-reference' resource for full documentation on operators and examples.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_slugYesThe collection slug
whereNoFilter conditions as a nested object. Supports operators: eq, lt, lte, gt, gte, not, like, in, not_in, null, not_null, between, not_between. Simple: { "status": "published" }. With operators: { "price": { "lt": 50 }, "title": { "like": "news" } }. OR group: { "or": [{ "tags": "clearance" }, { "campaign": { "name": "Summer" } }] }. Relation filter: { "author": { "name": { "eq": "John" } } }. Core columns (id, uuid, locale, status, created_at, updated_at, published_at) can be filtered directly.
localeNoFilter by locale (e.g. 'en')
stateNoFilter by state: 'only_draft' or 'with_draft'. Defaults to published entries only.
sortNoSort by field:direction, comma-separated for multiple. Examples: 'created_at:desc', 'title:asc,created_at:desc'. Supports core columns (id, created_at, updated_at, published_at) and custom field names.
paginateNoEnable pagination with N items per page. Returns paginated response with meta data. Overrides limit/offset.
limitNoLimit the number of results (ignored if paginate is set)
offsetNoSkip N results (requires limit to be set)
firstNoIf true, return only the first matching entry as a single object instead of an array
countNoIf true, return only the count of matching entries: { count: N }
excludeNoComma-separated field names to exclude from response (e.g. 'content,excerpt')

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/elmapicms/elmapicms-mcp-server'

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