Skip to main content
Glama

update_collection

Modify collection settings in LightCMS to adjust content display, templates, pagination, and sorting for website content management.

Instructions

Update a collection's settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoContent category to include
descriptionNoCollection description
idYesCollection ID (MongoDB ObjectID),required
item_templateNoHTML template for each item
items_per_pageNoItems per page for pagination
nameNoCollection name
page_templateNoHTML template for collection page
slugNoCollection URL slug
sort_fieldNoField to sort by
sort_orderNoSort order: asc or desc

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