Skip to main content
Glama

Opus Growth, Ad Platforms MCP Connector

Bulk Find & Replace (WordPress)

wordpress_bulk_replace
Destructive

Applies the SAME find/replace to MANY WordPress posts/pages in one call, with a mandatory dry-run. wordpress_update_post's replace works well but takes a single id, so fixing the same defect on 11 pages meant 11 calls; this does it once, and its confirm=false PREVIEW shows every page that would change and HOW MANY times before anything is written, so an unintended broad match is visible first. Choose the target pages either with ids=[...] (get them from wordpress_search_content) or with a search filter (search=..., search_in/regex/type/status like wordpress_search_content). replace=[{"find":"old","with":"new"}] — same schema and safety as wordpress_update_post: a missing "with" is refused, never treated as a delete. match="normalized" (top-level or per entry) treats invisible characters (non-breaking space, smart quotes, long dashes) as their plain equivalents. DESTRUCTIVE: confirm=false previews per-page counts and writes NOTHING; confirm=true applies. Elementor/Divi pages whose visible text is not in post_content are reported as skipped, not silently missed. The search filter fetches every post one by one (~1 s each), so on a large site one call stops scanning after about 100 seconds and returns what it found so far with partial=true and next_offset; call again with offset=next_offset (same other arguments) to continue. For big sites it is faster to run wordpress_search_content first and pass its ids here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsNo
typeNo
matchNo
regexNo
offsetNo
searchNo
statusNopublish
confirmNo
replaceNo
max_scanNo
site_urlNo
search_inNocontent

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Changed1 schema field changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "type": "integer"
      +}
  6. Added
  7. Removed
  8. Added
  9. Removed
  10. Added
  11. Removed
  12. Added
  13. Removed
  14. Added
  15. Removed
  16. Added
  17. Removed
  18. Added
  19. Removed
  20. Added
  21. Removed
  22. Added
  23. Removed
  24. Added
  25. Removed
  26. Added
  27. Removed
  28. Added
  29. Removed
  30. Added
  31. Removed
  32. Added
  33. Removed
  34. Added
  35. Removed
  36. Added
  37. Removed
  38. Added
  39. Removed
  40. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.