get_openresty_conf
Retrieve OpenResty configuration from 1Panel. Inspect or back up web server settings before changes.
Instructions
Get OpenResty configuration (XPack)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Retrieve OpenResty configuration from 1Panel. Inspect or back up web server settings before changes.
Get OpenResty configuration (XPack)
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v1.0.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, yet it only implies read-only via the verb 'Get'. It says nothing about what is returned (raw file contents vs parsed structure), whether it is read-only, or whether the XPack edition must be installed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded phrase with no padding or redundancy. Its brevity is appropriate for what is essentially a named getter, though the phrase is closer to a label than a sentence.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, so the description should indicate what configuration is returned and in what form. It never explains what 'XPack' means or how the result differs from the partial-config sibling, leaving a real gap for an agent choosing between OpenResty config tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing for the description to clarify; the baseline for a parameterless tool applies. No schema semantics are needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Get') and resource ('OpenResty configuration'), and the '(XPack)' qualifier hints at scope. It does not, however, distinguish itself from the numerous sibling getters in the same family (get_openresty_status, get_openresty_partial_conf, get_openresty_modules).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this rather than get_openresty_partial_conf, get_openresty_status, or get_nginx_conf. The agent is left to infer the boundary between full config, partial config, and status from names alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.