Skip to main content
Glama

Change Webroot

kinsta.environments.webroot

Change the webroot subfolder for a Kinsta environment. Specify the new path and optionally clear caches and refresh plugins.

Instructions

Change the webroot subfolder for an environment. Returns an operation_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
env_idYesThe environment ID
web_root_subfolderYesNew webroot subfolder path
clear_all_cacheNoClear all caches after change
refresh_plugins_and_themesNoRefresh plugins and themes after change

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

Annotations provide only openWorldHint: true, which hints at side effects but is vague. The description adds that it returns an operation_id (async), but does not disclose potential impacts like file system reorganization, downtime, or required permissions.

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 sentence that efficiently conveys the core purpose and return value. However, it is too short and omits important contextual details, making it less helpful than it could be.

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?

Despite having an output schema, the description is minimal. It does not explain what a webroot subfolder is, valid paths, or the implications of the optional parameters (clear_all_cache, refresh_plugins_and_themes). An asynchronous mutation like this requires more context for correct usage.

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 schema already describes each parameter. The description adds no additional meaning beyond what is in the schema, meeting the baseline but not exceeding it.

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 the webroot subfolder') and the resource ('for an environment'), and mentions the return value ('Returns an operation_id'). It differentiates from siblings by focusing specifically on webroot changes.

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, no prerequisites, and no conditions where it should not be used. The description only states the operation, leaving the agent to infer usage context.

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/jacob-hartmann/kinsta-mcp'

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