Skip to main content
Glama

MetricPort

Daily earnings trend with anomalies

adsense_daily_trend
Read-onlyIdempotent

Daily earnings, page views and RPM with flagged drops or spikes (≥30% vs. the prior 7 days). Catches policy limits, ad-serving issues and traffic loss.

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": "adsense_daily_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
propertyYesAdSense account id from list_properties, e.g. accounts/pub-1234567890123456
thresholdPctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive). The description adds the detection heuristic (≥30% vs. prior 7 days), which is genuine behavioral context, but gives no indication of output shape, series length, or how flags are surfaced.

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 dense sentence that front-loads the metrics and follows with the anomaly rule and diagnostic payoff. No filler, though the diagnostic clause compresses several ideas together.

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 no output schema, the description does name the returned dimensions (earnings, page views, RPM, flags) and the flagging rule. It is reasonably complete for a read-only trend tool, with the days parameter being the main unexplained element.

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 coverage is only 33%, with days and thresholdPct undocumented in the schema. The description partially compensates by echoing the 30% threshold and 7-day baseline, but says nothing about the days window or its 60-day default.

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 specific metrics (daily earnings, page views, RPM) plus the distinctive anomaly-flagging behavior, so the agent knows this is not a raw earnings pull like adsense_earnings. Siblings are not named explicitly, which is the only thing keeping it from 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?

The description implies the diagnostic use case ('Catches policy limits, ad-serving issues and traffic loss') but never states when to choose this over adsense_earnings, adsense_report or ads_daily_trend. Usage is inferable but not spelled out.

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.