Skip to main content
Glama
keerthika-srinivasan

sitecore-personalize-mcp

Create Personalize Audience

sitecore_personalize_audience_create

Create a new audience segment by defining attribute rules and match type. Specify name, rules, and optional description to add a segment to the tenant.

Instructions

Creates a new audience/segment from a set of attribute rules. This is a write operation that adds a new segment to the tenant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name for the new audience.
rulesYesList of rules combined to define segment membership.
matchTypeNoWhether ALL rules or ANY rule must match for guest inclusion.all
descriptionNoOptional human-readable description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already indicate this is a non-read-only, non-idempotent mutation. The description adds that it is a write operation adding a segment to the tenant, which is consistent but not deeply revealing; it does not mention permissions, duplicate handling, or side effects beyond creation.

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?

Two short sentences with no filler; the primary action is stated first, followed by a useful scoping note about being a write operation on the tenant. Every sentence earns its place.

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

Completeness3/5

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

The schema fully covers parameters and annotations cover the safety profile, but there is no output schema and the description does not state what a successful call returns (e.g., created audience ID). It also omits any usage guidance relative to sibling tools, leaving some context for the agent to infer.

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?

Schema description coverage is 100%, so every parameter is already documented. The description's phrase 'set of attribute rules' maps to the rules parameter but adds no semantics beyond the schema, so the baseline 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 uses a specific verb ('Creates'), a concrete resource ('audience/segment'), and the input mechanism ('from a set of attribute rules'). It clearly distinguishes this creation tool from sibling read tools like sitecore_personalize_audience_list and sitecore_personalize_audience_get.

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

Usage Guidelines3/5

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

The description states what the tool does but does not explicitly say when to choose it over alternatives or mention any preconditions. Usage is implied by the create verb and sibling names, but no explicit routing or exclusions are provided.

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