Skip to main content
Glama

Parse Citations

parse_citations

Extract structured citation data from Wikipedia articles by title, returning one row per citation template with DOI, ISBN, PMID, URL, author, year, journal, and publisher.

Instructions

Structured citation table, one row per citation template (doi, isbn, pmid, url, title, author, year, journal, publisher, accessdate). Understands the native templates of en/fr/de/es/it/pt Wikipedias.

Input Schema

NameRequiredDescriptionDefault
langNoWikipedia language code (default "en").en
date_limitNoUpper date bound, ISO 8601 (default: now).
article_nameYesArticle title.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose one real behavioral trait — native template support for en/fr/de/es/it/pt Wikipedias — but omits what happens for unsupported languages, how non-template (plain-text) citations are handled, whether the operation is read-only, error behavior, or any result-size considerations.

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?

Two compact sentences with no filler, and the returned-field inventory is front-loaded where an agent will see it first. The only inefficiency is that the opening is a noun phrase rather than an action statement.

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?

Since there is no output schema, the description correctly compensates by enumerating the return columns. What it lacks is disambiguation from parse_all_citations/extract_citations and any statement about failure modes for unsupported languages, which leaves a real ambiguity for an agent choosing among siblings.

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 the three parameters (lang, date_limit, article_name) are already documented. The description adds nothing about parameter semantics — the field list describes return columns, not inputs — so the baseline 3 applies.

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

Purpose3/5

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

The description specifies the output shape precisely (one row per citation template, listing doi/isbn/pmid/url/title/author/year/journal/publisher/accessdate), which implies extraction of citations from a Wikipedia article. However, it never states the action with a verb — 'Structured citation table' is a noun phrase relying on the tool name — and it does not distinguish itself from close siblings such as parse_all_citations, extract_citations, or get_citation_types.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no reference to any of the many sibling tools. An agent reading this cannot tell why it should call parse_citations rather than parse_all_citations or extract_citations — a significant gap given the dense sibling set.

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