Skip to main content
Glama

OnchainCheck Web

Wikipedia trending

wikipedia_trending
Read-onlyIdempotent

What people are reading on Wikipedia: a day's most-viewed articles in any language edition, with views, change against the day before (or new entry), desktop and mobile shares, short description, thumbnail and link. Pages whose traffic looks automated are flagged and left out; the main page and non-article pages are skipped. Sort by views or by views gained. Latest day by default, or any day since July 2015. Data: Wikimedia Pageviews (CC0). Costs $0.003 USDC on Base via x402.

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": "wikipedia_trending"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoUTC day, YYYY-MM-DD (default: the latest published day)
langNoWikipedia language code (default en)
sortNoviews (default) or rising (views gained on the day before)
limitNoArticles to return, 1-50 (default 20)
include_automatedNoKeep pages whose traffic looks automated (default false)

Output Schema

NameRequiredDescriptionDefault
dateNostring, e.g. "2026-11-18"
langNostring, e.g. "en"
sortNostring, e.g. "views"
notesNostring, e.g. "Views are one UTC day's pageviews across desktop, mobile we
sourceNostring, e.g. "Wikimedia Pageviews API (CC0) and MediaWiki API (short desc
projectNostring, e.g. "en.wikipedia"
articlesNoarray
dataAsOfNostring, e.g. "2026-11-19T12:48:09.724Z"
checkedAtNostring, e.g. "2026-11-19T12:48:21.284Z"
comparedWithNostring, e.g. "2026-11-17"
excludedLikelyAutomatedNoarray

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld, and the description adds substantial behavior beyond them: automated-traffic pages are flagged and dropped, the main page and non-article pages are skipped, the data window starts July 2015, the source is Wikimedia Pageviews (CC0), and it costs $0.003 USDC on Base via x402. The paid-call disclosure is exactly the kind of operational fact an agent cannot get from annotations or schema.

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?

Information-dense and front-loaded: what it is, then filtering rules, then sort/date options, then data source, cost and license. It is a long single block, but each clause carries distinct facts and nothing is filler; minor cost is that the output-field list and the constraints run together without visual separation.

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?

With an output schema present the description needn't explain return values, and it still flags the non-obvious ones (automated filtering, skipped pages, rising-vs-views semantics). Combined with annotations and full schema coverage, an agent has everything needed to invoke this correctly, including the paid-call requirement.

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% and every parameter already carries format and default, so the schema does the heavy lifting. The description adds only light semantic color ('change against the day before (or new entry)' for rising, the desktop/mobile share fields) and no parameter-specific syntax, so baseline 3 applies.

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?

Opens with a concrete verb+resource framing ('What people are reading on Wikipedia: a day's most-viewed articles in any language edition') and enumerates the returned payload (views, delta vs. prior day, desktop/mobile shares, description, thumbnail, link). An agent can tell this is a daily top-articles ranking tool without opening the schema.

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 clear operating context: latest day by default, any day since July 2015, sorted by views or views gained, with automated-traffic and non-article pages excluded. It does not explicitly point to wiki_lookup for single-article or title-based needs, so sibling routing is left implicit rather than stated.

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.

Resources