This endpoint provides aggregated metrics for mentions of the keywords or domains specified in the target array of the request.
AI agents call ai_opt_llm_ment_agg_metrics 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 |
|---|---|---|---|
target | array | Yes | Array of target objects to search for LLM mentions. Each object must contain either 'domain' or 'keyword'. Maximum number of targets: 1000 |
filters | array | — | Array-based filter expression. A single condition is a 3-element array: [field, operator, value]. Combine conditions with ["and"|"or"] between them: [condition, |
platform | string | — | Platform to search for LLM mentions |
language_code | string | — | Search engine language code (e.g., 'en') |
location_name | string | — | full name of the location, example: 'United Kingdom', 'United States' |
internal_list_limit | number | — | Internal parameter to limit the number of items processed. Not exposed to end-users. |
Parameters from the server's own tool schema.
This is a data retrieval endpoint that queries metrics for specified keywords or domains. It has no side effects, does not execute code, and does not modify data. The blast radius of misuse is minimal—an agent could query metrics excessively but cannot cause irreversible harm or financial impact.
From the tool's definition The tool 'provides aggregated metrics for mentions of the keywords or domains specified' — it retrieves and aggregates data without modifying or executing operations. The verb 'provides' indicates a read-only query operation.
Attacks that exploit this kind of access
This endpoint provides aggregated metrics for mentions of the keywords or domains specified in the target array of the request. It is categorised as a Read tool in the Dataforseo MCP Server, which means it retrieves data without modifying state.
ai_opt_llm_ment_agg_metrics accepts 6 parameters: target, filters, platform, language_code, location_name, internal_list_limit. Required: target. 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 ai_opt_llm_ment_agg_metrics: 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.
ai_opt_llm_ment_agg_metrics 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 ai_opt_llm_ment_agg_metrics 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 ai_opt_llm_ment_agg_metrics. 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.
ai_opt_llm_ment_agg_metrics 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.