Skip to main content
Glama

Wikipedia Article Pageview History

wikimedia-analytics.pageviews.per_article
Read-onlyIdempotent

Get pageview history for one specific article on a Wikimedia project over a date range, bucketed daily or monthly. Filter by access method and traffic agent. Use after wikimedia-analytics.pageviews_top to track trend history for a discovered article. Data: Wikimedia Analytics REST API (wikimedia.org/api/rest_v1), no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYesEnd date in YYYYMMDD format (e.g. 20260801)
agentNoTraffic agent filter (default all-agents)
startYesStart date in YYYYMMDD format (e.g. 20260801)
accessNoAccess method filter (default all-access)
articleYesArticle title, spaces or underscores accepted (e.g. Albert_Einstein)
projectYesWikimedia project domain (e.g. en.wikipedia, de.wikipedia, commons.wikimedia)
granularityNoTime bucket granularity (default daily)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds value by disclosing the underlying source ('Wikimedia Analytics REST API (wikimedia.org/api/rest_v1)') and that 'no auth required' – useful operational context beyond the annotations. It doesn't cover rate limits, but the bar is lower given the rich annotations.

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?

Three sentences, each earning its place: the first states the core action and options, the second gives the usage workflow with a sibling, and the third names the underlying API and auth requirement. Front-loaded and zero waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema, so return format is covered by structured data. The description covers scope, filters, granularity, usage context, the underlying API, and auth requirements. Nothing an agent needs to call this correctly appears to be missing.

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 description coverage is 100%, so all parameters (project, article, start, end, agent, access, granularity) are already documented with types, formats, and defaults in the schema. The description mentions access method, traffic agent, and granularity, but adds no meaning beyond what the schema already provides. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Get'), a precise resource ('pageview history for one specific article on a Wikimedia project'), and the key constraints (date range, daily/monthly buckets). It also explicitly distinguishes itself from the sibling tool pageviews_top by framing itself as the follow-up for trend history, so an agent can tell them apart immediately.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly names a sibling ('wikimedia-analytics.pageviews_top') and provides a concrete workflow ('Use after ... to track trend history for a discovered article'). This gives a clear when-to-use context and an alternative, though it does not explicitly state when not to use the tool or mention other related siblings like aggregate.

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.