Skip to main content
Glama

Wikimedia Pageviews Brand Trends MCP

Get Wikipedia article pageviews

get_article_pageviews
Read-onlyIdempotent

Fetch daily or monthly pageviews, average traffic, peak date, and half-over-half trend for a Wikipedia article.

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": {
      "article": "<article>"
    },
    "name": "get_article_pageviews"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date in YYYYMMDD or YYYY-MM-DD (defaults to yesterday).
agentNoTraffic agent filter (default "user").
startNoStart date in YYYYMMDD or YYYY-MM-DD (defaults to 30 days ago).
accessNoDevice access filter (default "all-access").
articleYesWikipedia article title (e.g. "OpenAI", "Nvidia", "Stripe,_Inc.").
projectNoWikimedia project (default "en.wikipedia").
granularityNoAggregation granularity (default "daily").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description's real contribution is naming the derived outputs (average traffic, peak date, half-over-half trend), which matters because there is no output schema, but it says nothing about defaults, date-range limits, or rate limiting.

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 front-loaded sentence with the verb, resource, and returned metrics in order of importance. Every clause carries information; nothing is redundant padding.

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?

For a seven-parameter read tool with a fully documented schema and no output schema, the description adequately signals what comes back. It could go further on date-range behavior and whether results are single-article only, but the essentials are present.

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 100% with all seven parameters documented including defaults and enum values, so the schema carries the burden. The description only echoes the daily/monthly granularity choice and adds no new parameter meaning.

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 pairs a specific verb ("Fetch") with a specific resource (pageviews for a Wikipedia article) and enumerates the derived metrics returned. Saying "for a Wikipedia article" implicitly separates it from project-level or top-article siblings, but it never names an alternative explicitly.

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?

Usage is only implied by the article-level scoping; there is no explicit when-to-use, when-not-to-use, or pointer to a sibling such as get_project_total_views or get_top_viewed_articles. An agent can infer the use case but receives no routing guidance.

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.