Skip to main content
Glama

Get site

get_site
Read-onlyIdempotent

Returns a site overview: name, theme, plan, nav (the site menu; else navSummary) and navVersion (set_nav (area admin)’s baseNavVersion), iconAssetId, siteHeader / siteFooter, pageCount and the first 50 pages (review: true = held back; list_pages reads the rest), editLink, needsAttention (unpublishedChanges: pages saved since the live site; unpublishedSiteChanges: the other parts changed), suggestions (apply_suggestion (area admin)), unreachablePrivatePages, unfindableProducts and withheld/warned (after a report). Full reference: get_reference {topic:"publishing"}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "siteId": "<siteId>"
    },
    "name": "get_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNotrue: every page row and the whole menu, uncut
siteIdYesSite id (from list_sites)
navQueryNoWords of a menu entry: navMatches lists the entries with them, each with id, link and path
includeNavNotrue: the whole menu with entry ids; false: navSummary only

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations it discloses real behavior: only the first 50 pages are returned, review:true entries are held back, navVersion is set_nav's baseNavVersion, and needsAttention splits into unpublishedChanges vs unpublishedSiteChanges. It also flags admin-only dependencies (set_nav, apply_suggestion) and that withheld/warned appear only after a report.

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

Conciseness3/5

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

The single front-loaded sentence is information-dense and wastes few words, but it is a run-on with nested parentheticals and semicolons that is hard to parse on first read. Some field names (theme, plan, iconAssetId, siteHeader) are listed without explanation, adding bulk without much payoff.

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?

With no output schema, the description carries the burden of explaining return values and largely does so, including truncation limits and the meaning of derived fields. A few returned fields are named but unexplained, which is the only remaining gap for a read tool whose safety profile is already covered by annotations.

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 full, siteId, navQuery, and includeNav are already documented in the schema. The description echoes the nav/navSummary relationship but adds no syntax or format detail beyond what the schema provides, making the baseline 3 correct.

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 ("Returns a site overview") and then enumerates the exact fields returned, so an agent can distinguish it from get_page, list_pages, and get_publish_status without opening any schema.

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

Usage Guidelines4/5

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

Routes the agent explicitly in several sub-cases: use list_pages for pages beyond the first 50, apply_suggestion (area admin) for suggestions, and get_reference {topic:"publishing"} for the full model. It never states the top-level condition for choosing this tool over get_page or get_publish_status, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources