Skip to main content
Glama

neos_get_site_context

Retrieve site name, content node types, properties, page tree, and editorial workflow instructions before editing Neos content. Call first to load context for the default or a specified site.

Instructions

Get the site context: site name, available content NodeTypes with their properties, current page tree, and editorial workflow instructions. Always call this first at the start of any Neos content editing session. On a multi-site instance "sites" lists all sites; pass "site" to get the context of another site than the default one. Neos 9: each node type also lists its "references" to other nodes, see neos_list_node_types. The "dimensions" in the result list the content dimensions (for example language or country) with their default and fallback chains; pass "dimensions" to the other tools to work in one of them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "neos_get_site_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite node name (see neos_list_sites). Defaults to the default site of the instance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.1

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the exact return payload, multi-site behavior, and Neos 9 reference listings. It never explicitly states that the call is read-only with no side effects, and says nothing about permissions or caching, which is the remaining gap.

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?

Front-loaded with the purpose and the 'call this first' directive, and each sentence adds distinct information. It is somewhat dense, mixing usage guidance, multi-site behavior, and a Neos 9 version note in one block, but there is no filler.

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?

No output schema exists, so the description must explain returns, and it does list the main result sections (sites, node types, page tree, dimensions, workflow instructions). Minor ambiguity remains about the shape of 'current page tree' and the workflow instructions, but an agent has enough to call it correctly.

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 coverage is 100% and the single 'site' parameter's meaning (node name, defaults to the default site) is already documented in the schema. The description adds only the multi-site framing around it, so the schema is doing the heavy lifting.

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 the site context') and enumerates exactly what comes back: site name, NodeTypes with properties, page tree, and editorial workflow instructions. It also differentiates itself from siblings by pointing to neos_list_node_types for references and neos_list_sites for site enumeration.

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?

Gives an explicit imperative: 'Always call this first at the start of any Neos content editing session.' It also explains the multi-site branch (pass 'site' to target a non-default site) and the follow-on usage of the returned 'dimensions' in other tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.