Skip to main content
Glama

DaedalMap Wildfire Events

Get Data

get_data
Read-onlyIdempotent

Retrieve rows from one selected published data pack using exact metrics, loc_id-based region filters, time/metric filters, sorting, and a row limit. Pass next_offset to continue truncated results. Disaster event rows include stable event_id values for get_event drill-down. A parent administrative loc_id selects matching descendant rows at the pack's published grain. Call get_pack first; geometry families use their focused next-step tools.

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": {
      "pack_id": "<pack_id>",
      "metrics": "<metrics>",
      "filters": "<filters>"
    },
    "name": "get_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort by a sortable field from get_pack; direction defaults to asc.
limitNoMaximum number of rows to return for the requested source or pack.
offsetNoPass next_offset from a truncated response to fetch the next page with the same filters and sort.
outputNoOptional response controls. v1 supports rows only.
filtersYes
metricsYesExact metric ids from get_pack. Use event_count for aggregate counts only when get_pack publishes it.
pack_idYesPack identifier from get_catalog. Newly catalog-admitted packs require no MCP schema change.
request_idNoOptional caller-supplied request id for tracing and idempotency.

Output Schema

NameRequiredDescriptionDefault
rowsNo
sortNo
errorNo
limitNo
offsetNo
reasonNo
pack_idNo
guidanceNo
warningsNo
next_stepNo
row_countNo
source_idNo
truncatedNo
provenanceNo
query_modeNo
request_idNo
next_offsetNo
metric_unitsNo
capability_idNo
clarificationNo
filters_appliedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Pass next_offset from a truncated response to fetch the next page with the same filters and sort.",
      +  "maximum": 10000,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / metric_units
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / next_offset
      Added value: +{
      +  "minimum": 0,
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / offset
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / source_id
      Removed value: -{
      -  "description": "Optional published source_id belonging to pack_id. Selects one dataset when several sources expose the same metric; inspect it with get_pack(pack_id, source_id) first.",
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. Changed1 schema field changed
    • addedInput schema / properties / source_id
      Added value: +{
      +  "description": "Optional published source_id belonging to pack_id. Selects one dataset when several sources expose the same metric; inspect it with get_pack(pack_id, source_id) first.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / filters / additionalProperties
      Previous value: -{
      -  "anyOf": [
      -    {
      -      "type": [
      -        "string",
      -        "number",
      -        "integer",
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    {
      -      "items": {
      -        "type": [
      -          "string",
      -          "number",
      -          "integer",
      -          "boolean"
      -        ]
      -      },
      -      "type": "array"
      -    }
      -  ]
      -}New value: +false
  5. Changed13 schema fields changed
    • addedInput schema / properties / filters / additionalProperties
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": [
      +        "string",
      +        "number",
      +        "integer",
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    {
      +      "items": {
      +        "type": [
      +          "string",
      +          "number",
      +          "integer",
      +          "boolean"
      +        ]
      +      },
      +      "type": "array"
      +    }
      +  ]
      +}
    • removedInput schema / properties / filters / description
      Removed value: -"Structured filters including time, region_ids, and compare clauses."
    • addedInput schema / properties / filters / properties
      Added value: +{
      +  "compare": {
      +    "description": "Threshold filters using filterable fields or selected metric ids published by get_pack.",
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "field": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "op": {
      +          "enum": [
      +            "=",
      +            "!=",
      +            ">",
      +            ">=",
      +            "<",
      +            "<="
      +          ],
      +          "type": "string"
      +        },
      +        "value": {}
      +      },
      +      "required": [
      +        "field",
      +        "op",
      +        "value"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "equals": {
      +    "additionalProperties": {
      +      "anyOf": [
      +        {
      +          "type": [
      +            "string",
      +            "number",
      +            "integer",
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        {
      +          "items": {
      +            "type": [
      +              "string",
      +              "number",
      +              "integer",
      +              "boolean"
      +            ]
      +          },
      +          "type": "array"
      +        }
      +      ]
      +    },
      +    "description": "Exact field/value filters using filterable fields published by get_pack.",
      +    "type": "object"
      +  },
      +  "region_ids": {
      +    "description": "Canonical country or hierarchical loc_ids from get_pack, such as JPN or USA-TX.",
      +    "items": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array",
      +    "uniqueItems": true
      +  },
      +  "time": {
      +    "additionalProperties": false,
      +    "anyOf": [
      +      {
      +        "required": [
      +          "value"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "start"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "end"
      +        ]
      +      }
      +    ],
      +    "description": "Inclusive ISO-8601 date/datetime or integer-year selection. Use YYYY-MM-DD, not partial YYYY-MM strings.",
      +    "properties": {
      +      "end": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "format": "date",
      +            "type": "string"
      +          },
      +          {
      +            "type": "integer"
      +          }
      +        ]
      +      },
      +      "granularity": {
      +        "enum": [
      +          "daily",
      +          "weekly",
      +          "monthly",
      +          "yearly",
      +          "timestamp"
      +        ],
      +        "type": "string"
      +      },
      +      "start": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "format": "date",
      +            "type": "string"
      +          },
      +          {
      +            "type": "integer"
      +          }
      +        ]
      +      },
      +      "value": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "format": "date",
      +            "type": "string"
      +          },
      +          {
      +            "type": "integer"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • changedInput schema / properties / metrics / description
      Previous value: -"Metric ids to return. Use event_count for aggregate counts when supported."New value: +"Exact metric ids from get_pack. Use event_count for aggregate counts only when get_pack publishes it."
    • addedInput schema / properties / metrics / items / minLength
      Added value: +1
    • addedInput schema / properties / metrics / minItems
      Added value: +1
    • addedInput schema / properties / metrics / uniqueItems
      Added value: +true
    • addedInput schema / properties / output / additionalProperties
      Added value: +false
    • changedInput schema / properties / output / description
      Previous value: -"Optional output controls such as response format hints."New value: +"Optional response controls. v1 supports rows only."
    • addedInput schema / properties / output / properties
      Added value: +{
      +  "format": {
      +    "default": "rows",
      +    "enum": [
      +      "rows"
      +    ],
      +    "type": "string"
      +  },
      +  "include_provenance": {
      +    "default": false,
      +    "type": "boolean"
      +  }
      +}
    • addedInput schema / properties / pack_id / minLength
      Added value: +1
    • changedInput schema / properties / sort / anyOf
      Previous value: -[
      -  {
      -    "type": "array"
      -  },
      -  {
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "direction": {
      +        "enum": [
      +          "asc",
      +          "desc"
      +        ],
      +        "type": "string"
      +      },
      +      "field": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "field"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "direction": {
      +          "enum": [
      +            "asc",
      +            "desc"
      +          ],
      +          "type": "string"
      +        },
      +        "field": {
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "field"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / sort / description
      Previous value: -"Optional sort instructions for row-returning queries."New value: +"Sort by a sortable field from get_pack; direction defaults to asc."
  6. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, non-open-world, so the safety profile is covered. The description adds real behavior beyond that: truncated responses yield a next_offset, disaster event rows carry stable event_id values, and a parent administrative loc_id rolls up to descendant rows at the pack's published grain. It does not discuss result size limits or provenance behavior, but the essentials are there.

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 retrieval purpose, then prerequisite, then pagination, then drill-down and grain caveats. Dense but each sentence carries a distinct operational fact; minor cost is that the loc_id grain rule and get_pack prerequisite are stated in separate places.

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 an 8-parameter nested tool with an output schema, the description covers the essential workflow (get_pack first), pagination, hierarchical region semantics, and the event drill-down path. Remaining unmentioned items such as request_id idempotency and include_provenance are minor and partly self-documented in the schema.

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 description coverage is 88%, so a 3 is the floor, and the description genuinely adds meaning on top: offset should be filled from a truncated response's next_offset, not chosen arbitrarily, and region_ids may be a parent loc_id that expands to descendant rows at the pack's grain. Metric ids are constrained to exact ids from get_pack, reinforcing the schema's wording.

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 ('Retrieve rows from one selected published data pack') plus the axes of selection: exact metrics, loc_id region filters, time/metric filters, sorting, and row limit. It also positions itself against siblings, pointing at get_pack as a prerequisite, get_event for event drill-down, and 'focused next-step tools' for geometry families.

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?

Explicit prerequisite ('Call get_pack first') and an explicit exclusion for geometry families, plus pagination guidance ('Pass next_offset to continue truncated results'). What's missing is direct guidance on when to prefer get_event or get_catalog instead, though the drill-down mention implies the boundary.

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.