Skip to main content
Glama

cito_to_wikidata

Mirror published CiTO citations into Wikidata by generating a QuickStatements batch that links replications to cited works with CiTO intents, ready for researcher submission.

Instructions

Mirror published CiTO citations into Wikidata — as a batch for a human to submit.

Run it after verify_chain is green, to make the chain's typed citation ("this replication confirms / qualifies / disputes that paper") visible in Wikidata and Scholia. Pass the CiTO nanopub URIs, or published_path (a nanopubs/PUBLISHED.md) to take every CiTO nanopub in the ledger.

It writes nothing to Wikidata. It returns quickstatements — a batch that adds, on the replication's item, "cites work" (P2860) → the original, with "has goal" (P3712) → the CiTO intent, referenced by "nanopublication identifier" (P12545) → the CiTO nanopub — plus a per-work report. Show the researcher the report; they submit the batch at https://quickstatements.toolforge.org with their own Wikidata account. Never submit it on their behalf.

Items are looked up by DOI and ORCID first and created only when missing; a replication is one item per Zenodo concept DOI, not one per version. Items are created from the Zenodo record's title, so a repository-slug title ("my-replication-repo") should be fixed on Zenodo first. pending lists citations to works this same batch creates: re-run after submitting.

Input Schema

NameRequiredDescriptionDefault
cito_urisNo
published_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it states 'It writes nothing to Wikidata,' explains that it returns `quickstatements` for human submission, details the exact Wikidata properties used, and emphasizes 'Never submit it on their behalf.' It also discloses item creation rules, DOI/ORCID lookup behavior, Zenodo concept DOI handling, and the `pending` re-run case.

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?

The description is long but front-loaded and dense with relevant operational detail. Every sentence contributes, though the density of constraints and edge cases could be made slightly easier to scan with more explicit structure.

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?

For a tool with no annotations, no output schema, and 0% schema coverage, the description is complete: it covers purpose, prerequisites, input modes, output shape, submission responsibility, item-creation behavior, title-quality caveats, and the `pending` re-run case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: `cito_uris` are the CiTO nanopub URIs to mirror, while `published_path` points to a `nanopubs/PUBLISHED.md` ledger to take every CiTO nanopub. The 'or' framing clarifies the alternative input modes.

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?

The description states a specific verb and resource: 'Mirror published CiTO citations into Wikidata — as a batch for a human to submit.' It makes clear this is a conversion/export step rather than a direct Wikidata write, distinguishing it from direct mutation tools.

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?

It explicitly says to run the tool after `verify_chain` is green and explains the two input modes: pass CiTO nanopub URIs or `published_path`. It does not explicitly compare against other sibling tools such as `wikidata_lookup`, but the prerequisite and input guidance are strong.

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