Skip to main content
Glama
google-seo-mcp
by Akxan

Wikipedia pageviews for a place or entity

wikipedia_pageviews
Read-onlyIdempotent

Measure monthly Wikipedia pageviews per language via Wikidata to reveal independent demand and seasonality, choose which language edition to prioritize, and find the article worth citing as sameAs in your schema.

Instructions

Monthly Wikipedia pageviews per language for a monument, town, museum or brand (Wikimedia API, free, no key). Resolves the name through Wikidata so every language version of the article is found at once, then returns views per month, the year-over-year trend and the strongest calendar months. Use it as a demand and seasonality signal that is independent of your own traffic (it covers people who never reached your site), to decide which language deserves content first, and to pick the article worth citing and linking as sameAs/about in your schema.

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

Input Schema

NameRequiredDescriptionDefault
nameYesEntity name ('Real Alcázar de Sevilla') or a full Wikipedia article URL.
monthsNoHow many months back (24 shows a full year-over-year comparison).
languagesNoWikipedia language editions to measure, e.g. ['es','en','fr'].
wikidataIdNoWikidata Q-id (e.g. 'Q206443') to skip the name search and be sure of the entity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Addedv0.10.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the safety bar is low; the description adds real value beyond them by disclosing the cost/access model ('free, no key'), the internal Wikidata name-resolution step (implying fuzzy matching and possible mis-resolution), and the shape of results (per-month views, YoY trend, strongest calendar months). Missing only edge behavior such as what happens when the name cannot be resolved or request limits.

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?

Three sentences, front-loaded with what is returned, then mechanism, then use cases — no repeated or filler content. The final sentence is long and slightly promotional ('worth citing and linking as sameAs/about'), but it carries genuine usage guidance.

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?

With no output schema, the description correctly carries the burden of describing return values (views per month, YoY trend, strongest calendar months) and the key mechanism behind them. Near-complete for a simple read-only metric tool, with only failure/fallback behavior left unstated.

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%, so parameters are already documented; baseline applies. The description adds modest meaning — it explains why a plain name is sufficient (Wikidata resolution finds every language edition), which contextualizes the `name` and `languages` parameters, but it adds no syntax, ranges, or defaults beyond the schema.

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?

Names a specific verb and resource ('Monthly Wikipedia pageviews per language') plus the entity types covered ('monument, town, museum or brand'). The mechanism sentence ('Resolves the name through Wikidata...') and the stated data source (Wikimedia API) make it unmistakable what is being fetched, and the 'independent of your own traffic' framing distinguishes it from the analytics siblings.

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?

Gives concrete decision contexts: use as a demand/seasonality signal, to decide which language deserves content first, and to pick the article for sameAs/about links. It does not name an alternative tool or state when to avoid it, but the intended situations are clear and actionable.

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