Skip to main content
Glama
Antonytm

mcp-sitecore-server

by Antonytm

common-set-base-template

Destructive

Add or remove a base template on a Sitecore template item. Removing it strips that template's fields and values from all items built from it.

Instructions

Adds or removes a base template on a template item. Removing one takes its fields off every item built from the template, along with their values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe ID of the template item. Supply this or path.
pathNoThe path of the template item. Supply this or id.
actionYesWhether to add the base template or remove it.
databaseNoDatabase to resolve an id against (default master).
templateYesThe path of the template item to add or remove as a base template.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.5

TDQS

A3.6/5.0
Behavior4/5

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

Annotations flag readOnlyHint=false and destructiveHint=true, and the description goes beyond that by spelling out the concrete consequence of removal: fields are stripped from every derived item along with their values. This is genuinely useful blast-radius context. It stops short of describing the add-side effects or any permission requirements, so not a 5.

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 tight sentences with no filler, and the destructive consequence is front-loaded immediately after the core action. Every sentence earns its place.

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

Completeness4/5

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

For a mutation tool with full schema coverage, annotations carrying the safety profile, and no output schema, the definition is nearly complete: purpose plus the key destructive side effect. Only the add-side behavior and any id/path resolution nuance are left unstated.

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 (id, path, action, database, template) is already documented in the schema. The description adds no format, resolution, or defaulting detail beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair (adds/removes) and a precise resource (a base template on a template item), so the operation is unambiguous. It does not, however, distinguish itself from nearby siblings like common-test-base-template or common-set-item-template, which the agent must sort out on its own.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives such as common-test-base-template (to check) or common-set-item-template (a different template operation). The action enum implies the add/remove branch, but the description never says when to choose this tool over its siblings.

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

Deploy Server

Other Tools