Skip to main content
Glama

DaedalMap Administrative Boundaries (loc_id to polygon)

Retrieve Shapes for Known loc_ids

get_shape
Read-onlyIdempotent

Shape lookup for exact existing loc_ids only. The default returns shape availability, centroid, and bounding box; include_polygon=true adds GeoJSON coordinates. Obtain any descendant IDs before this call. Historical geometry is returned first and successors are never substituted automatically. When the selected release declares temporal Detail, omit time for its latest held source edition or select one with source_year/as_of. Legacy releases retain their existing current-shape behavior.

Input Schema

NameRequiredDescriptionDefault
as_ofNoOptional ISO date YYYY-MM-DD selecting the latest held publisher source edition at or before that date, not a verified legal change date; cannot be combined with source_year.
loc_idNoDaedalMap loc_id, such as USA-CA-037, USA-Z-00601, USA-NWSFZ-AKZ317, EEZ-USA, or IHO1953-240001002.
loc_idsNoExact DaedalMap loc_ids to fetch in one call. Default public cap is deployment-configurable and lower when include_polygon is true.
batch_idNoOptional caller-supplied batch id for tracing.
request_idNoOptional caller-supplied request id for tracing.
source_yearNoOptional exact publisher source edition year for a selected temporal Detail release.
include_polygonNoWhen true, include the full GeoJSON geometry. Default false.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNo
itemsNo
reasonNo
missingNo
batch_idNo
guidanceNo
warningsNo
availableNo
next_stepNo
requestedNo
selectionNo
request_idNo
clarificationNo
meter_receiptNo
include_polygonNo
settlement_receiptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / as_of
      Added value: +{
      +  "description": "Optional ISO date YYYY-MM-DD selecting the latest held publisher source edition at or before that date, not a verified legal change date; cannot be combined with source_year.",
      +  "type": "string"
      +}
    • addedInput schema / properties / source_year
      Added value: +{
      +  "description": "Optional exact publisher source edition year for a selected temporal Detail release.",
      +  "type": "integer"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the description's real contribution is the default payload composition and the rule that historical geometry is returned first and successors are never auto-substituted. That is meaningful non-obvious behavior, but return format and errors are left to the output schema, keeping this short of full disclosure.

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-loads the lookup purpose and exact-ID constraint, then layers payload, ordering, and temporal rules in descending priority. Dense but every clause carries information; the legacy-behavior sentence is niche but needed to prevent wrong temporal assumptions.

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?

Complete for a lookup tool with an output schema and full parameter documentation: it covers scope limits, payload shape, ordering/succession semantics, and the temporal-release branching, which is the genuinely complex part of this call. Only the caller-visible outcome on missing IDs is unaddressed, a minor gap given an output schema exists.

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 the baseline is 3; the description earns above that by explaining the temporal selection rule — omit time for the latest held source edition versus choosing source_year/as_of — which is semantic guidance the schema cannot express. It also clarifies that include_polygon strictly adds GeoJSON rather than changing scope.

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?

States a specific verb and resource ("Shape lookup") plus the hard scope constraint ("exact existing loc_ids only"), which separates it from the resolve_*/identify_* siblings that take raw points or bounding boxes. It also distinguishes the default payload from the include_polygon variant in the same opening sentence.

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?

Gives concrete preconditions and conditions: resolve descendant IDs before calling, omit time for the latest held source edition under temporal Detail, or select source_year/as_of instead, and notes legacy releases keep current-shape behavior. It stops short of naming the sibling tool an agent should call when IDs are unknown, so routing to alternatives is implied rather than stated.

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.