Skip to content

MCP save_pages has no member for the page meta description #700

Description

@Justinvolved

Describe the bug

save_pages can set the page meta title (metaTitle, which now persists and renders in <title>), but it has no member for the page meta description. get_pages_by_ids does not return it either. Setting the description of a page (the text search engines and link previews show) requires the Management API PageSave with the full page model.

To Reproduce

  1. tools/list, read the inputSchema of save_pages and the output of get_pages_by_ids.

Observed (DW 10.28.11, MCP add-in 0.6.0-BETA):

save_pages page members: active, areaId, id, itemType, layoutTemplate, masterPageId, menuText, metaTitle,
  navigationTag, parentPageId, showInMenu, sort, treeSection, urlName   (no description)
get_pages_by_ids -> {"id":8559,...,"metaTitle":"About | ...","titleFieldSystemName":"Title",...}   (no description)
save_pages {"pages":[{"id":8559,"metaTitle":"TEST"}]} -> persisted, rendered <title>TEST</title>

Expected behavior

save_pages accepts the meta description (and ideally the other SEO fields the page settings offer), and get_pages_by_ids returns them.

Environment

  • Dynamicweb 10.28.11 (.NET 10 hosting)
  • MCP add-in 0.6.0-BETA

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingContentFor items related to Content

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions