Replace get_metadata_api_context with more granular MCP tools

This commit is contained in:
Akshaykumar Vaid 2026-03-27 10:01:31 -07:00
parent dbc34c06ff
commit a429d953ba

View File

@ -26,7 +26,7 @@ The `appNamespace` and `appDevName` properties connect the site to the correct R
Determine values for all five properties before constructing anything. Use the resolution strategies in the table above, falling through each option until a value is found.
### Step 2: Create the Project Structure
Call the `get_metadata_api_context` MCP tool to retrieve schemas for `Network`, `CustomSite`, `DigitalExperienceConfig`, and `DigitalExperienceBundle` metadata types. These schemas define the valid XML structure for each file.
Call the `get_metadata_type_sections` and `get_metadata_type_context` MCP tools to retrieve section-level schema and detailed field context for `Network`, `CustomSite`, `DigitalExperienceConfig`, and `DigitalExperienceBundle` metadata types. These schemas define the valid XML structure for each file.
Create any files and directories that don't already exist, using these paths:
@ -63,7 +63,7 @@ Use the default templates in the docs below. Values in `{braces}` are resolved p
- Read entire file contents, replace placeholders (e.g. `{siteName}`) with the resolved values, then use the expanded templates to populate the metadata XML/JSON content.
### Step 4: Resolve Additional Configurations
Address any extra configurations the user requests. Use the schemas returned by `get_metadata_api_context` in Step 2 to understand each field's purpose, and update only the minimum necessary fields.
Address any extra configurations the user requests. Use the metadata sections and field context returned in Step 2 by `get_metadata_type_sections` and `get_metadata_type_context` to understand each fields purpose and constraints, then update only the minimum necessary fields.
## Verification Checklist
Before deploying, confirm: