Skip to main content
Glama
keerthika-srinivasan

sitecore-personalize-mcp

Set Personalize Flow Status (publish/pause)

sitecore_personalize_flow_set_status
Idempotent

Change a flow definition's status to publish, pause, or another lifecycle state. Reads the existing flow definition and writes it back with the new status.

Instructions

Changes a flow definition's status (e.g. to 'PRODUCTION' or 'LIVE' to publish, 'PAUSED' to pause). Sitecore has no dedicated publish endpoint — this reads the current flow definition and writes it back with the new status, since updates are a full replace. This is a write operation with production impact.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYesThe status to set. Use 'PRODUCTION' or 'LIVE' to publish, 'PAUSED' to pause, depending on your tenant's flow type conventions.
flowRefYesThe unique reference (ref) of the flow definition to update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

The description goes beyond the annotations by explaining the internal mechanism: it reads the current flow definition and writes it back with the new status, and notes that updates are a full replace. It also flags production impact, which is especially useful for a write operation. Annotations already indicate non-readOnly and non-destructive, and the description adds valuable behavioral context.

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?

Three sentences, each earning its place: the action, the reason/mechanism, and the impact. It is compact without sacrificing necessary context and frontloads the core purpose.

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

Completeness5/5

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

For a simple two-parameter mutation tool with no output schema, the description is complete. It explains how the operation works, why this endpoint exists, and warns about production impact. The agent has all needed information to select and invoke the tool correctly.

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

Parameters3/5

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

The schema already covers both parameters with clear descriptions, including the enum guidance for status. The description largely restates the schema's examples rather than adding new parameter-level insight. With 100% schema description coverage, the baseline of 3 is appropriate.

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 specific action ('Changes a flow definition's status') with concrete examples ('PRODUCTION'/'LIVE' to publish, 'PAUSED' to pause), which clearly distinguishes it from sibling read/execute tools. The verb and resource are unambiguous and not a mere restatement of the tool name.

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 clearly communicates when to use this tool: to publish or pause a flow when there is no dedicated publish endpoint. However, it does not explicitly name an alternative or state when not to use it, though the phrase about the missing endpoint and full-replace mechanism provides strong contextual guidance.

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