Skip to main content
Glama

Unusual daily changes

meta_insights_get_anomalies
Read-only

Unusual daily changes (spikes/drops) in Google/Meta spend, clicks, conversions, revenue, Shopify revenue/orders and Search Console clicks, vs a typical same weekday.

Input Schema

NameRequiredDescriptionDefault
urlNo
daysNo
limitNo
actionNo
statusNo
date_toNo
page_idNo
sort_byNo
user_idNo
site_urlNo
client_idNo
date_fromNo
ad_accountNo
ig_user_idNo
user_emailNo
range_presetNo
activity_onlyNo
campaign_nameNo
property_nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / action
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Action"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Status"
      +}
  2. Added

TDQS

C2.9/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 safety is covered. The description adds genuine methodological context — the comparison is against a typical same weekday, and the scope spans ads plus Shopify plus Search Console — but it says nothing about detection thresholds, expected result volume, or how the 19 filter parameters change scope.

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 scope and the same-weekday baseline are the most useful facts and appear first. It is undersized rather than oversized, but there is no waste to cut.

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?

An output schema exists, so return values needn't be explained, but a tool with 19 undocumented, all-optional parameters needs the description to at least sketch how to scope a query (date range? account? limit?). The description instead describes only what the tool detects, leaving an agent unable to call it with intent.

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 19 optional parameters, and the description gives no hint what days, limit, date_from/date_to, range_preset, action, status, activity_only, ad_account, site_url, or property_name do. It loosely implies which data sources are queried, but that is not enough to compensate for a complete absence of parameter documentation.

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?

The description names the specific analysis produced (daily spikes/drops) and the exact metric families covered (Google/Meta spend, clicks, conversions, revenue, Shopify revenue/orders, Search Console clicks) against a same-weekday baseline. That is concrete and far better than a restatement of the name, though it never distinguishes this from close siblings like meta_insights_get_fatigue or meta_insights_get_overview.

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 statement of when to reach for this versus meta_insights_get_fatigue, meta_insights_get_overview, or meta_insights_compare_platforms, and no exclusions or prerequisites. The agent must infer the use case from the metric list alone.

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.