Skip to main content
Glama

MetricPort

Daily spend trend with anomalies

ads_daily_trend
Read-onlyIdempotent

Daily cost, clicks, conversions and CPA for the account with flagged spend spikes or drops (≥30% vs. the prior 7 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": {
      "property": "<property>"
    },
    "name": "ads_daily_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
campaignNo
propertyYesGoogle Ads customer id from list_properties, e.g. 1234567890
thresholdPctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the description is free to add behavior — and it does, defining 'flagged' as ≥30% deviation vs. the prior 7 days and enumerating the returned metrics despite there being no output schema. It still omits granularity (one row per day?), aggregation level (account vs. campaign rows), and whether anomalies are always computed against a 7-day baseline regardless of the days parameter.

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 with no filler; the metric list and the anomaly rule both carry information. Slightly dense at the tail, but nothing is wasted.

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 4-param tool with no output schema, the description usefully discloses the returned metrics and the anomaly convention, but leaves the time window, campaign filtering behavior, and result shape (rows, ordering, pagination) unstated. Adequate but with clear gaps.

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 only 25% — only 'property' is documented (as a Google Ads customer id from list_properties). The description does not explain 'days' (default 60, the window length), 'campaign' (does it restrict output to one campaign?), or 'thresholdPct' beyond the hardcoded '≥30%' figure, so it fails to compensate for the coverage gap.

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+resource: daily trend of cost, clicks, conversions and CPA for the account, plus the anomaly-flagging behavior that makes it distinctive. An agent can read the scope immediately, though it never names or contrasts a sibling (e.g. ads_campaign_performance, adsense_daily_trend) so differentiation is left to inference.

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: nothing says when to pick this over ads_campaign_performance, ads_budget_pacing, or adsense_daily_trend, nor when an anomaly-focused view is the right lens. Usage is only implied by the phrase 'Daily ... trend'.

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.