modis_list_dates
Pack: ornl-modis-subsets · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/modis_list_dates for the schema, then POST the same URL with its arguments for the data.
Dates a product has data for at a latitude/longitude, as MODIS dates (A2020001 = year 2020, day 1) with calendar dates. Optional start/end window and a limit. Use this to see coverage before subsetting.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | Product code, e.g. “MOD13Q1”. |
latitude | number | yes | Latitude in degrees, -90 to 90. |
longitude | number | yes | Longitude in degrees, -180 to 180. |
start_date | string | no | Optional window start, YYYY-MM-DD or MODIS date such as A2020001. |
end_date | string | no | Optional window end, YYYY-MM-DD or MODIS date. |
limit | number | no | Maximum dates to return (default 100, max 500). The most recent are kept when the window is longer. |
Example call
Arguments
{
"product": "MOD13Q1",
"latitude": 40,
"longitude": -105,
"start_date": "2020-01-01",
"end_date": "2020-12-31"
}
curl
curl -X POST https://gateway.pipeworx.io/ornl-modis-subsets/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"modis_list_dates","arguments":{"product":"MOD13Q1","latitude":40,"longitude":-105,"start_date":"2020-01-01","end_date":"2020-12-31"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('modis_list_dates', {
"product": "MOD13Q1",
"latitude": 40,
"longitude": -105,
"start_date": "2020-01-01",
"end_date": "2020-12-31"
});
Response shape
| Field | Type | Description |
|---|---|---|
product | string | |
latitude | number | |
longitude | number | |
count | number | |
matched_in_window | number | |
truncated | boolean | |
dates | array | |
coverage | object | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"product": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"count": {
"type": "number"
},
"matched_in_window": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"dates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"modis_date": {
"type": "string"
},
"calendar_date": {
"type": "string"
}
},
"additionalProperties": true
}
},
"coverage": {
"type": "object",
"properties": {
"first": {
"type": "object",
"properties": {
"modis_date": {
"type": "string"
},
"calendar_date": {
"type": "string"
}
},
"additionalProperties": true
},
"last": {
"type": "object",
"properties": {
"modis_date": {
"type": "string"
},
"calendar_date": {
"type": "string"
}
},
"additionalProperties": true
},
"total_dates": {
"type": "number"
}
},
"additionalProperties": true
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the ornl-modis-subsets pack
{
"mcpServers": {
"ornl-modis-subsets": {
"url": "https://gateway.pipeworx.io/ornl-modis-subsets/mcp"
}
}
}
See Getting Started for client-specific install steps.