Skip to main content
Glama

Bootstrap PHP project config

phpustik_init
DestructiveIdempotent

Generate essential PHP configuration files for static analysis, coding standards, testing, and continuous integration. Configure PHPStan and Psalm levels, PHP version matrix, and selectively override existing files.

Instructions

Bir PHP projesi için optimal config dosyalarını üretir: phpstan.neon, psalm.xml, .php-cs-fixer.php, rector.php, phpunit.xml, phpmd.xml, phpcs.xml, .editorconfig, .gitattributes, .github/workflows/ci.yml, bin/pre-commit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onlyNoSadece belirli dosyaları üret (virgülle ayrılmış). Boş = hepsi. Örnek: phpstan.neon,phpunit.xml
forceNoMevcut dosyaların üzerine yaz. Varsayılan: false (üzerine yazmaz).
dryRunNoSadece önizleme (default). apply=true ile dosyalara yaz. Varsayılan: true.
psalmLevelNopsalm.xml için seviye. Varsayılan: 4.4
phpVersionsNoCI matrisinde test edilecek PHP sürümleri (virgülle). Varsayılan: 8.1,8.2,8.3,8.4.8.1,8.2,8.3,8.4
projectPathNoProje kökü (otomatik tespit edilir).
phpstanLevelNophpstan.neon için seviye. Varsayılan: 5 (orta).5
Behavior3/5

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

Annotations indicate idempotentHint=true and destructiveHint=true. The description states it 'produces' files, but relies on parameter descriptions (dryRun, force) to clarify behavior. It adds no extra context about side effects, permissions, or safety beyond what is in the schema.

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 a single sentence that lists all generated files, making it concise and front-loaded. Every word serves a purpose, no fluff.

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?

For a 7-parameter tool with no output schema, the description covers the purpose and outcomes. It lists expected files. However, it could mention that dryRun defaults to true, but that is in parameter descriptions. Overall fairly 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 100% with clear parameter descriptions. The tool description adds no additional meaning beyond the schema for parameters. Baseline 3 is appropriate as the schema sufficiently explains each parameter.

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 generates optimal configuration files for PHP projects, listing specific files. The title 'Bootstrap PHP project config' reinforces the purpose. It distinguishes from sibling tools which are analysis or execution tools, not config generators.

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 when configuring PHP projects but does not explicitly state when to use or avoid this tool, nor does it mention prerequisites or alternatives among siblings. No guidance on when not to use it.

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/halitartuc/phpustik'

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