Skip to main content
Glama

Change PHP Version

kinsta_tools_php-version

Switch the PHP version for a Kinsta environment to a specified version, returning an operation ID for tracking.

Instructions

Change the PHP version for an environment. Returns an operation_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
php_versionYesPHP version to switch to (e.g. 8.1, 8.2, 8.3)
environment_idYesThe environment ID
is_opt_out_from_automatic_php_updateNoOpt out of automatic PHP updates

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotation only provides openWorldHint, which is minimal. The description discloses that the tool mutates state ('Change') and returns an operation_id, implying an asynchronous operation. However, it does not mention permissions, side effects on the environment, or the meaning of the operation_id. Given the lack of rich annotations, the description carries the burden but only partially fulfills it.

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 concise sentence that states the action and the return value. It is front-loaded and efficient, with no redundant information.

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?

Given the tool's simplicity and the schema's parameter descriptions, the description is mostly complete. It mentions the return of an operation_id, which is useful. However, it lacks any context about prerequisites, error conditions, or what the operation_id represents in terms of tracking the change. For a straightforward mutation, this is acceptable but not exhaustive.

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 schema covers all parameters with descriptions (100% coverage), so the description adds little beyond the schema. It mentions 'PHP version' but doesn't elaborate on formatting or constraints beyond the schema's example. Thus, it meets the baseline for high schema coverage.

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 action ('Change') and the resource ('PHP version for an environment'), which is distinct from sibling tools like restart-php or clear-cache. It also notes the return value (operation_id), making the tool's purpose unambiguous.

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?

The description provides no guidance on when to use this tool versus alternatives, nor does it mention any conditions or exclusions. The agent is left to infer usage from the tool name and schema alone.

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