Skip to main content
Glama

DaedalMap Geography Tools (loc_id)

Resolve Map Viewport (Deep)

resolve_deep_bbox
Read-onlyIdempotent

Second-pass rectangle overlap after a country-scoped resolve_bbox call. Supply its deep_scope_loc_id as shallow_loc_id for a direct country-only read. Routes to that country's one Admin 1-owned exact partition and compares its Admin 1-6 spine. Optional as_of selects historical Admin Detail where a deep temporal index is published; omit it for the latest layout. Supply the original four WGS84 corners; broad views may require zooming in.

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

Input Schema

NameRequiredDescriptionDefault
as_ofNoOptional YYYY-MM-DD date for selected historical Admin 1-5 Detail geometry; omit for the latest admitted layout.
cornersYesFour distinct corners of one axis-aligned rectangle; no antimeridian crossing.
request_idNoOptional caller-supplied tracing ID.
shallow_loc_idYesUse deep_scope_loc_id from the shallow result for a direct country-only read; its Admin 1 owner selects one deep partition.

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 selected historical Admin 1-5 Detail geometry; omit for the latest admitted layout.",
      +  "format": "date",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / shallow_loc_id / description
      Previous value: -"One canonical Admin 1-3 loc_id from the shallow result; its Admin 1 owner selects one deep partition."New value: +"Use deep_scope_loc_id from the shallow result for a direct country-only read; its Admin 1 owner selects one deep partition."
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: partition routing to a single Admin 1 owner, comparison against the Admin 1-6 spine, conditional historical selection 'where a deep temporal index is published', and a hinted failure mode for broad views.

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?

Five sentences, front-loaded with the sequencing constraint and the key linkage between the two calls; there is little filler. Minor redundancy: restating that four WGS84 corners are required when the schema already enforces minItems/maxItems and documents the format, and the jargon density slows comprehension slightly.

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

Completeness5/5

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

With an output schema, rich annotations, and 100% parameter coverage, the description only needs to supply the call choreography and conditional behavior, which it does: prerequisite call, ID handoff, optional historical branch, and a viewport-size warning. Nothing essential for correct invocation is missing.

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 would be 3, but the description adds genuine meaning: shallow_loc_id must come from the shallow result's deep_scope_loc_id and drives partition selection, as_of is conditional on a published deep temporal index, and corners must be the original four WGS84 corners. That is more than the schema conveys on its own.

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 opening sentence names a specific operation ('second-pass rectangle overlap') and anchors it to the sibling call it follows ('after a country-scoped resolve_bbox call'). It also states what the tool resolves to ('that country's one Admin 1-owned exact partition'), so an agent can distinguish deep from shallow without opening either schema.

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 gives a clear prerequisite (must follow resolve_bbox), tells the caller to pass that result's deep_scope_loc_id as shallow_loc_id, and explains the optional as_of path versus omitting it for the latest layout. It stops short of an explicit 'do not use for first-pass resolution' statement, and the 'broad views may require zooming in' caveat is vague about when the call actually fails.

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.