Skip to main content
Glama

DaedalMap Geography Tools (loc_id)

Resolve Map Viewport

resolve_bbox
Read-onlyIdempotent

Compare one non-wrapping rectangular WGS84 viewport in one scope. Omit scope_id for Global GeoBoundaries Admin 0-2, or supply one published ISO3 country for its own Admin 0-3 geometry and loc_ids. Country administrative releases with a temporal index accept optional as_of for selected historical Detail; omit it for the latest layout. Returns the best equal-area overlap plus nearby matches at each level and their shares of the viewport and loc_id. Large views may require zooming in. get_tool_help lists country scopes.

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": {
      "corners": "<corners>"
    },
    "name": "resolve_bbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoOptional YYYY-MM-DD date for a country Admin 0-3 Detail viewport; omit for the latest admitted layout.
cornersYesFour distinct corners of one axis-aligned rectangle; no antimeridian crossing.
scope_idNoGLOBAL (default) or one published ISO3 country. No automatic cross-scope routing.GLOBAL
request_idNoOptional caller-supplied tracing ID.

Output Schema

NameRequiredDescriptionDefault
okNo
bboxNo
errorNo
reasonNo
rankingNo
batch_idNo
guidanceNo
warningsNo
next_stepNo
best_matchNo
request_idNo
query_layoutNo
admin_1_scopeNo
clarificationNo
meter_receiptNo
shallow_loc_idNo
geometry_releaseNo
settlement_receiptNo
matches_by_admin_levelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / as_of
      Added value: +{
      +  "description": "Optional YYYY-MM-DD date for a country Admin 0-3 Detail viewport; omit for the latest admitted layout.",
      +  "format": "date",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / scope_id
      Added value: +{
      +  "default": "GLOBAL",
      +  "description": "GLOBAL (default) or one published ISO3 country. No automatic cross-scope routing.",
      +  "minLength": 3,
      +  "type": "string"
      +}
  3. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: the equal-area overlap ranking, nearby matches with shares of viewport and loc_id, the no-cross-scope-routing rule, and the large-view limitation. It does not discuss rate limits or failure modes for out-of-scope ISO3 codes.

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?

Four sentences, front-loaded with the core operation, then scope rules, then temporal behavior, then return shape and limits. Dense but every sentence carries information; occasional internal jargon ('Detail', 'loc_ids') costs a bit of clarity without adding waste.

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?

With an output schema present, the description need not detail return fields, yet it still summarizes the overlap-and-shares result. Scope handling, temporal indexing, and the large-view caveat are all covered, which is adequate for a four-parameter comparison tool; the only soft spot is undefined jargon and no failure-case guidance.

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 100%, so baseline is 3, but the description earns more: it explains what omitting scope_id means (Global Admin 0-2) and clarifies that as_of applies only to country releases with a temporal index, framing it as 'optional as_of for selected historical Detail.' It says nothing about request_id beyond what the schema states.

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 opens with a specific verb and resource: 'Compare one non-wrapping rectangular WGS84 viewport in one scope.' The scope levels (Global Admin 0-2 vs. a country's Admin 0-3) implicitly separate it from the point-based siblings, but no sibling is named, so an agent must infer the boundary rather than read it.

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?

It states the scope-selection rule clearly – omit scope_id for Global Admin 0-2, supply one published ISO3 for country Admin 0-3 – and points to get_tool_help for country scopes. It also conditions as_of on releases with a temporal index and warns that large views may need zooming in. It stops short of explicit when-not-to-use guidance against resolve_deep_bbox or resolve_point.

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.