Skip to main content
Glama
Antonytm

mcp-sitecore-server

by Antonytm

indexing-get-search-index

Read-only

Get Sitecore search index information by name, including indexing state and summary fields. Run a query to confirm an index works before diagnosing issues.

Instructions

Get information about Sitecore search indexes, addressed by name. SPE's Get-SearchIndex takes no other filter, so filter the returned rows rather than asking the CM to. IndexingState (Started / Stopped) is reliable; the Summary fields (NumberOfDocuments, IsHealthy, IsClean, OutOfDateIndex) come from the search provider and are not dependable everywhere — on an XM Cloud CM, where every index shares one Solr core, NumberOfDocuments reads 0 and IsHealthy false on an index that is serving queries perfectly well. Run an actual query with indexing-find-item before concluding an index is broken.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoReturn the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only.
nameNoThe name of the index to retrieve information for. Supports wildcards. Omit to return every index.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.5

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, so the description carries the real behavioral burden and does so richly: IndexingState is reliable, the Summary fields come from the search provider and are 'not dependable everywhere,' and the XM Cloud CM Solr-core case explains why NumberOfDocuments reads 0 and IsHealthy false on a healthy index. This is exactly the kind of environment-specific caveat structured fields cannot express.

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?

The core purpose is front-loaded in the first clause, followed by the operational caveats in descending usefulness. It is denser and longer than typical, but each sentence (filtering guidance, reliability caveat, XM Cloud example, verification step) carries distinct actionable content rather than padding.

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

Completeness5/5

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

There is no output schema, so the description must describe what comes back, and it does: it names IndexingState and the Summary fields (NumberOfDocuments, IsHealthy, IsClean, OutOfDateIndex) and qualifies their trustworthiness. An agent has everything needed to call the tool and interpret its result.

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 both 'full' and 'name' (wildcards, omit-for-all, diagnostics-only) are already documented in the schema. The description adds only the rationale that Get-SearchIndex accepts no additional filter, which is mild added meaning; 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?

States a specific verb and resource ('Get information about Sitecore search indexes') plus the addressing mechanism ('addressed by name'). It is clearly separable from siblings like indexing-find-item, indexing-rebuild-search-index, and indexing-set-search-index-state, which perform query, rebuild, and state-change operations respectively.

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

Usage Guidelines5/5

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

Explicitly tells the agent that SPE's Get-SearchIndex takes no other filter and that filtering must be done on returned rows instead of on the CM. It also gives a concrete escalation path ('Run an actual query with indexing-find-item before concluding an index is broken'), so both when-to-use and when-not-to-trust-the-output are covered.

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