Utility tool for serp_organic_live_advanced to get list of availible locations.
AI agents call serp_locations 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 |
|---|---|---|---|
location_name | string | — | Name of location or it`s part. |
location_type | string | — | Type of location. Possible variants: 'TV Region','Postal Code','Neighborhood','Governorate','National Park','Quarter','Canton','Airport','Okrug','Prefecture','C |
search_engine | string | — | search engine name, one of: google, yahoo, bing. |
country_iso_code | string | Yes | ISO 3166-1 alpha-2 country code, for example: US, GB, MT |
Parameters from the server's own tool schema.
This tool retrieves location metadata available for SERP queries. It performs a simple lookup/enumeration operation with no ability to modify data, execute commands, delete resources, or commit financial transactions. The blast radius of misuse is minimal—an agent could only retrieve a list of valid locations, which is non-sensitive reference data.
From the tool's definition Tool description states it is a 'Utility tool for serp_organic_live_advanced to get list of availible locations.' The verb 'get list' indicates data retrieval with no modification or side effects.
Attacks that exploit this kind of access
Utility tool for serp_organic_live_advanced to get list of availible locations. It is categorised as a Read tool in the Dataforseo MCP Server, which means it retrieves data without modifying state.
serp_locations accepts 4 parameters: location_name, location_type, search_engine, country_iso_code. Required: country_iso_code. 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 serp_locations: 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.
serp_locations 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 serp_locations 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 serp_locations. 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.
serp_locations 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.