remove_layer
Remove a thematic layer from the QGIS map by specifying its layer type, clearing unwanted content from the current project.
Instructions
Remove a thematic layer from the map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_type | Yes |
Remove a thematic layer from the QGIS map by specifying its layer type, clearing unwanted content from the current project.
Remove a thematic layer from the map.
| Name | Required | Description | Default |
|---|---|---|---|
| layer_type | Yes |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full disclosure burden for a mutation tool. It implies removal but says nothing about reversibility, error behavior for an unknown layer_type, or what happens if the layer is absent. That is a substantial 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?
A single tight sentence with no filler and the action front-loaded. It is efficient, though its brevity reflects under-specification rather than disciplined economy.
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?
For a mutation tool with no annotations, no output schema, and an undocumented parameter, the description leaves too much unsaid: side effects, failure modes, and how to obtain a valid layer_type are all missing.
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% and the description never mentions the single required parameter layer_type, nor that valid values come from list_layer_types. The description adds no meaning beyond the bare property name in the schema.
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 and resource: 'Remove a thematic layer from the map.' An agent can distinguish this from add_layer by the verb alone. It does not, however, name or contrast with any sibling explicitly, so it stops short of a 5.
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 versus reset_map (which presumably removes all layers) or get_map_state to verify current layers. No mention of prerequisites such as needing a valid layer_type from list_layer_types.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.