Skip to main content
Glama
Antonytm

mcp-sitecore-server

by Antonytm

security-set-item-protection

Destructive

Protect or unprotect Sitecore items from deletion and renaming via the action parameter. Independent of editing lock.

Instructions

Protects or unprotects a Sitecore item against deletion and renaming. Independent of the editing lock — use security-set-item-lock for that.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe ID of the item. Supply this or path.
fullNoReturn the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only.
pathNoThe path of the item (e.g. /sitecore/content/Home). Supply this or id.
actionYesWhether to protect the item or remove its protection.
fieldsNoExtra Sitecore field names to include, e.g. ['Title']. Ignored when full is true.
databaseNoDatabase to resolve an id against (default master).
passThruNoReturn the item, projected to its identity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.5

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=true), so the bar is lower. The description adds real value on top by defining what protection actually does to the item — blocks deletion and renaming — and clarifies the independence from the editing lock, which prevents a common misuse. Auth requirements and persistence details remain unstated.

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 zero waste, purpose front-loaded and the sibling disambiguation following immediately. Every clause 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 7-parameter mutation tool with no output schema and full schema description coverage, the description covers purpose, scope, and sibling routing adequately. It leaves return behavior to the schema and doesn't discuss permission requirements, a minor gap but not a blocking one.

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 the schema already documents id, path, database, action, fields, full, and passThru. The description adds no parameter-level meaning beyond that, which makes the baseline 3 the correct score rather than a higher one.

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?

States a specific verb (protects/unprotects), the resource (a Sitecore item), and precisely what is being protected against (deletion and renaming). It explicitly distinguishes itself from the adjacent sibling security-set-item-lock, so an agent can route between the two without inspecting schemas.

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?

Names the alternative tool (security-set-item-lock) and the concept that separates them (the editing lock), giving clear context for when to pick this one. It stops short of full when-not guidance (e.g., required permissions or when protection should be avoided), so it isn't a 5.

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