Skip to main content
Glama
geolens-mcp

geolens-mcp

Official

set_camera

Sets a saved map's opening view by updating center, zoom, pitch, or bearing; only supplied arguments change, letting you adjust one property without resetting others.

Instructions

Set the view a map opens at. Only the arguments given change. 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. center: [longitude, latitude] in WGS 84. zoom: Zoom level, 0-24. pitch: Tilt in degrees, 0-85. bearing: Rotation in degrees, -180 to 180.

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>"
    },
    "name": "set_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoomNo
pitchNo
centerNo
map_idYes
bearingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.33.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden, and it does disclose non-obvious behavior: partial-update semantics ("Only the arguments given change" implies unspecified fields are preserved) and the auth model plus what a 401/403 signifies. It omits what a successful call returns and any error behavior beyond auth, so it is strong but not exhaustive.

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 summary sentence is front-loaded with the operation and the critical partial-update and auth caveats, then the Args block enumerates semantics. It is efficient, though the Args entries duplicate numeric ranges already present in the schema.

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 five-parameter mutation with no annotations and no output schema, the definition covers purpose, auth scope, partial-update behavior, and per-field formats. The main residual gap is that it never says what the response looks like, which matters slightly as an agent cannot confirm the new camera state.

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

Parameters5/5

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

Schema coverage is 0%, yet all five parameters are documented with meaning the schema lacks: center is ordered [longitude, latitude] in WGS 84, zoom/pitch/bearing are in degrees, and map_id must be owned by the calling key. The ranges restate schema bounds, but the units and coordinate ordering are genuine additions the schema cannot convey.

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?

"Set the view a map opens at" gives a specific verb (set) and resource (map camera/initial view), which an agent can cleanly separate from siblings like set_basemap or add_layer. It stops short of an explicit sibling comparison, 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 the key precondition (a `map_author` API key scoped to maps it created) and interprets 401/403, which helps decide whether calling is viable. However, it never states when to use this versus alternatives such as set_basemap or create_map, so usage is only implied by the tool's purpose.

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