serp_locations
Utility tool for serp_organic_live_advanced to get list of availible locations.
This record as markdown: /tools/dataforseo/serp-locations.md
What serp_locations does on Dataforseo
AI agents call serp_locations to retrieve information from Dataforseo 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 |
|---|---|---|---|
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.
Why serp_locations is rated Low
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
The rule that runs serp_locations safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Dataforseo, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For serp_locations, this is the rule to start with:
serp_locations 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 Dataforseo, apply this rule, and every serp_locations call is checked against it from then on.
Questions about serp_locations
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.
More on Dataforseo, and thousands of servers like it.
This server
Across the catalogue