Skip to main content
Glama

style_set_single_symbol

Apply a uniform symbol style to a vector layer by specifying layer ID, fill color, and optional size, outline color, and outline width.

Instructions

Style a vector layer with one uniform symbol.

color and outline_color accept any Qt color string (e.g. "#FF0000", "red"). size is point diameter or line width depending on geometry type (ignored for polygons - use outline_width for their border).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNo
colorYes
layer_idYes
outline_colorNo
outline_widthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

The description explains parameter behavior (Qt color strings, size geometry dependence) but does not disclose side effects, error conditions, or that it overwrites existing style. No annotations present to supplement.

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?

Two-sentence description plus parameter notes is efficient. Could be slightly tighter but no wasted words. Front-loaded with purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers parameter semantics well but does not mention return value (despite output schema existing) or error handling. For a styling tool with moderate complexity, it's adequate but has gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description compensates by explaining color/outline_color formats, size behavior by geometry, and outline_width usage. It adds meaning beyond schema, though layer_id is not explained.

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 it styles a vector layer with one uniform symbol. It distinguishes from sibling style tools like categorized, graduated, or rule-based by implying single symbol styling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for uniform symbols but does not explicitly state when to use vs. alternatives or provide prerequisites. It lacks when-not guidance.

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

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