drought.county.weeks
Find US counties that experienced at least N weeks of drought at or above a specified drought severity level during a given time period, using data from the USDA/NOAA US Drought Monitor. Filter by state (or all states), drought level (D0–D4), minimum weeks threshold, and whether to count consecut...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/drought.county.weeks.md
What drought.county.weeks does on Apibase
AI agents call drought.county.weeks to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
state | string | — | Two-letter US state abbreviation to filter results to one state (e.g. "NE", "TX", "CA"). Leave empty to return counties from all states. |
end_date | string | Yes | End date for the analysis period in YYYY-MM-DD format (e.g. "2023-01-01"). Maximum range is 1 year from start_date. |
min_weeks | integer | Yes | Minimum number of weeks that a county must have been at or above the drought_level threshold to be included in results (e.g. 4 for counties with at least 4 week |
start_date | string | Yes | Start date for the analysis period in YYYY-MM-DD format (e.g. "2022-01-01"). Maximum range is 1 year from start_date. |
consecutive | boolean | — | If true, counts only consecutive weeks in drought; if false or omitted (default), counts all weeks (consecutive + non-consecutive) spent at or above the thresho |
drought_level | integer | Yes | Minimum drought severity level to count: 0=D0 Abnormally Dry, 1=D1 Moderate Drought, 2=D2 Severe Drought, 3=D3 Extreme Drought, 4=D4 Exceptional Drought. |
Parameters from the server's own tool schema.
Why drought.county.weeks is rated Low
Tool queries and filters drought data to retrieve matching counties without side effects.
From the tool's definition Find US counties, returns list, filter by parameters, no modifications.
Attacks that exploit this kind of access
The rule that runs drought.county.weeks safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For drought.county.weeks, this is the rule to start with:
drought.county.weeks is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every drought.county.weeks call is checked against it from then on.
Questions about drought.county.weeks
Find US counties that experienced at least N weeks of drought at or above a specified drought severity level during a given time period, using data from the USDA/NOAA US Drought Monitor. Filter by state (or all states), drought level (D0–D4), minimum weeks threshold, and whether to count consecutive or total (non-consecutive) weeks. Returns a list of matching counties with their FIPS codes, state, and week counts. Useful for identifying persistent drought-affected regions, prioritizing disaster relief, analyzing multi-year drought patterns, and supporting agricultural or water resource planning. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
drought.county.weeks accepts 6 parameters: state, end_date, min_weeks, start_date, consecutive, drought_level. Required: end_date, min_weeks, start_date, drought_level. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for drought.county.weeks: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
drought.county.weeks is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the drought.county.weeks rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for drought.county.weeks. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
drought.county.weeks is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue