Skip to main content
Glama

Search

search_data
Read-onlyIdempotent

Search the data catalog: which dataset's values answer a question about weather and the people and places it affects, or what data exists at a point. With query it ranks datasets and map layers and returns hits with the next call (a named place fills its area; add a place if note asks) and any verified example; without it, it lists datasets at the place with freshness, or all. A place or domain keeps datasets covering it; kind and family filter a listing, rank a query; describe_data lists other variables for get_data. Example: {"query": "snow depth", "location": "Erie, PA"}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (-90 to 90), with lon.
lonNoLongitude (-180 to 180), with lat.
kindNogrid: forecasts (incl. AQ, UV, HeatRisk, radar nowcast), normals, astronomy, observed daily extremes; snapshot: current conditions (analyses), latest radar mosaics, satellite, AQ, soil moisture; feature: station obs and normals, soundings, recon, lightning flashes, radar cell detections, reports, alerts, outlooks, places; text: forecaster text; index: climate indices, SSW.
limitNoRows (1-10); default 5 with query, all without.
queryNoThe question in the user's words (2-200 chars); omit to list.
domainNoCoverage filter without a place; global = no filter.
familyNoSource family, describe_data's `family` (1-40 chars).
locationNo"City, ST", ZIP or "lat,lon" (up to 200 chars); not with lat/lon.

Output Schema

