Skip to main content
Glama

Whathead Ad Operations

Google Analytics 4

ga4_native_action
Destructive

Google Analytics 4 gateway for OAuth, properties, metadata, reports, async report tasks, and audience exports. Use whathead_tool_help with gateway="ga4_native_action" and operation= to inspect nested input fields before a complex call.

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": {
      "operation": "<operation>"
    },
    "name": "ga4_native_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNoExact arguments for the selected operation. The original operation schema is validated before execution.
operationYesValidated internal operation to execute.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, readOnlyHint=false, idempotentHint=false, and openWorldHint=true, yet the description lists almost entirely read-oriented surfaces (properties, metadata, reports, exports) without flagging which operations actually mutate or destroy data. It never states that a single annotation-level destructive flag spans both safe reads like ga4_list_properties and destructive calls, so an agent cannot tell which operations need confirmation. OAuth is mentioned only as a topic label, not as a prerequisite or authorization flow.

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

Conciseness4/5

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

Two sentences, no filler, with the capability list front-loaded and the help-tool routing placed second where it reads as a follow-up instruction. The phrasing 'Use whathead_tool_help with gateway=... and operation=<name>' is precise and copyable. Slight loss for the redundant 'before a complex call' qualifier, which is vague about what counts as complex.

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

Completeness3/5

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

This is an 11-operation dispatcher with a nested free-form arguments object, no output schema, and a destructive annotation — a high-complexity tool. The description covers the domain and offloads field discovery to whathead_tool_help, which mitigates the biggest gap, but it leaves the operation roster and the destructive/non-destructive split entirely undisclosed. Adequate as a doorway, not complete for a tool that can destroy data.

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 100%, so the baseline applies, and the enum values are self-describing (ga4_list_properties, ga4_run_report, ga4_create_report_task). The description's pointer to whathead_tool_help adds real value because the free-form `arguments` object is otherwise opaque — its schema description only says arguments are validated against the original operation schema without naming any fields. That pointer is helpful but is the only parameter guidance offered.

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 names the resource domain (Google Analytics 4) and enumerates the covered capability areas: OAuth, properties, metadata, reports, async report tasks, and audience exports. That is enough for an agent to identify this as the GA4 entry point versus google_ads_native_action or gtm_native_action. It stops short of a specific verb, since it is a dispatcher rather than a single action, and none of the 11 operations are individually described.

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

Usage Guidelines3/5

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

There is one explicit, actionable rule: call whathead_tool_help with gateway="ga4_native_action" and operation=<name> to inspect nested fields before a complex call, which is a genuinely useful precondition for this multiplexer. However, nothing tells the agent how to choose among the 11 operations, nor when this gateway is preferable to a sibling integration tool. Usage is implied by the domain name rather than stated.

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.