Skip to main content
Glama

bulk_field_operation

Apply field operations like clear, set, prepend, append, or wrap to multiple content pages simultaneously using scope filters and preview changes with dry run.

Instructions

Apply a single field operation to all matching content pages in one call.

Operations:

  • clear: set field to empty string

  • set: replace field value with a fixed string

  • prepend: add text before existing field value

  • append: add text after existing field value

  • wrap: surround existing value with before/after strings

Use scope filters to limit which pages are affected (content_ids, folder_path, template_name, category). Set dry_run: true to preview which pages would be changed without saving.

Example: {"operation": "prepend", "field": "disclaimer", "value": "Note: ", "template_name": "Blog Post"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoSuffix string for wrap operation
beforeNoPrefix string for wrap operation
categoryNoLimit to pages in this category
content_idsNoLimit to specific content IDs
dry_runNoPreview affected pages without saving
fieldYesField name to operate on,required
folder_pathNoLimit to pages under this path
operationYesOperation: clear, set, prepend, append, or wrap,required
template_nameNoLimit to pages using this template
valueNoValue for set/prepend/append operations
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