Skip to main content
Glama

DataForSEO MCP by InsightfulPipe

DataForSEO Execute Action

execute_action
Destructive

Execute DataForSEO action (Step 3 (FINAL) of workflow).

REQUIRED: Complete these steps first using query_contexts:

  1. request='accounts' - Get workspace_id, brand_id AND available_actions

  2. request='actions_details' with actions=['xxxxxx', 'xxxxxx', 'xxxxxx'] - Get detailed body structure for specific action(s) using actions from available_actions

IMPORTANT: Always call step 2 to see the exact body structure before executing.

Rely on info from steps 1-2 to construct the action body. Follow the schema exactly.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "body": "<body>"
    },
    "name": "execute_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so safety is flagged. The description's genuine added value is the behavioral dependency: the call will be malformed without steps 1-2, which is real context beyond the annotations. It says nothing about irreversibility, side effects, permission/auth needs, or rate limits for a destructive open-world executor — a meaningful omission given the bar is lowered by existing annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The prerequisite list is front-loaded and the mandatory step-2 warning is easy to find, but the message is redundant: "REQUIRED: Complete these steps first" and "IMPORTANT: Always call step 2..." restate each other, and the placeholder arrays ['xxxxxx', 'xxxxxx', 'xxxxxx'] add noise rather than information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be described, and annotations carry the safety profile. For a polymorphic executor with a one-field opaque body, the description supplies the one thing that matters operationally — the mandatory discovery sequence — though it omits what a successful execution produces and how failures from a malformed body surface.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single `body` parameter is a free-form object with additionalProperties=true, so the schema conveys essentially nothing. The description does the right thing by pointing the agent to steps 1-2 as the source of the real body structure, but "Follow the schema exactly" is unhelpful when the schema is an empty object — the actual contract lives entirely outside both fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ("Execute") and frames the tool as the terminal step of a three-step workflow, which distinguishes it from query_contexts (discovery) and query_data (read). However, "DataForSEO action" is an opaque resource — the description never says what categories of action exist or what execution actually accomplishes, so an agent knows where this sits in the workflow but not precisely what it does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives unusually concrete preconditions: call query_contexts with request='accounts', then request='actions_details' with the discovered action ids, and explicitly warns "Always call step 2 to see the exact body structure before executing." What's missing is any negative guidance — nothing says when NOT to use this or how it relates to query_data as an alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.