Skip to main content
Glama
Degree-AS
by Degree-AS

dw_itemtype_create

Create a DynamicWeb item type with custom fields and restrictions in a single operation.

Instructions

Create a new DynamicWeb item type with fields and restrictions in one operation.

Category conventions:
- Page item types → category: "" (top-level)
- Layout/config → category: "Layout"
- Article paragraphs → category: "Paragraphs/Article"
- Landing paragraphs → category: "Paragraphs/Landing"

For Page item types, set restrictions.allowedChildItemTypes to the paragraph systemNames that editors can add.
For Paragraph item types, leave restrictions.allowedChildItemTypes empty.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
systemNameYesPascalCase, no spaces. This is the contract with the frontend registry.ts.
nameYesHuman-readable name shown in DW Admin
descriptionNo
categoryNoCategory path. Use '' for page types, 'Paragraphs/Landing' or 'Paragraphs/Article' for paragraphs.Paragraphs/Landing
iconNoUnicons icon name, e.g. 'uil-desktop', 'uil-file-alt', 'uil-arrow-circle-right'uil-file-alt
pageDefaultViewNoparagraph
fieldForTitleNoWhich field to use as the item title in DW AdminTitle
includeInUrlIndexNo
fieldsNoFields to add to the item type
restrictionsNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the operation creates in one step and gives behavioral instructions for allowedChildItemTypes. However, it lacks details on side effects (e.g., systemName uniqueness, reversibility, error behavior) and does not mention return value or authentication needs.

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?

The description is concise and well-structured, with a clear one-sentence summary, a bulleted list of conventions, and two targeted sentences on allowedChildItemTypes. Every sentence serves a purpose, and key information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (10 parameters, nested objects, no output schema), the description covers important usage patterns but omits return value information and error handling. It is adequate but not comprehensive.

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 60% (likely underestimated, as all top-level parameters have descriptions). The description adds value beyond the schema by providing category conventions and usage patterns for allowedChildItemTypes. Baseline is 3 due to high schema coverage, and the description minimally supplements it.

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 clearly states the tool creates a new DynamicWeb item type with fields and restrictions in one operation. It identifies the specific verb (create) and resource (item type), and distinguishes from sibling tools like dw_itemtype_update_settings or dw_itemtype_delete.

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?

The description provides clear context for use, including category conventions and instructions for allowedChildItemTypes. While it does not explicitly compare to siblings, the purpose is unambiguous, and the category rules help the agent decide when to use this tool for creating item types.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Degree-AS/degree-dynamicweb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server