Skip to main content
Glama

Confita

Get the site

get_site
Read-onlyIdempotent

For shop owners: the seller's site: a style summary, each page's sections and blocks (id, type, gist), posts, unpublished changes, what needs Pro, and the draft_version a change or publish takes. page, part or post returns one page, the whole style or one post in full. preview_url is where the seller sees the draft.

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": "get_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoA page path, such as "/about".
partNo"style": the whole style, header, footer, social and menu.
postNoA post slug, in full; a whole save needs include_code.
include_codeNoCustom blocks' code in full.

Output Schema

NameRequiredDescriptionDefault
cardNo
nextNo
pageNo
paidNo
postNo
errorNo
pagesNo
postsNo
stateNo
styleNo
outcomeNo
timezoneNo
full_styleNo
preview_urlNo
draft_versionNo
upgrade_neededNo
contrast_suggestionsNo
contrast_suggestions_moreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: unpublished drafts are included, Pro-gated items are surfaced, preview_url shows the seller's draft, and draft_version is the concurrency token for later mutations. Missing only return-size or pagination notes for a potentially large payload.

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?

Three tight sentences with the payload summary front-loaded and the mode-selection rules grouped afterward. The prose is dense and slightly run-on ('what needs Pro, and the `draft_version` a change or publish takes'), but nearly every clause carries information an agent needs.

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 an output schema present, return values needn't be spelled out, yet the description still usefully sketches what comes back and how the modes differ. For a 4-param, zero-required read tool this is close to complete; only the include_code interaction and payload scale are left unaddressed.

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%, so the baseline is 3. The description reinforces the meaning of page, part and post (full-page, whole-style, single-post modes) but adds nothing about include_code, which the schema itself flags as required for a 'whole save' of a post with custom blocks.

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?

The description names a specific resource (the seller's site) and enumerates its contents: style summary, page sections and blocks, posts, unpublished changes, Pro-gated items, and draft_version. That is far more specific than the title 'Get the site'. The verb is only implied ('the seller's site: ...'), and no sibling (get_shop, get_shop_overview) is named for contrast, so it falls short of a 5.

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

Usage Guidelines3/5

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

It explains parameter-driven scoping ('page, part or post returns one page, the whole style or one post in full') and hints that draft_version is the token a change or publish consumes, which points toward draft_site_change/publish_site. However, it never states when to prefer this full-site read over narrower siblings like get_shop or get_listing, so usage is implied rather than prescribed.

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