Skip to main content
Glama

Metrinel

Get data (normalized, cross-source)

get_data
Read-only

Query Google Ads, GA4 and Search Console with one field vocabulary.

Prefer this over the source-specific tools for reporting and for comparing sources, e.g. Google Ads campaigns with their GA4 sessions (join on campaign_id), or GA4 landing pages with their Search Console clicks (join on landing_page). Rows missing in a source show null for its metrics. Ratios (ctr, cpc, cpa, roas, conversion_rate, engagement_rate) are recomputed from totals. Search Console data lags 2-3 days.

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": {
      "sources": "<sources>",
      "fields": "<fields>"
    },
    "name": "get_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
fieldsYesDimensions and metrics from list_fields, e.g. ['date', 'spend', 'clicks'].
date_toNoYYYY-MM-DD, with date_from.
filtersNoConditions combined with AND, applied to every source.
sourcesYesOne source, or several to join them on the requested dimensions. With several, metric columns are prefixed with the source (google_ads.clicks, search_console.clicks).
order_byNoColumns to sort by; prefix '-' for descending, e.g. -spend. In a blend, a bare metric name works when only one source has it; otherwise qualify it, e.g. search_console.clicks.
date_fromNoYYYY-MM-DD, with date_to.
date_presetNotoday, yesterday, last_Nd (last_7d, last_28d...), this_month, last_month, this_year, last_year. Default last_28d. last_Nd ends yesterday.
force_refreshNoSkip the cache. Recent data is cached 15 minutes.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false), so the bar is lower, yet the description adds real behavioral context beyond them: nulls for sources missing a row, ratio metrics recomputed from totals rather than summed, a 2-3 day Search Console lag, and (via schema) a 15-minute cache. These are exactly the details that change how an agent interprets and trusts the output.

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?

Front-loaded with the one-line purpose, then routing guidance, then behavioral caveats, in a length matched to a 9-parameter tool. Every sentence carries information an agent would otherwise have to infer; nothing is repeated from the schema or annotations.

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

Completeness5/5

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

With an output schema present, return values need no explanation, and the description covers the remaining risks for a complex multi-source query tool: when to prefer it, how sources combine, how nulls and ratios behave, and data latency. Nothing an agent needs to invoke it correctly is absent.

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

Parameters4/5

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

Schema coverage is 89%, so the baseline would already be a 3. The description goes past that by explaining the cross-source join semantics — that supplying multiple sources joins them on the requested dimensions and prefixes metric columns with the source — which the schema only alludes to. It doesn't add anything for limit, filters, or date_preset beyond what the schema states, so it stops short of a 5.

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

Purpose5/5

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

"Query Google Ads, GA4 and Search Console with one field vocabulary" names a specific verb and an explicitly bounded resource set, and the normalized/cross-source angle is unique among the siblings (ads_query, ga4_run_report, gsc_search_analytics). An agent can immediately tell this is the unified reporting tool rather than a single-source one.

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

Usage Guidelines5/5

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

It states when to use it ("Prefer this over the source-specific tools for reporting and for comparing sources") and names the routing alternative directly. The join examples — Google Ads campaigns with GA4 sessions on campaign_id, GA4 landing pages with Search Console clicks on landing_page — turn the guidance into a concrete decision rule the agent can apply without opening a schema.

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