Skip to main content
Glama

list_content

Retrieve content items from LightCMS with filters for category, folder, or status. Include specific fields or full data to optimize bulk workflows and reduce API calls.

Instructions

List all content items with optional filters. Returns content metadata including title, path, publish status, and timestamps.

Add include_data: true to get full field data for all items in one call, or include_fields: ["field1", "field2"] to fetch only specific fields — both avoid per-item get_content calls for bulk workflows.

Up to 20 concurrent update_content calls are safe. For larger batches, prefer bulk_update_content (up to 100 items per call).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter by content category
folder_idNoFilter by folder ID (MongoDB ObjectID)
include_dataNoIf true, include all template field data in results (avoids per-item get_content calls)
include_deletedNoInclude soft-deleted content in results
include_fieldsNoInclude only these specific field names from the data object (more efficient than include_data for large content)

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/jonradoff/lightcms'

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