Skip to main content
Glama

Read content types and blocks

get_schema
Read-only

Returns the content types and blocks (components), so drafts you write are valid; call it before create_draft or update_draft. Without arguments it gives an overview: each content type and block with its key, name, description, what it may hold and its field keys. Call it again with the contentTypes and components you will write for their full field definitions, along with the Travel Orbit and Commerce Orbit sections. A field with showWhen only applies while the named field of the same type or block holds that value (or one of the listed values); leave it out otherwise, since it is not required and is not delivered. A link field takes { kind: "content", contentId: } to link to a page, which follows the page when it moves, or { kind: "url", href: "https://…" or "/path" } for an address. A slider or rating field takes a number within its validation min and max, on its step (a rating counts stars, in halves only with halfStars). A code field takes { language, code } with a language from its languages, and code as plain text. A palette field takes { name, hex } of one of its options, whose label is the name and value the hex. When the website is connected to Travel Orbit, the travel section describes the Trip, Trips, Destination and Departure field shapes, links to a trip, destination or guide ({ kind: "trip" | "destination" | "guide", travel: { id, name } }), the Travel blocks, the section blocks of the Trip, Destination and Guide page templates, and the templates themselves; use list_travel_items for the ids. When it is connected to Commerce Orbit, the commerce section describes the Product, Products and Collection field shapes and the Commerce blocks; use list_commerce_items for the ids.

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_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
componentsNoBlock keys from the overview to return in full, such as hero or text.
contentTypesNoContent type keys from the overview to return in full, such as page or article.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / components
      Added value: +{
      +  "description": "Block keys from the overview to return in full, such as hero or text.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 60,
      +  "type": "array"
      +}
    • addedInput schema / properties / contentTypes
      Added value: +{
      +  "description": "Content type keys from the overview to return in full, such as page or article.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive safety profile, but the description adds substantial context beyond them: what the argument-less overview contains (key, name, description, what it may hold, field keys), how showWhen fields behave (conditional, not required, not delivered), and which extra sections appear depending on Travel Orbit / Commerce Orbit connections. It stops short of describing response size or pagination for large schemas.

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?

It is front-loaded with the key instruction, but the body is a single dense paragraph of roughly 250 words mixing calling guidance with per-field-type shape rules. The content mostly earns its place given no output schema exists, but the wall-of-text structure makes it harder to scan than it needs to be.

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?

With no output schema, the description carries the full burden of describing the return payload and does so thoroughly, including conditional Travel Orbit and Commerce Orbit sections. An agent has everything needed to call it in either mode and interpret the result.

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%, so the baseline is 3, but the description adds real meaning: the parameters select which content types and components get full field definitions, and the values must be keys seen in the overview. It does not mention the maxItems caps (20 content types, 60 components), which is the one remaining gap.

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 content types and blocks (components) — and ties the purpose to an outcome: 'so drafts you write are valid'. It is clearly distinguished from the sibling mutation tools create_draft and update_draft.

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 explicit timing ('call it before create_draft or update_draft'), explains the two calling modes (no arguments for an overview, arguments for full field definitions), and routes to alternatives for ids ('use list_travel_items', 'use list_commerce_items').

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