Skip to main content
Glama

Gökhan Turhan — site and estate APIs

get_site_collection

Read-only

Fetch a public site collection from GET /api/site/{collection}.json (index, journal, cv, products, about, links, publishing, pages). Long lists are trimmed; journal bodies are omitted unless include_body is true.

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": {
      "collection": "<collection>"
    },
    "name": "get_site_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax items from the main list (default 10 journal, 40 pages, 25 otherwise).
collectionYes
include_bodyNoInclude journal post bodies. Default false.

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 readOnlyHint and openWorldHint=false, and the description adds substantive behavior beyond them: long lists are trimmed, and journal bodies are suppressed unless include_body is true. These are non-obvious output-shaping traits that an agent would otherwise not predict, though the description does not say exactly which fields get trimmed.

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?

Two tight sentences with the endpoint front-loaded and the behavioral caveats following. The raw route path is slightly implementation-flavored but earns its place by anchoring what is fetched; 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?

For a three-parameter read-only fetch with no output schema, the definition covers what is retrieved, the collection set, and the main output-shaping switches. What remains thin is the shape of returned items and precisely what 'trimmed' removes, which an agent building on the response would want.

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 67% and the schema already documents defaults for limit and include_body. The description reinforces include_body's effect ('journal bodies are omitted unless include_body is true') and the general trimming concept, but adds no detail on limit semantics beyond what the schema states.

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?

States a specific verb and resource ('Fetch a public site collection from GET /api/site/{collection}.json') and enumerates exactly which collections are available, so the agent knows the scope without opening the schema. It does not name or distinguish itself from siblings like get_page, list_links, or search_journal, which would be needed for 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?

Usage is only implied: enumerating collection names suggests this is the bulk-per-collection fetch rather than a single-item get. There is no explicit when-to-use or when-not-to-use guidance, and no routing to siblings such as search_journal for filtered journal access.

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.