serp_locations

Utility tool for serp_organic_live_advanced to get list of availible locations.

Server Dataforseo dataforseo-mcp-server
Category Read
Risk class Low
Parameters 41 required

What serp_locations does on Dataforseo

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.

ParameterTypeRequiredDescription
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 needs a policy

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.

Questions about serp_locations

What does the serp_locations tool do? +

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.

What parameters does serp_locations accept? +

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.

How do I enforce a policy on serp_locations? +

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.

What risk level is serp_locations? +

serp_locations is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit serp_locations? +

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.

How do I block serp_locations completely? +

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.

What MCP server provides serp_locations? +

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.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.