Skip to main content
Glama

get_ga_metrics

Read-only

Get Google Analytics metrics for a site: sessions, users, pageviews, bounce rate, and more.

Input Schema

NameRequiredDescriptionDefault
detailNoOutput verbosity: "concise" (default) trims long lists to top-25 and caps size; "detailed" returns the full result.
site_idYesThe site ID
end_dateNoEnd date (YYYY-MM-DD). Default: today
start_dateNoStart date (YYYY-MM-DD). Default: 28 days ago

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds no behavioral context beyond that — nothing about whether GA must be connected, rate limits, date-range/timezone handling, or result size behavior — so it leaves the lower, annotation-relieved bar unmet.

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?

A single front-loaded sentence that names the resource and gives an immediate metric preview with no wasted preamble. The trailing 'and more' is vague filler rather than earned content, keeping it just short of a 5.

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?

For a read-only metrics tool with annotations covering safety and 100% schema coverage, the essentials are present, and no output schema exists so return-format explanation is not strictly required. However, the missing connection prerequisite and any hint about the shape/volume of returned metrics leave a notable gap for an agent invoking it cold.

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 description coverage is 100%, so all four parameters (site_id, start_date, end_date, detail) are already fully documented in the schema. The description adds no parameter-level meaning such as date syntax, default windows, or the top-25 trimming behavior of 'detail'. Baseline 3 is appropriate.

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?

Specific verb + resource ('Get Google Analytics metrics') with a concrete enumeration of the metrics returned (sessions, users, pageviews, bounce rate). It is clear which data domain it covers, though it never explicitly contrasts with close siblings like get_gsc_metrics or get_shopify_analytics for an agent choosing between analytics sources.

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?

The description gives no when-to-use guidance, no alternatives, and no exclusions. It also fails to state that Google Analytics must already be connected (e.g., via connect_ga) before this tool is meaningful, which is a real prerequisite an agent needs.

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.

Resources