Skip to main content
Glama

Analytics run report

analytics_run_report
Read-only

Custom GA4 report. metrics and dimensions are lists of GA4 API names. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "property_id": "<property_id>",
      "metrics": "<metrics>"
    },
    "name": "analytics_run_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
limitNo
offsetNo
metricsYes
user_idNo
end_dateNo
client_idNo
dimensionsNo
start_dateNo
user_emailNo
property_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/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 the safety profile is covered. The description adds useful terminology (metrics/dimensions are GA4 API names) and the client_id default-to-active-brand behavior, but says nothing about result caps, pagination interaction between limit and offset, or how invalid GA4 field names are handled.

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?

Three short sentences with the core definition front-loaded and no filler. The trailing "extra passes any other field the app accepts" is vague and borders on an unhelpful escape hatch, but the overall size is well matched to a compact tool blurb.

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?

With 11 parameters, 0% schema description coverage, and no output-schema burden to explain, the description should cover the required property_id and the date/pagination semantics; it does neither. An agent could construct a call only because the schema marks two fields required, not because the description explains them.

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 11 parameters, so the description must carry the load. It clarifies metrics, dimensions, client_id, and extra, but leaves the required property_id completely unexplained, along with start_date, end_date, limit, offset, user_id, and user_email — including the two required parameters only one is addressed.

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?

"Custom GA4 report" gives a specific resource and implies the run-a-report action, which separates it in spirit from the canned analytics_get_* siblings. It stops short of naming any alternative explicitly, so an agent must infer the distinction from the word "Custom."

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?

Usage is only implied: the word "Custom" suggests this is the escape hatch when a predefined analytics_get_* report does not cover the need. There is no explicit when-to-use, when-not-to-use, or named alternative to route between this tool and analytics_get_ga4_metrics or analytics_list_properties.

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.