Skip to main content
Glama
zhangluka

grain-seo-mcp

by zhangluka

analytics_trends

Detect rising or declining traffic trends for queries and pages on your site. Analyze changes over a configurable period with minimum click and percentage thresholds.

Instructions

Detect traffic trends (rising/declining) for queries or pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteUrlYesThe URL of the site
dimensionNoDimension to analyze (default: query)
daysNoNumber of days to analyze (default: 28)
thresholdNoMinimum percentage change to consider (default: 10)
minClicksNoMinimum clicks required to be considered (default: 100)
limitNoMax results to return (default: 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only states the purpose without disclosing how trends are computed, what thresholds are applied, or what the output contains (e.g., trend direction, magnitude, statistical significance). This is insufficient for a 6-parameter tool.

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?

A single, concise sentence that front-loads the core purpose without unnecessary words. It is appropriately sized for a straightforward tool.

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?

With 6 parameters, no output schema, and no annotations, the description is too sparse. It does not explain the output format (e.g., list of trends with direction and metrics) or how parameters like threshold and minClicks influence results, leaving significant gaps for an agent.

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?

Since schema description coverage is 100%, the baseline is 3. The description adds minimal value beyond the schema—it mentions 'queries or pages' which aligns with the dimension parameter, but that is already described in the schema. No extra semantics are provided.

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 clearly states the tool detects traffic trends (rising/declining) for queries or pages, which distinguishes it from sibling tools like analytics_top_queries and analytics_top_pages that focus on top items rather than trends.

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?

The description provides no guidance on when to use this tool versus alternatives such as analytics_anomalies, analytics_time_series, or other trend-related tools. An agent would have to infer usage from the tool name and siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools