Skip to main content
Glama

DaedalMap Geography Tools (loc_id)

Inspect Direct loc_id Connections

get_loc_id_info
Read-onlyIdempotent

Look up one known loc_id or a small batch in the selected reference graph. Return its identity and directly recorded loc_id connections, with family, direction, and relationship evidence. Each ID returns at most 50 connections and an explicit has_more flag. This tool does not expand descendants, infer containment, read shapes, search catalogs, or consult external adapters. No payment required.

Input Schema

NameRequiredDescriptionDefault
loc_idNoDaedalMap loc_id, e.g. 'USA-CA'.
loc_idsNoUp to 10 known loc_ids, including a resolve_point stack.
batch_idNoOptional caller-supplied batch id for tracing.
request_idNoOptional caller-supplied request id for tracing.

Output Schema

NameRequiredDescriptionDefault
okNo
iso3No
nameNo
errorNo
familyNo
loc_idNo
reasonNo
resultsNo
batch_idNo
guidanceNo
has_moreNo
warningsNo
next_stepNo
request_idNo
admin_levelNo
connectionsNo
found_countNo
loc_id_countNo
clarificationNo
meter_receiptNo
missing_countNo
connection_countNo
connection_limitNo
requested_loc_idNo
settlement_receiptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed22 schema fields changed
    • removedInput schema / anyOf
      Removed value: -[
      -  {
      -    "required": [
      -      "loc_id"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "loc_ids"
      -    ]
      -  }
      -]
    • addedInput schema / oneOf
      Added value: +[
      +  {
      +    "required": [
      +      "loc_id"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "loc_ids"
      +    ]
      +  }
      +]
    • removedInput schema / properties / as_of
      Removed value: -{
      -  "description": "Optional ISO day, month, or year (YYYY-MM-DD, YYYY-MM, or YYYY). Reviews the current Full source edition and returns a Double-check date alert for coarse or stale coverage; it does not select historical geometry.",
      -  "type": "string"
      -}
    • removedInput schema / properties / include_hierarchy
      Removed value: -{
      -  "description": "When true, include strict stored parent and ancestor data. This never invents a parent edge across mixed releases. Default false.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / include_references
      Removed value: -{
      -  "description": "When true, include known external or side-chain references attached to each loc_id. Default false.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / iso3
      Removed value: -{
      -  "description": "Optional country hint for crosswalk artifacts. Defaults to the loc_id country when possible.",
      -  "type": "string"
      -}
    • removedInput schema / properties / limit_per_system
      Removed value: -{
      -  "description": "Maximum overlap references to return per bridge/system. Default 10.",
      -  "maximum": 100,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • changedInput schema / properties / loc_ids / description
      Previous value: -"DaedalMap loc_ids to inspect together, including every loc_id from a resolve_point stack. Default public cap is deployment-configurable."New value: +"Up to 10 known loc_ids, including a resolve_point stack."
    • addedInput schema / properties / loc_ids / maxItems
      Added value: +10
    • addedInput schema / properties / loc_ids / minItems
      Added value: +1
    • removedInput schema / properties / min_share
      Removed value: -{
      -  "description": "Optional minimum target-area share for reverse overlap references.",
      -  "maximum": 1,
      -  "minimum": 0,
      -  "type": "number"
      -}
    • removedInput schema / properties / systems
      Removed value: -{
      -  "description": "Optional reference systems to include when include_references is true, such as zcta, nws_fire, overlay_tribal, or overlay_nws_public_zone.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / target_admin_level
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "integer"
      -    }
      -  ],
      -  "description": "Admin level for crosswalk-backed reverse reference lookup. Inferred when omitted."
      -}
    • addedOutput schema / properties / connection_count
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / connection_limit
      Added value: +{
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / connections
      Added value: +{
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / data_packs
      Removed value: -{
      -  "type": "array"
      -}
    • removedOutput schema / properties / geometry_families
      Removed value: -{
      -  "type": "array"
      -}
    • addedOutput schema / properties / has_more
      Added value: +{
      +  "type": "boolean"
      +}
    • removedOutput schema / properties / hierarchy
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / next_calls
      Removed value: -{
      -  "type": "array"
      -}
    • removedOutput schema / properties / references
      Removed value: -{
      -  "type": "object"
      -}
  2. Changed1 schema field changed
    • addedInput schema / properties / as_of
      Added value: +{
      +  "description": "Optional ISO day, month, or year (YYYY-MM-DD, YYYY-MM, or YYYY). Reviews the current Full source edition and returns a Double-check date alert for coarse or stale coverage; it does not select historical geometry.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": true,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "loc_id"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "loc_id_count",
      +        "results"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "admin_level": {
      +      "type": [
      +        "string",
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "batch_id": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "clarification": {
      +      "type": "object"
      +    },
      +    "data_packs": {
      +      "type": "array"
      +    },
      +    "error": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "details": {
      +          "type": "object"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "retry_hint": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "family": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "found_count": {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "geometry_families": {
      +      "type": "array"
      +    },
      +    "guidance": {
      +      "type": "object"
      +    },
      +    "hierarchy": {
      +      "type": "object"
      +    },
      +    "iso3": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "loc_id": {
      +      "type": "string"
      +    },
      +    "loc_id_count": {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "meter_receipt": {
      +      "type": "object"
      +    },
      +    "missing_count": {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "next_calls": {
      +      "type": "array"
      +    },
      +    "next_step": {
      +      "additionalProperties": true,
      +      "anyOf": [
      +        {
      +          "required": [
      +            "action"
      +          ]
      +        },
      +        {
      +          "required": [
      +            "tool"
      +          ]
      +        }
      +      ],
      +      "properties": {
      +        "action": {
      +          "type": "string"
      +        },
      +        "arguments": {
      +          "type": "object"
      +        },
      +        "tool": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "references": {
      +      "type": "object"
      +    },
      +    "request_id": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "requested_loc_id": {
      +      "type": "string"
      +    },
      +    "results": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "error": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "details": {
      +                "type": "object"
      +              },
      +              "message": {
      +                "type": "string"
      +              },
      +              "retry_hint": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message"
      +            ],
      +            "type": "object"
      +          },
      +          "id": {
      +            "type": [
      +              "string",
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "ok": {
      +            "type": "boolean"
      +          },
      +          "row_index": {
      +            "type": [
      +              "string",
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "settlement_receipt": {
      +      "type": "object"
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, it discloses that results are limited to 50 connections per ID, include an explicit has_more flag, and cover only directly recorded relationships rather than inferred ones. It does not cover unknown-ID or error behavior, and the 'No payment required' line adds little, but the key operational traits are present.

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 definition is front-loaded and mostly economical, moving from purpose to return shape to limits and exclusions. The final 'No payment required' sentence is extraneous, and the 'selected reference graph' phrase could be clearer, but the text is not bloated.

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 rich annotations, a full input schema, and an output schema, the description needs only to frame purpose and scope. It supplies the direct-connection boundary, per-ID connection cap, and excluded behaviors, which is enough for an agent to call this tool correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents loc_id, loc_ids (max 10), batch_id, and request_id. The description reinforces 'one known loc_id or a small batch' but does not add parameter-level semantics beyond the schema, matching the baseline for high coverage.

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 first sentence states a specific verb ('Look up') and resource ('loc_id'), and the return clause specifies identity plus directly recorded connections with family, direction, and evidence. The negative list explicitly distinguishes it from expansion, containment, shape, catalog, and external-adapter operations, so an agent can tell what it is for.

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 makes the intended context clear: a known loc_id or small batch in the selected reference graph. The exclusions function as when-not guidance, but it never names a sibling tool to use instead for shapes, catalogs, or unresolved points, so it stops short of full alternative routing.

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.