Skip to main content
Glama

Get Google Analytics site search

get_google_analytics_site_search
Read-only

Read measured internal search terms with search events, users, sessions, engaged sessions, and engagement rate. Requires GA4 site-search measurement. Read-only and uses no FastestRank credits.

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": {
      "projectId": "<projectId>"
    },
    "name": "get_google_analytics_site_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
endDateNoInclusive YYYY-MM-DD date. Provide both startDate and endDate.
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
startDateNoInclusive YYYY-MM-DD date. Provide both startDate and endDate.

Output Schema

NameRequiredDescriptionDefault
rowsNo
errorNo
quotaNo
sourceNo
statusYes
requestNo
pageInfoNo
rowCountNo
warningsNo
comparisonNo
diagnosticsNo
totalRowCountNo
reportMetadataNo
ecommerceActivityNo
diagnosticCoverageNo
siteSearchActivityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive safety, but the description adds two things they don't: the GA4 site-search measurement prerequisite and the fact that the call consumes no FastestRank credits. It does not discuss pagination behavior or empty-result handling, which keeps it below a 5.

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

Conciseness5/5

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

Two sentences, front-loaded with the verb, resource, and metric list, then the prerequisite and cost note. No filler or restatement of the title.

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?

With an output schema present, the description needn't describe return shape, and it correctly covers the prerequisite and cost profile. The one remaining gap is that paging and the requirement to supply both startDate and endDate are left entirely to the schema.

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 60%: projectId and the date bounds are documented in the schema, while limit and offset carry no descriptions anywhere. The description adds no parameter meaning at all (no mention of date scoping or paging), so it neither compensates for the gap nor repeats the schema — baseline 3.

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?

States a specific verb and resource ('Read measured internal search terms') plus the exact metrics returned (search events, users, sessions, engaged sessions, engagement rate), which clearly separates it from sibling GA tools like get_google_analytics_page_performance or get_google_analytics_traffic_acquisition. It does not explicitly name a sibling alternative, so it stops short of a 5.

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?

Provides a genuine prerequisite ('Requires GA4 site-search measurement') that tells the agent when this call will yield data. However, it gives no guidance on when to prefer this over adjacent analytics tools or what to do when site-search isn't configured.

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.