Skip to main content
Glama

get-citation

Read-onlyIdempotent

Resolve a DOI or namespaced ID and export deterministic BibTeX, RIS, or CSL-JSON with provenance and missing-field warnings for accurate citations.

Instructions

Resolve a DOI or namespaced ID and export deterministic BibTeX, RIS or CSL-JSON with provenance and missing-field warnings. Legacy scholar_id remains accepted. Example: {"identifier": "10.1038/nature14539", "format": "bibtex"}

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": "get-citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNobibtex
providersNo
identifierNo
scholar_idNo

Output Schema

NameRequiredDescriptionDefault
paperYes
formatYes
citationYes
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.5
    • addedOutput schema / $defs / Paper / properties / abstract_missing_reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Abstract Missing Reason"
      +}
  2. First observedv0.2.3

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, openWorld, non-destructive), so the description only needed to add behavior beyond that — and it does: deterministic output, provenance metadata, and missing-field warnings are meaningful traits an agent would otherwise not know. What is missing is failure behavior, e.g. what happens with an unresolvable DOI or an unknown provider.

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 plus a concrete call example, front-loaded with the verb and output formats. The example carries real value for invocation shape rather than restating schema, and nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return structure need not be explained, and the annotations handle the safety profile. Still, for a 4-parameter tool at 0% schema coverage, the unexplained providers parameter and the absence of any resolution-failure or provider-selection behavior leave real gaps.

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 0%, so the description has to compensate and it only partly does: it clarifies that identifier accepts a DOI or namespaced ID, that format takes three named values, and that scholar_id is a legacy fallback. The fourth parameter, providers, is never mentioned, leaving no hint whether it restricts or prioritizes the resolution sources.

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

Purpose4/5

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

"Resolve a DOI or namespaced ID and export deterministic BibTeX, RIS or CSL-JSON" gives a specific verb (resolve/export), a specific input class, and the three output formats. It is clear enough to distinguish from verify-citation and enhance-citation by implication, but it never explicitly names a sibling or states the boundary.

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

Usage Guidelines3/5

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

The trigger is implied by "Resolve a DOI or namespaced ID" plus the worked example, so an agent can infer when to reach for it. However, there is no explicit when-not guidance and no statement of how this differs from verify-citation or enhance-citation, which are the closest siblings.

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