Skip to main content
Glama

Set project layer zoom range

project_set_layer_zoom_range

Set a layer's minimum and maximum visible zoom levels. expectedSpecVersion is required to prevent stale writes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "expectedSpecVersion": "<expectedSpecVersion>",
      "input": "<input>"
    },
    "name": "project_set_layer_zoom_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
projectIdYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
expectedSpecVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare the safety profile: not read-only, not destructive, not idempotent. The description adds one genuinely useful behavioral fact: the version guard exists to prevent stale writes. It does not explain the failure mode when the version is stale, whether minZoom greater than maxZoom is rejected, or what side effects the write has on the layer.

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 sentences, no filler, with the core action stated first and the version-guard rationale second. The second sentence is terse to the point of under-explaining, but nothing is wasted.

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?

This is a nested-input mutation tool with no output schema and only 25% schema coverage. The description never covers validation rules, the failure behavior on a stale version, or where to get expectedSpecVersion, all of which an agent needs in order to call this correctly.

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

Parameters2/5

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

Schema description coverage is only 25%, so the description carries much of the burden, and it doesn't. projectId, expectedSpecVersion, and conversation_id have no schema descriptions, and the description explains only why expectedSpecVersion exists, not its format or where to obtain it. The relationship between minZoom and maxZoom is never mentioned.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Set a layer's minimum and maximum visible zoom levels.' That is unambiguous and it is clearly different from siblings such as project_set_layer_filter or project_set_layer_visibility. It does not explicitly say how it differs from those siblings, though, so a 4 is appropriate.

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?

It notes that expectedSpecVersion is required and why, namely to prevent stale writes, which gives the agent a reason to fetch the current version first. But it never states when to use this tool rather than the layer-settings or style tools, and it names no alternatives or exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources