Skip to main content
Glama
dockergiant

RollDev MCP Server

by dockergiant

rolldev_magento2_init

Initialize a new Magento 2 project with automatic version configuration. Specify project name and optionally set Magento version and target directory.

Instructions

Initialize a new Magento 2 project using RollDev's magento2-init command with automatic version configuration

Input Schema

NameRequiredDescriptionDefault
project_nameYesName of the Magento 2 project (lowercase letters, numbers, and hyphens only)
magento_versionNoMagento version to install (default: 2.4.x). Examples: 2.4.x, 2.4.7, 2.4.7-p3, 2.4.82.4.x
target_directoryNoDirectory to create project in (optional, defaults to current directory). Project will be created in a subdirectory named after the project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations provided, and the description only mentions 'automatic version configuration' without elaborating on side effects, prerequisites, or potential destructive actions like overwriting files.

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

Conciseness3/5

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

The description is a single sentence that is succinct but lacks structure. It is not verbose but could be more informative without being lengthy.

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

Completeness2/5

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

With no output schema and no annotations, the description should provide more context about the initialization process, but it only mentions version configuration. Missing details about project structure creation, network calls, or prerequisites.

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 description adds little beyond what the schema already provides. Baseline 3 is appropriate; no additional clarifications over schema descriptions.

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 it initializes a new Magento 2 project using a specific command with automatic version configuration, distinguishing it from sibling tools like rolldev_magento_cli and rolldev_composer.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives (e.g., rolldev_start_project) or when not to use it. The description lacks contextual usage hints.

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