Skip to main content
Glama
geolens-mcp

geolens-mcp

Official

set_basemap

Change a saved map's basemap to an instance basemap ID or blank. Use a map_author API key that created the map to authorize the update.

Instructions

Change a map's basemap. Needs a map_author API key, which can change only the maps it created; a 401 or 403 means the server runs without one.

Args: map_id: A map this key created. basemap: Basemap id from the instance's basemap list, or "blank".

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": {
      "map_id": "<map_id>",
      "basemap": "<basemap>"
    },
    "name": "set_basemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
map_idYes
basemapYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.33.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose auth scope and error semantics (401/403 = server without a key). It does not say whether the change overwrites an existing basemap, whether it is reversible, or what the response looks like for a mutation tool.

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?

Front-loaded with the action, then the auth constraint, then per-argument notes. Compact with no filler, though the "Args:" block formatting is slightly mechanical for a two-parameter tool.

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

Completeness4/5

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

For a two-parameter mutation with no output schema and no annotations, the description covers the action, the auth requirement, error interpretation, and both parameters' valid values. Only the effect on the prior basemap and the return value are left unstated.

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?

Schema coverage is 0%, so the description must compensate, and it does: `map_id` is constrained to a map the key created, and `basemap` is sourced from the instance's basemap list with the special value "blank" called out. That adds real meaning beyond the bare string types.

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?

"Change a map's basemap" gives a specific verb and resource, and the resource (basemap) is distinct from siblings like set_camera or add_layer. It stops short of explicitly naming an alternative, but the purpose is unambiguous.

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 supplies a real prerequisite: a `map_author` API key that can only modify maps it created, plus the meaning of 401/403. That is useful context for deciding whether the call can succeed, but there is no guidance on when to choose this over other map-mutating tools.

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