Skip to main content
Glama
gherisalim

Sitecore Community MCP

by gherisalim

introspection-graphql-edge

Read-only

Inspect the Sitecore GraphQL edge schema to list root operations and Item interface, look up a type, or search definitions before writing queries.

Instructions

Explores the Sitecore GraphQL 'edge' schema. With no arguments it returns the root operations plus the Item interface — the whole contract for querying this endpoint, a couple of KB. Use type: "" for one type in full, search: "" to find one, and full: true only when you genuinely need every definition: a delivery schema's full SDL measured 777,501 characters (~194,000 tokens) on a live CM, two thirds of it repeated descriptions. Prefer the typed item/presentation tools when one already answers the question, and authoring-get-item-template or common-get-item-field to read a template's fields — both are far cheaper than the generated per-template types here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoWhen true, return the entire schema SDL. Very large — see the tool description for the measured size — so prefer 'type' or 'search'. Combine with includeDescriptions:false to cut it substantially.
typeNoReturn the full definition of one named type, or of one root operation (e.g. 'ArticlePage', 'createUser'). For an operation, the input and enum types its arguments reference are included too, so the result is enough to write the document. This is the argument to reach for once the index has told you the name.
searchNoFind types and operations whose name or description matches this keyword (e.g. 'media', 'workflow', 'publish'). Returns names and one-line summaries, not full definitions.
includeDescriptionsNoWhen false, strip all docstrings from the output. Defaults to true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.3

TDQS

A4.4/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=true, so the description has room to add value and does: it quantifies the full-SDL cost (777,501 characters, ~194,000 tokens), explains that two thirds is repeated docstrings, and notes includeDescriptions:false as a mitigating lever. That is strong cost disclosure, but it stops short of describing result shape details such as pagination or truncation behavior on large type responses, keeping it from the top band.

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 default behavior is front-loaded in the first clause, then the escalation path, then the size warning, then alternatives — a clean funnel. It is dense and every sentence carries information, but the token-size measurement and repeated cost cautions could be trimmed slightly without losing signal.

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?

No output schema exists, so the description carries the full burden and does so: it states what the default call returns and roughly how large, what each parameter returns, and where to go instead for cheaper answers. An agent has everything needed to call this correctly and avoid the 194k-token trap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema itself already documents each parameter thoroughly, so the baseline would be 3. The description lifts this by adding decision-level semantics the schema lacks — that 'type' is the argument to reach for once the index gives you a name, and that 'full' should be reserved for genuine need given its measured size.

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?

The description names a specific verb and resource ('Explores the Sitecore GraphQL edge schema') and immediately defines the no-argument default output: root operations plus the Item interface. The 'edge' qualifier implicitly separates it from the master-schema introspection sibling, so an agent can tell which introspection tool it is holding.

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?

Explicit routing is given for every mode: no args for the index, type: for one definition, search: for discovery, and full: true 'only when you genuinely need every definition.' It goes further with negative guidance — prefer typed item/presentation tools, or authoring-get-item-template / common-get-item-field for template fields — naming actual sibling tools to use instead.

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