This endpoint will provide you with the demographic breakdown (by age and gender) of keyword popularity per each specified term based on DataForSEO Trends data
AI agents call kw_data_dfs_trends_demography 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 query/retrieval tool that returns analytics data (demographics and keyword trends). It performs no writes, deletions, code execution, or financial operations. The data returned could inform business decisions, but the tool itself only reads from a database. Severity is low because misuse would at worst retrieve unintended analytics data with no direct harm to systems or data integrity.
From the tool's definition The tool 'provides demographic breakdown' and retrieves 'keyword popularity' data from DataForSEO Trends. The verb 'provide' and the descriptive nature indicate data retrieval with no modification, creation, or side effects.
Attacks that exploit this kind of access
This endpoint will provide you with the demographic breakdown (by age and gender) of keyword popularity per each specified term based on DataForSEO Trends data. It is categorised as a Read tool in the Dataforseo MCP Server, which means it retrieves data without modifying state.
kw_data_dfs_trends_demography 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_demography: 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_demography 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_demography 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_demography. 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_demography 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.