Skip to main content
Glama

Add page

add_page

Create a page (a type "page" Container under ROOT; the first page is home). Returns the pageId that apply_kit_block and add_nodes take. seo.title + seo.description can be set here. Guide: get_style_reference({ topic: "pages" }).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoSite id.
seoNoPer-page SEO.
nameYesDisplay name; becomes the slug ("Our Services" → /our-services).
positionNoIndex among ROOT's children (default: before the footer).
is404PageNoServe it for unmatched routes.
isHomePageNoMake it the home page (unsets the current one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Site id. Pass it on every call."New value: +"Site id."
  2. 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, idempotentHint=false, destructiveHint=false, so the mutating, non-reversible-on-retry profile is covered. The description adds two things annotations cannot: the return contract (the pageId consumed by sibling tools) and the behavioral nuance that the first page is home — meaningful given there is no output schema.

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 dense sentences, front-loaded with the core action, with no filler. The phrasing "a type 'page' Container under ROOT" is slightly jargon-heavy, which costs a point against the cleanest possible front-loading.

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, nested-object tool with no output schema, the description covers the domain placement, the return value, and the applicable SEO fields, plus a guide pointer. It leaves the non-SEO parameters (position, is404Page, isHomePage) to the schema, which documents them fully.

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%, including the nested seo object, so the schema already carries the parameter semantics. The description's mention of seo.title and seo.description repeats schema-level detail rather than adding syntax, defaults, or interactions, 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 a specific verb+resource ("Create a page") and then pins down the domain model: a type "page" Container under ROOT, with the first page becoming home. This lets an agent separate it from update_page, delete_page, and add_nodes 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?

Gives clear sequencing context by naming the consumers of the returned pageId (apply_kit_block, add_nodes) and routing to get_style_reference({ topic: "pages" }) for further guidance. It stops short of any explicit when-not-to-use or alternative-selection rule, so it is clear context rather than full routing.

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