Skip to main content
Glama

update_php_conf

Modify PHP configuration settings on a 1Panel server by providing the config ID and new content. Use it to apply changes to PHP runtime settings through the MCP server.

Instructions

Update PHP config

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
contentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. 'Update' implies a mutation, but nothing is said about required permissions, whether content replaces or merges with existing configuration, side effects on running PHP processes, or reversibility. For a write tool with zero annotation coverage this is a substantial gap.

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?

It is a single terse fragment with no wasted words, and the purpose is front-loaded. But the brevity is under-specification rather than efficiency: at this length a mutation tool cannot convey enough to be safely invoked.

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?

For a mutation tool with no annotations, no output schema, and two undocumented required parameters, the description is far too thin. An agent cannot determine the target object, the expected content format, or the sibling to prefer, so it lacks the minimum needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters. The description does not explain what 'id' identifies (a PHP version/runtime id?) or what 'content' should contain (a full INI blob, a directive fragment?). With two undocumented required parameters, the description fails to compensate for the schema gap.

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

Purpose3/5

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

The description gives a verb and a resource ('Update PHP config'), so the broad intent is discernible. However, it does not distinguish this from the closely named siblings update_php_conf_file, get_php_conf, and update_php_version in the same namespace, leaving an agent unsure which PHP config artifact this mutates.

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?

There is no when-to-use guidance, no prerequisites, and no pointer to alternatives such as update_php_conf_file for file-based edits or get_php_conf for reading the current config. The agent must infer everything from the name.

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

Deploy Server

Other Tools