Skip to main content
Glama
Antonytm

mcp-sitecore-server

by Antonytm

common-test-base-template

Read-only

Check whether a Sitecore item inherits from a given template by ID or path. Provide the item ID or path and template to verify base template inheritance.

Instructions

Checks if the item inherits from the specified template.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe ID of the item to сheck template inheritance for. Supply this or path.
pathNoThe path of the item to сheck template inheritance for. Supply this or id.
databaseNoDatabase to resolve an id against (default master).
templateYesThe ID or path of the template to be analyzed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.5

TDQS

B3.2/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes that this is a safe, non-mutating read. The description adds the 'inherits from' predicate semantics, which clarifies the nature of the check, but it omits behavior such as default database resolution or that the result is a boolean.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single efficient sentence with no redundant or wasted wording. It is front-loaded and easy to parse, though it is arguably too sparse to earn a 5.

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?

For a simple read-only boolean check with fully documented params it is close to sufficient, but with no output schema the description should indicate the return shape (a boolean inheritance result) and does not. Response format and default behavior 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 the schema already documents id, path, database, and template with their fallback logic. The description adds no parameter detail beyond what the schema provides, 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?

The description states a specific verb ('Checks') and resource ('inherits from the specified template'), making the predicate nature of the tool unambiguous. It is distinguishable from siblings like common-set-base-template and common-get-item-template by its boolean-test framing, though it does not explicitly name an alternative.

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 guidance on when to use this versus related siblings such as common-get-item-template, common-set-item-template, or common-set-base-template. The single sentence gives no context, prerequisites, or exclusions.

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