Skip to main content
Glama

Wikimedia Pageviews Brand Trends MCP

Get Wikimedia project aggregate views

get_project_total_views
Read-onlyIdempotent

Retrieve total pageviews across an entire Wikimedia project (such as en.wikipedia) for a date range.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_project_total_views"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date YYYYMMDD or YYYY-MM-DD (defaults to yesterday).
agentNoAgent filter (default "user").
startNoStart date YYYYMMDD or YYYY-MM-DD (defaults to 14 days ago).
accessNoAccess channel (default "all-access").
projectNoWikimedia project (default "en.wikipedia").
granularityNoGranularity (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 readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered structurally. The description adds only the aggregation scope and date-range framing, saying nothing about result shape (single total vs. per-day rows) or rate/limit behavior.

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 zero filler. The resource, scope and time dimension all appear before any clause that could be trimmed.

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 simple, fully documented read-only lookup with complete schema coverage and full annotations, the description covers purpose and scope adequately. The only soft gap is the ambiguity between 'total pageviews' and the granularity parameter, which can produce per-day or per-month series rather than one number.

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%, with every parameter documented including defaults and enum values, so the baseline is 3. The description adds no additional guidance about parameter interaction — notably nothing resolving how 'total' interacts with the daily/monthly granularity parameter.

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 states a specific verb and resource — 'Retrieve total pageviews across an entire Wikimedia project' — with a concrete example (en.wikipedia). The project-level scope distinguishes it from the sibling get_article_pageviews, though no sibling is named 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: 'across an entire Wikimedia project' signals this is the aggregate, project-wide variant. There is no explicit statement of when to prefer it over get_article_pageviews or get_top_viewed_articles, and no exclusions or prerequisites.

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.