Skip to main content
Glama
nkarasiak

QGIS MCP

by nkarasiak

Add Bookmark

add_bookmark

Add a spatial bookmark to the QGIS project for quick navigation by providing a name and bounding box extent, with optional CRS and group settings.

Instructions

Add a spatial bookmark to the project for quick navigation. Provide a name and extent (xmin/ymin/xmax/ymax), in crs when given, else the project CRS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
crsNo
nameYes
xmaxYes
xminYes
ymaxYes
yminYes
groupNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.15.0
    • addedInput schema / properties / crs / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / crs / default
      Previous value: -"EPSG:4326"New value: +null
    • removedInput schema / properties / crs / type
      Removed value: -"string"
  2. Addedv0.5.0
  3. Removed
  4. First observedv0.3.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses CRS behavior ('in crs when given, else the project CRS') but doesn't mention what happens on duplicate names, error handling, or whether the operation returns a success indicator. Given the sparse behavioral details, a 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no fluff. It states the action, resource, and essential parameter guidance compactly, earning a top score.

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?

For a creation tool with 7 parameters and no output schema or annotations, the description is incomplete. It doesn't mention return behavior, duplicate handling, the 'group' parameter, or any side effects. An agent would have to infer or risk errors.

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?

Schema description coverage is 0%, so the description must compensate. It explains the required 'name' and 'extent' (xmin/ymin/xmax/ymax) and clarifies the 'crs' parameter's role. However, it omits the 'group' parameter entirely and doesn't specify units or coordinate format, leaving part of the schema unexplained.

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 action ('Add') and the resource ('spatial bookmark'), with a purpose ('for quick navigation'). It distinguishes from sibling tools like get_bookmarks and remove_bookmark by indicating creation rather than retrieval or deletion.

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

Usage Guidelines4/5

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

The phrase 'for quick navigation' implies the use case of saving a location for later access. It doesn't explicitly contrast with alternatives like get_bookmarks or mention when not to use it, but the context is clear enough. Sibling names reinforce that this is the creation counterpart to get/remove.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools