Get Wikipedia Summary
wikipedia_get_summaryFetch the short article summary that answers "what is X?". The extract is a truncated fragment from the start of the lead section — usually a sentence or two, and as little as a tenth of the lead — alongside the Wikidata QID (wikibase_item) for cross-referencing with wikidata-mcp-server, a short description, a thumbnail URL, the canonical article URL, the revision the extract was read from, and, for a geotagged article, latitude and longitude that pass straight to wikipedia_search_nearby to answer "what else is notable near this". For the lead section in full, call wikipedia_get_article with section_index 0. Redirects are followed and reported in redirected_from, and in redirect_section when the alias points into a section; the extract still covers the whole article. When page_type is "disambiguation", the title matched a disambiguation page — call wikipedia_search_articles with a more specific query to find the intended article. Prefer this over wikipedia_get_article unless article depth is needed.
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": {
"title": "<title>"
},
"name": "wikipedia_get_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Article title (URL-decoded), e.g. "Python (programming language)". A trailing #fragment is accepted and ignored; the characters < > [ ] { } and | cannot appear in a Wikipedia page name. Special: and Media: titles, and interwiki links such as "wikt:cat", name no page. | |
| language | No | Wikipedia language edition code (default "en"). Examples: "fr", "de", "ja". | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Canonical desktop URL of the article (e.g. "https://en.wikipedia.org/wiki/Eiffel_Tower"), for citing the page rather than composing a URL from the title. | |
| error | No | Present when the call failed. Absent on success. | |
| title | No | Resolved article title (may differ from input for redirects). | |
| notice | No | Guidance when the page has no summary extract, when the title redirects into a section (naming its section_index once the table of contents confirms it), or when the redirect could not be checked. | |
| pageid | No | Wikipedia page ID. Absent when the API omits it. | |
| extract | No | Plain-text summary extract — a truncated fragment from the start of the lead section, not the whole lead. Superscripts and subscripts stay apart from the text beside them (10²³, H₂O), as wikipedia_get_article renders them. Call wikipedia_get_article with section_index 0 for the full lead. | |
| language | No | Language edition queried. | |
| latitude | No | WGS 84 latitude of the article subject in decimal degrees. Pass with longitude to wikipedia_search_nearby, whose inputs carry these names, to find other notable articles around the same point. Absent for an article that is not geotagged. | |
| longitude | No | WGS 84 longitude of the article subject in decimal degrees. Pass with latitude to wikipedia_search_nearby, whose inputs carry these names, to find other notable articles around the same point. Absent for an article that is not geotagged. | |
| page_type | No | Page type from the Wikipedia REST API: "standard" (an article, including one whose lead yields no extract), "disambiguation" (a disambiguation page — call wikipedia_search_articles with a more specific query), "mainpage" (the edition's Main Page), or "no-extract" (a page outside the article namespace, such as a category, or with non-wikitext content). | |
| description | No | Short description of the article subject. | |
| revision_id | No | ID of the revision the extract was read from. "https://<edition>.wikipedia.org/w/index.php?oldid=<revision_id>" is a permanent link to exactly that version. | |
| last_modified | No | ISO 8601 timestamp of that revision, for dating the content. | |
| thumbnail_url | No | URL of the article thumbnail image, if available. | |
| wikibase_item | No | Wikidata QID (e.g. "Q28865"). Use to chain into wikidata-mcp-server without a separate lookup. | |
| redirected_from | No | Original alias followed to the resolved article. Absent when the title is not a redirect, or when the redirect could not be checked (a notice then says so). | |
| redirect_section | No | Section of the article the alias points into — its heading when the table of contents confirms it, otherwise the alias's raw fragment. The extract still summarizes the whole article; a notice gives the section_index to read when it is confirmed. |