delete_rewrite_rule
Delete a rewrite rule by its numeric ID. This action removes the rule from LemonMCP's configuration.
Instructions
Delete a rewrite rule by its numeric ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Delete a rewrite rule by its numeric ID. This action removes the rule from LemonMCP's configuration.
Delete a rewrite rule by its numeric ID.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
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, and it discloses nothing: not that deletion is irreversible, not whether it requires elevated permissions, not whether it affects active traffic or requires a runtime reload. For a destructive mutation tool this is a significant gap.
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?
One sentence, front-loaded with the verb and resource, no filler. It is efficient, though its brevity is partly under-specification rather than disciplined conciseness.
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?
A destructive, zero-annotation, no-output-schema tool whose only documentation is a single sentence leaves out irreversibility, authorization needs, and post-delete effects. An agent can call it, but cannot predict the consequences.
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?
Schema description coverage is 0%, so the description must compensate. It does clarify that 'id' is the numeric rule identifier rather than a name or script ID, but that only restates the schema's type and adds no format, range, or lookup guidance.
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 (Delete) and resource (rewrite rule) plus the identifier form, which is enough to separate it from delete_rewrite_script, delete_module, and delete_host_mapping. It stops short of explicitly naming the closest sibling it must not be confused with.
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?
There is no when-to-use or when-not-to-use guidance, no prerequisites (e.g. does the rule need to be disabled first, or does the runtime need a reload after deletion). Usage is only inferable from the verb.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.