Skip to main content
Glama
Antonytm

mcp-sitecore-server

by Antonytm

provider-get-item

Read-only

Retrieve a Sitecore item by path, ID, query, or URI to access its content data and fields for management tasks.

Instructions

Gets a Sitecore item by path, ID, Sitecore query or URI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoThe ID of the item to retrieve (e.g. {110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}). Supply exactly one of path, id, query or uri.
uriNoThe URI of the item to retrieve (e.g. sitecore://master/home). Supply exactly one of path, id, query or uri.
fullNoReturn the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only.
pathNoThe path of the item to retrieve (e.g. /sitecore/content/Home). Supply exactly one of path, id, query or uri.
queryNoThe Sitecore query to execute (e.g. /sitecore/content/home/*/*). Supply exactly one of path, id, query or uri.
fieldsNoExtra Sitecore field names to include, e.g. ['Title']. Ignored when full is true.
versionNoThe version of the item to retrieve
databaseNoThe database containing the item. Defaults to master, and is also the drive an id, query or uri resolves against.
languageNoThe language of the item to retrieve

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.5

TDQS

B3.1/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read. The description adds no behavioral context beyond that - no note that exactly one identifier must be supplied, no warning about the cost of the full object graph, no database/language default behavior - even though the schema hints at several of these.

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?

A single front-loaded sentence with no filler; the resource and lookup modalities come first and nothing is wasted.

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 9-parameter tool with no output schema and many near-duplicate siblings, the description is minimally adequate: the schema carries the parameter burden, but the lack of sibling routing and of the exactly-one-identifier constraint leaves real gaps.

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 (including the mutually exclusive id/uri/path/query set and the 'full' cost warning) is already documented. The description's restatement of the four lookup forms adds no meaning beyond the schema, 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 (Gets) and resource (Sitecore item) and enumerates the accepted lookup forms (path, ID, query, URI), so the agent knows what the tool returns. However, it offers no differentiation from the many sibling getters (item-service-get-item, authoring-get-item, common-get-item-field, etc.), which is exactly where an agent would need help.

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 or when-not-to-use guidance and no mention of alternatives among the large family of get-item tools. The only usage signal is implicit in the list of identifier forms.

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