Skip to main content
Glama
cmssy-io

@cmssy/mcp-server

Official
by cmssy-io

create_page_type

Define a reusable page type with a custom-field schema, enabling pages to carry structured fields. Specify name, slug, URL prefix, and field definitions.

Instructions

Create a page type (template) with a custom-field schema. Pages of this type carry these custom fields. Only call after the user confirms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iconNoLucide icon name
nameNoDisplay name
slugNoURL-safe slug, lowercase (e.g. 'post', 'case-study')
fieldsNoCustom-field schema for this page type
urlPrefixNoURL prefix (e.g. 'blog')
descriptionNo
allowChildrenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.73.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the creation effect and the relationship between the page type and its fields, plus a user-confirmation gate. It does not mention side effects, immutability constraints, or what happens after creation, but the core behavior is reasonably transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, no filler, and the essential confirmation rule is placed at the end as a direct instruction. Every sentence earns its place.

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?

The schema is rich and mostly self-documenting, and the description covers the key prerequisite context. It is not fully exhaustive about edge cases or return behavior, but for a creation tool with this schema detail, it is reasonably 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 71%, so most parameters are already documented. The description adds meaning by framing the 'fields' parameter as the custom-field schema carried by pages of this type, but it does not elaborate on the remaining schema-covered parameters. This is adequate without being especially additive.

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?

The description states a specific verb and resource: creating a page type (template) with a custom-field schema. It also clarifies that pages of this type carry those custom fields, which distinguishes this creation tool from generic page-creation or page-type-read tools.

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?

The description provides one clear precondition: only call after the user confirms. However, it does not explicitly contrast this tool with alternatives like update_page_type, get_page_type, or delete_page_type, nor does it say in which situations creation is preferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.