NameRequiredDescriptionDefault
hitsYes
noteNo
queryNo
domainNoThe coverage filter applied: the place's domain, or `domain`.
locationNo
data_statusNoListing at a place: present only when the data service did not provide freshness, or answered from a cached copy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / hits / items / properties / alternatives
      Added value: +{
      +  "description": "Other members to read instead, each with its call, when the question does not pick one.",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "call": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "arguments": {
      +            "additionalProperties": {},
      +            "properties": {},
      +            "type": "object"
      +          },
      +          "tool": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "tool",
      +          "arguments"
      +        ],
      +        "type": "object"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "title",
      +      "call"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / hits / items / properties / member
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "The one member of this dataset the call reads (its filter pins it).",
      +  "properties": {
      +    "id": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "title"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / hits / items / properties / rank
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "The get_data call that ranks places by this variable (on its ranker), highest first; it takes no location, `area` narrows it, and an empty word is for the caller to fill.",
      +  "properties": {
      +    "arguments": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "tool": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "arguments"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / kind / description
      Previous value: -"grid: forecasts (incl. AQ, UV, HeatRisk, radar nowcast), normals, astronomy, observed daily extremes; snapshot: latest radar mosaics, satellite, analyses, AQ, soil moisture; feature: station obs and normals, soundings, recon, lightning flashes, radar cell detections, reports, alerts, outlooks, places; text: forecaster text; index: climate indices, SSW."New value: +"grid: forecasts (incl. AQ, UV, HeatRisk, radar nowcast), normals, astronomy, observed daily extremes; snapshot: current conditions (analyses), latest radar mosaics, satellite, AQ, soil moisture; feature: station obs and normals, soundings, recon, lightning flashes, radar cell detections, reports, alerts, outlooks, places; text: forecaster text; index: climate indices, SSW."
  4. Changed6 schema fields changed
    • changedOutput schema / properties / hits / items / properties / call / description
      Previous value: -"The exact call that answers from this dataset; through call_tool when that tool is not on this connection."New value: +"The exact call that answers from this dataset."
    • removedOutput schema / properties / hits / items / properties / connect
      Removed value: -{
      -  "description": "With `toolset`: the path that serves this connection's toolsets plus that one, e.g. /x/core,catalog,guidance.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / hits / items / properties / map / description
      Previous value: -"The render (visual) call that draws this dataset's map beside a call that reads it; when this connection does not list it, through call_tool with `toolset` and `connect` as for `call`."New value: +"The render call that draws this dataset's map beside a call that reads it."
    • removedOutput schema / properties / hits / items / properties / map / properties / connect
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / hits / items / properties / map / properties / toolset
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / hits / items / properties / toolset
      Removed value: -{
      -  "description": "When this connection does not list that tool: its toolset.",
      -  "type": "string"
      -}
  5. Changed1 schema field changed
    • changedOutput schema / properties / hits / items / properties / kind / enum
      Previous value: -[
      -  "grid",
      -  "snapshot",
      -  "feature",
      -  "geojson",
      -  "text",
      -  "index"
      -]New value: +[
      +  "grid",
      +  "snapshot",
      +  "feature",
      +  "geojson",
      +  "text",
      +  "index",
      +  "derived"
      +]
  6. Changed2 schema fields changed
    • addedOutput schema / properties / hits / items / properties / history
      Added value: +{
      +  "description": "ISO 8601: how far back a read reaches; nothing older is served.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / hits / items / properties / units / description
      Previous value: -"Served units of `variable`."New value: +"`variable`'s stored catalog unit; a read names the unit it served."
  7. Changed1 schema field changed
    • addedOutput schema / properties / hits / items / properties / map
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "The render (visual) call that draws this dataset's map beside a call that reads it; when this connection does not list it, through call_tool with `toolset` and `connect` as for `call`.",
      +  "properties": {
      +    "arguments": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "connect": {
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "toolset": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "arguments"
      +  ],
      +  "type": "object"
      +}
  8. Changed2 schema fields changed
    • changedOutput schema / properties / hits / items / properties / variable / description
      Previous value: -"Best-matching standard variable name."New value: +"The standard variable the call reads; absent when it reads several (an index `*` call lists `variables`)."
    • addedOutput schema / properties / hits / items / properties / variables
      Added value: +{
      +  "description": "index: every variable the call reads (standard names).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  9. Changed1 schema field changed
    • changedInput schema / properties / kind / description
      Previous value: -"grid: forecasts (incl. AQ, UV, HeatRisk, radar nowcast), normals, astronomy, observed daily extremes; snapshot: latest radar mosaics, satellite, analyses, AQ, soil moisture; feature: station obs and normals, soundings, recon, lightning flashes, radar cell detections, reports, alerts, outlooks, places; text: forecaster text; index: climate indices."New value: +"grid: forecasts (incl. AQ, UV, HeatRisk, radar nowcast), normals, astronomy, observed daily extremes; snapshot: latest radar mosaics, satellite, analyses, AQ, soil moisture; feature: station obs and normals, soundings, recon, lightning flashes, radar cell detections, reports, alerts, outlooks, places; text: forecaster text; index: climate indices, SSW."
  10. Changed1 schema field changed
    • changedInput schema / properties / domain / description
      Previous value: -"Coverage filter without a place; omit for tropical or recon."New value: +"Coverage filter without a place; global = no filter."
  11. Changed2 schema fields changed
    • changedInput schema / properties / family / description
      Previous value: -"Only this source family, describe_data's `family` (1-40 chars)."New value: +"Source family, describe_data's `family` (1-40 chars)."
    • changedInput schema / properties / kind / description
      Previous value: -"This kind only."New value: +"grid: forecasts (incl. AQ, UV, HeatRisk, radar nowcast), normals, astronomy, observed daily extremes; snapshot: latest radar mosaics, satellite, analyses, AQ, soil moisture; feature: station obs and normals, soundings, recon, lightning flashes, radar cell detections, reports, alerts, outlooks, places; text: forecaster text; index: climate indices."
  12. Changed5 schema fields changed
    • changedInput schema / properties / family / description
      Previous value: -"Only this source family, describe_data's `family` (1-40 characters)."New value: +"Only this source family, describe_data's `family` (1-40 chars)."
    • changedInput schema / properties / kind / description
      Previous value: -"Only this dataset kind."New value: +"This kind only."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "grid",
      -  "snapshot",
      -  "feature",
      -  "text"
      -]New value: +[
      +  "grid",
      +  "snapshot",
      +  "feature",
      +  "text",
      +  "index"
      +]
    • changedInput schema / properties / query / description
      Previous value: -"The question in the user's words (2-200 characters); omit to list."New value: +"The question in the user's words (2-200 chars); omit to list."
    • changedOutput schema / properties / hits / items / properties / kind / enum
      Previous value: -[
      -  "grid",
      -  "snapshot",
      -  "feature",
      -  "text"
      -]New value: +[
      +  "grid",
      +  "snapshot",
      +  "feature",
      +  "geojson",
      +  "text",
      +  "index"
      +]
  13. Changed1 schema field changed
    • changedInput schema / properties / domain / description
      Previous value: -"Coverage filter without a place."New value: +"Coverage filter without a place; omit for tropical or recon."
  14. Changed5 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / hits / items / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / hits / items / properties / call / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / hits / items / properties / example / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / location / additionalProperties
      Previous value: -falseNew value: +{}
  15. Changed2 schema fields changed
    • changedInput schema / properties / family / description
      Previous value: -"Only this source family, e.g. \"nbm\" (1-40 characters)."New value: +"Only this source family, describe_data's `family` (1-40 characters)."
    • addedOutput schema / properties / hits / items / properties / example
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "A verified get_data call on this dataset for a question like this one, verbatim: adapt its place and times.",
      +  "properties": {
      +    "call": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "question": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "question",
      +    "call"
      +  ],
      +  "type": "object"
      +}
  16. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description adds behavior the annotations cannot: results come back as ranked hits each carrying a next `call`, a place is auto-filled into `area`, and a verified `example` may be attached. That is genuinely useful pre-call context, though it does not mention pagination or result limits beyond the schema's own default.

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?

Purpose and mode split are front-loaded, and the trailing worked example ({"query": "snow depth", "location": "Erie, PA"}) is a high-value use of space. Some sentences are densely nested with parentheticals and backticked field names, which costs readability but not correctness.

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?

For an 8-parameter, all-optional search tool with an output schema and full annotations, the description covers both invocation modes, the filtering rules, the relationship to sibling tools, and how to follow up on results. Nothing an agent needs in order to call it correctly 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 the baseline is 3; the description earns more by explaining interactions the schema cannot, e.g. that `kind` and `family` filter when listing but rank when querying, and that `location`/`domain` constrain which datasets are considered. It does not explain `lat`/`lon` vs `location` exclusivity, which the schema already handles.

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?

Opens with a specific verb+resource ('Search the data catalog') and then defines the two distinct modes: with `query` it ranks datasets and map layers, without it, it lists datasets at a place. It also separates itself from describe_data ('lists other variables') and get_data. The first clause about 'which dataset's values answer a question about weather and the people and places it affects' is tangled enough to blur the otherwise clear statement of purpose.

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 routing rules: use `query` when a question must be answered by ranked datasets, omit it to browse; a place or `domain` narrows coverage; `kind`/`family` filter a listing but rank a query; use describe_data for other variables. It also tells the agent how to react to output ('add a place if `note` asks'). It does not state any exclusion case beyond pointing at describe_data.

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.