Skip to main content
Glama

Add page

add_page

Create a page: pages/.liquid plus its record (the first page is home). text is the page's HTML + Liquid. Returns the pageId. seo.title + seo.description can be set here. Guide: get_style_reference({ topic: "pages" }).

Input Schema

NameRequiredDescriptionDefault
idNoSite id.
seoNoPer-page SEO.
nameYesDisplay name; becomes the slug ("Our Services" → /our-services).
textYesThe page's HTML + Liquid (required).
is404PageNoServe it for unmatched routes.
isHomePageNoMake it the home page (unsets the current one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / position
      Removed value: -{
      -  "description": "Index among ROOT's children (default: before the footer).",
      -  "type": "number"
      -}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "The page's HTML + Liquid (required).",
      +  "maxLength": 2000000,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "name"
      -]New value: +[
      +  "name",
      +  "text"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Site id. Pass it on every call."New value: +"Site id."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false; the description adds real context beyond that by disclosing the on-disk side effect (creates pages/<slug>.liquid), that a slug is derived from the display name, and that the call returns a pageId. It does not say what happens on a slug collision or duplicate name, which is the main unstated behavior.

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?

Four tight sentences with the core action and artifacts front-loaded, followed by parameter hints and the guide pointer. The telegraphic fragment style ("Guide: get_style_reference(...)") is efficient, though the seo sentence is partly redundant with the schema.

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 6-parameter creation tool with a nested seo object and no output schema, the description covers the return value (pageId), the produced file plus record, and where to look for style guidance. Missing only failure/duplicate-slug behavior to be fully complete.

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 schema already documents every parameter including the nested seo object; the description only reiterates that text is HTML+Liquid and that seo.title/seo.description are settable here. That is a minor reinforcement rather than new semantics, so baseline 3 applies.

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 the specific verb and resource ("Create a page") and goes further by naming both artifacts produced: pages/<slug>.liquid and its record. It also states the return value (pageId), so an agent knows exactly what this tool does that update_page or create_site do not.

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?

Gives concrete usage context — the first page created is home, page name drives the slug, and SEO can be supplied at creation time — plus an explicit pointer to get_style_reference({topic:"pages"}) for guidance. It stops short of stating when to prefer this over update_page for an existing page.

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