Skip to main content
Glama
dockergiant

RollDev MCP Server

by dockergiant

rolldev_magento_cli

Execute Magento CLI commands inside a PHP-FPM container for your project. Specify the project path, command, and optional arguments or log output to a file.

Instructions

Run roll magento command inside the php-fpm container

Input Schema

NameRequiredDescriptionDefault
argsNoAdditional arguments for the command
commandYesMagento CLI command (without 'bin/magento' prefix)
project_pathYesPath to the project directory
save_output_to_fileNoSave full output to a log file for later investigation (useful for long output)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It only states that the command is run inside a container, with no mention of return values, error handling, persistence, or side effects. This is insufficient for a tool that executes arbitrary commands.

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?

The description is a single short sentence, making it concise and front-loaded. However, the word 'roll' seems out of place (likely a typo), slightly detracting from clarity.

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?

The tool is relatively simple with 4 parameters and no output schema. The description does not explain return values or output behavior, but given the schema coverage and tool purpose, it is minimally adequate.

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?

The input schema has 100% description coverage, so the schema already documents all parameters. The description adds no additional meaning beyond what is in the schema, achieving the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly indicates the tool runs a Magento CLI command inside a php-fpm container. The verb 'run' and resource 'magento command' are specific, and it distinguishes from sibling tools like rolldev_composer or rolldev_db_query. However, the phrasing 'roll magento command' is slightly ambiguous (possibly a typo), preventing a perfect score.

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 implies usage for running Magento CLI commands in a container, but provides no explicit guidance on when to use this tool versus alternatives like rolldev_magento2_init or rolldev_php_script. No when-not or alternative suggestions are given.

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