This endpoint will provide you with location-specific keyword popularity data from DataForSEO Trends
AI agents call kw_data_dfs_trends_subregion_interests to retrieve information from Dataforseo without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | — | dataforseo trends type |
date_to | string | — | ending date of the time range if you don’t specify this field, the today’s date will be used by default date format: "yyyy-mm-dd" |
keywords | array | Yes | keywords the maximum number of keywords you can specify: 5 |
date_from | string | — | starting date of the time range if you don’t specify this field, the current day and month of the preceding year will be used by default min |
time_range | string | — | preset time ranges if you specify date_from or date_to parameters, this field will be ignored when setting a task |
location_name | object | — | full name of the location optional field in format "Country" example: United Kingdom |
Parameters from the server's own tool schema.
This is a data retrieval endpoint that fetches keyword trend information segmented by location and subregion. It performs a GET-like operation with no side effects, no code execution, and no data modification or deletion. The blast radius of misuse is minimal — an agent could spam requests or retrieve public SEO data, but cannot cause harm through the tool itself.
From the tool's definition Tool name and description indicate it 'will provide you with location-specific keyword popularity data' — a retrieval operation that queries trending keyword data without modifying, executing code, or deleting anything.
Attacks that exploit this kind of access
This endpoint will provide you with location-specific keyword popularity data from DataForSEO Trends. It is categorised as a Read tool in the Dataforseo MCP Server, which means it retrieves data without modifying state.
kw_data_dfs_trends_subregion_interests accepts 6 parameters: type, date_to, keywords, date_from, time_range, location_name. Required: keywords. The full parameter table on this page comes from the server's own tool schema.
Register the Dataforseo MCP server in PolicyLayer and add a rule for kw_data_dfs_trends_subregion_interests: 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 Dataforseo. Nothing to install.
kw_data_dfs_trends_subregion_interests 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 kw_data_dfs_trends_subregion_interests 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 kw_data_dfs_trends_subregion_interests. 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.
kw_data_dfs_trends_subregion_interests is provided by the Dataforseo MCP server (dataforseo-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.