Utility tool to get list of available locations for: serp_youtube_organic_live_advanced, serp_youtube_video_info_live_advanced, serp_youtube_video_comments_live_advanced, serp_youtube_video_subtitles_live_advanced.
AI agents call serp_youtube_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 |
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 is a utility tool that queries and returns metadata about available geographic locations supported by other SERP tools. It has no side effects—it only retrieves and displays reference data to enable proper parameterization of other tools. This is a straightforward read operation with minimal risk if misused by an AI agent.
From the tool's definition Tool provides a list of available locations for YouTube SERP queries. The description uses "get list", which indicates a retrieval operation. No data modification, deletion, code execution, or financial transactions are involved.
Attacks that exploit this kind of access
Utility tool to get list of available locations for: serp_youtube_organic_live_advanced, serp_youtube_video_info_live_advanced, serp_youtube_video_comments_live_advanced, serp_youtube_video_subtitles_live_advanced. It is categorised as a Read tool in the Dataforseo MCP Server, which means it retrieves data without modifying state.
serp_youtube_locations accepts 3 parameters: location_name, location_type, 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_youtube_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_youtube_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_youtube_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_youtube_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_youtube_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.