Skip to main content
Glama

Add Web Layer

add_web_layer

Add a web layer (XYZ, WMS, or WFS) to the QGIS project by specifying its URL and service type.

Instructions

Add a web layer (XYZ, WMS, WFS) to the project. service: 'xyz', 'wms', 'wfs'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
crsNoEPSG:3857
urlYes
nameNo
serviceYes
Behavior2/5

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

No annotations are present, so the description must carry the burden. It does not disclose behaviors like network requirements, error handling for invalid URLs, or side effects (e.g., overwriting existing layers). The description is too brief to inform safe invocation.

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 concise with two sentences, no wasted words. However, it could be structured better (e.g., listing parameters) without adding length.

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 the tool has 4 parameters (2 required), no output schema, no annotations, and many sibling tools, the description is minimal. It does not explain parameter relationships, provide examples, or cover error scenarios, leaving the agent with uncertainty.

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?

The description lists acceptable values for 'service' ('xyz', 'wms', 'wfs'), which adds meaning beyond the schema (which had 0% coverage). However, it ignores the other three parameters (url, crs, name), leaving their purpose implied. Partial compensation for low schema coverage.

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 verb 'Add', the resource 'web layer', and specifies the supported service types (XYZ, WMS, WFS). This distinguishes it from sibling tools like add_raster_layer or add_vector_layer.

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 is provided on when to use this tool versus alternatives such as add_raster_layer or add_vector_layer. With many sibling layer tools, explicit usage context is lacking.

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/lefcgis/qgis-mcp'

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