Skip to main content
Glama

update_content_by_path

Update website content by specifying its URL path instead of ID. Modify titles, text, metadata, and publish status when you know the page URL but not its database identifier.

Instructions

Update content identified by its URL path instead of its ID. Useful when you know the page URL but not the MongoDB ID.

Example: {"path": "/about", "title": "About Us", "data": {"body": "Updated content"}}

Only the fields you provide are changed. Always include a version_comment describing what changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoContent category
dataNoField values to update
meta_descriptionNoSEO meta description
og_imageNoOpen Graph image URL
pathYesURL path of the content to update (e.g. /about or /blog/my-post),required
publishedNoPublish state
tagsNoTags for lc:query index pages
titleNoNew title
version_commentNoVersion comment

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