create-data-type

Creates a new data type * CRITICAL WORKFLOW REQUIREMENT * BEFORE creating any new data type, you MUST perform the following steps: 1. First use the find-data-type function to search for existing data types with similar names and/or property editors 2. Verify if an existing data type can satisfy t...

Server Mcp Dev @umbraco-cms/mcp-dev
Category Write
Risk class Medium
Parameters 00 required

What create-data-type does on Mcp Dev

AI agents use create-data-type to create or update resources in Mcp Dev — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp Dev environment.

Why create-data-type needs a policy

This tool creates new data types in Umbraco CMS, which are structural/configuration objects that define how content properties behave. This is a write operation that adds new persistent data to the system. While reversible (data types can be deleted), creation of CMS schema elements affects the system's data model and could impact existing content or workflows.

From the tool's definition Creates a new data type - this is a create operation that modifies the Umbraco CMS configuration by adding new content type definitions.

Questions about create-data-type

What does the create-data-type tool do? +

Creates a new data type * CRITICAL WORKFLOW REQUIREMENT * BEFORE creating any new data type, you MUST perform the following steps: 1. First use the find-data-type function to search for existing data types with similar names and/or property editors 2. Verify if an existing data type can satisfy the requirements 3. Only proceed with creating a new data type if no suitable option exists 4. If a similar data type exists, inform the user and suggest using this one instead. * PROPERTY EDITOR CONFIGURATION * When creating a new data type you will need to assign a property editor with the correct configuration. IMPORTANT: Use the get-data-type-schema tool to: - Get the JSON Schema for an existing data type by its Id to understand its configuration structure - Or use get-data-type-schemas to fetch schemas for multiple data types in a batch - The schema describes the expected value structure for the property editor * VALIDATION * If you are not asked for a property editor then stop and ask the user to provide one. If you are asked to create a data type for a property that already exists, then stop and ask the user to provide a unique name. It is categorised as a Write tool in the Mcp Dev MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on create-data-type? +

Register the Mcp Dev MCP server in PolicyLayer and add a rule for create-data-type: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Dev. Nothing to install.

What risk level is create-data-type? +

create-data-type is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit create-data-type? +

Yes. Add a rate_limit block to the create-data-type rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block create-data-type completely? +

Set action: deny in the PolicyLayer policy for create-data-type. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides create-data-type? +

create-data-type is provided by the Mcp Dev MCP server (@umbraco-cms/mcp-dev). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.