Skip to main content
Glama

Analytics get engagement

analytics_get_engagement
Read-only

GA4 engagement. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analytics_get_engagement"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
limitNo
user_idNo
end_dateNo
client_idNo
start_dateNo
user_emailNo
property_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description does add two useful behaviors beyond them: client_id defaults to the active brand, and `extra` is a passthrough for any field the app accepts. It says nothing about date-range defaults or result limits, which matter for an engagement query.

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?

Two short, front-loaded sentences with no wasted words and a clear semicolon split between the two covered parameters. The brevity is efficient but tips into under-specification for a tool with eight optional inputs.

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

Completeness2/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 need not be described. However, for an 8-parameter, 0%-coverage query tool, the description accounts for only two parameters and gives no query-scoping or usage context, leaving most of what an agent needs unstated.

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

Parameters2/5

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

Schema description coverage is 0% across 8 parameters, so the description carries the full burden and does not meet it. Only client_id and extra are explained; start_date, end_date, limit, property_id, user_id and user_email are left with bare names and no semantics such as date format or defaults.

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

Purpose2/5

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

The description is essentially a restatement of the tool name with a data-source qualifier ("GA4 engagement"). It never states a verb (fetch/retrieve/report) or what an engagement result contains, and with ~30 analytics siblings it does nothing to distinguish this from analytics_get_overview or analytics_run_report.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no named alternative for adjacent questions. The only usage-like information is an implied default for client_id, which is a parameter behavior rather than selection guidance.

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.