Skip to main content
Glama

update_openresty_by_file

Updates OpenResty configuration by file on a 1Panel server. Use when you need to change OpenResty settings via file upload.

Instructions

Update OpenResty config by file (XPack)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It hints at an 'XPack' requirement, which is useful, but omits whether the update overwrites the entire config, requires specific permissions, validates the input, or fails safely. For a mutation tool, this leaves critical behavior undisclosed.

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, front-loaded sentence with no filler or redundancy. It is appropriately concise, though its extreme brevity contributes to the lack of detail noted in other dimensions.

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?

Given this is a mutation tool with no annotations, no output schema, and 0% parameter documentation, the description is far too thin to be called complete. It should at minimum clarify what the 'content' parameter expects and what 'by file' operationally means.

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% and the required 'content' parameter has no schema description. The phrase 'by file' vaguely implies the parameter holds file contents, but it does not specify format, whether it is a path or inline text, or any constraints, so the description fails to compensate for the coverage gap.

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?

States a specific verb ('Update'), resource ('OpenResty config'), and mechanism ('by file'), and distinguishes the tool from read-only siblings like get_openresty_conf. However, it does not explicitly differentiate itself from the sibling update_openresty_conf, leaving the exact distinction to inference.

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 when-to-use guidance, prerequisites, or comparison to alternatives such as update_openresty_conf. An agent must infer usage from the name alone, with no explicit context about when a file-based update is preferred over other update methods.

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