Skip to main content
Glama

Bulk Field Operation

bulk_field_operation
Destructive

Apply one field operation (clear, set, prepend, append, wrap) to all matching content pages in a single call, with scope filters and dry-run preview.

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. Only live pages are changed: fork copies named in content_ids come back in "skipped" as {id, reason}.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.2.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only supply destructiveHint=true and openWorldHint=false, so the description carries real added weight: it reveals that clear blanks a field, that dry_run avoids saving, and that fork copies surface in a 'skipped' array with {id, reason}. It stops short of stating permission requirements or rollback/versioning behavior, though the version_comment param hints at versioning.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose statement, tight bulleted operation list, then scope/dry-run guidance, then a concrete example. Every block earns its place and a reader can skim to the relevant part.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-param destructive bulk tool with no output schema, the description covers operations, scoping, dry-run safety, and the skipped-result shape. It does not address permissions, locking (siblings include acquire_content_lock), or rate considerations, leaving a small gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds genuine meaning by defining what each operation value does (e.g., wrap consumes before/after, append adds text after the existing value) — semantics the schema enum does not enumerate — plus the skipped-return behavior tied to content_ids.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a precise verb and resource ('Apply a single field operation to all matching content pages in one call') and the enumerated operation set (clear/set/prepend/append/wrap) clearly distinguishes it from sibling bulk tools like bulk_update_content and scoped_search_replace_execute.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear operational context: scope filters select the affected pages, dry_run previews changes without saving, and only live pages mutate. The example call shows a realistic invocation, but no explicit when-not-to-use guidance or named alternatives are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools