Skip to main content
Glama

export_literature

Export literature records to Markdown, JSON, BibTeX, or RIS, with optional filtering by screening verdict. Generate structured evidence reports, screening ledgers, or bibliography files from saved searches.

Instructions

Export literature records to Markdown, JSON, BibTeX, or RIS. Supports filtering by screening verdict (include, maybe, exclude). Markdown produces a structured evidence synthesis report with summary table and cards; JSON includes complete screening ledgers and multi-source provenance.

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": {
      "format": "<format>"
    },
    "name": "export_literature"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYesExport format: markdown (formatted report & review cards), json (full data + screening), bibtex, or ris
briefIdNo
verdictNoOptional filter to export only records with a specific screening verdict
searchIdNo
recordIdsNo
includeAbstractNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • addedInput schema / properties / format / description
      Added value: +"Export format: markdown (formatted report & review cards), json (full data + screening), bibtex, or ris"
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "bibtex",
      -  "ris",
      -  "json"
      -]New value: +[
      +  "markdown",
      +  "json",
      +  "bibtex",
      +  "ris"
      +]
    • addedInput schema / properties / verdict
      Added value: +{
      +  "description": "Optional filter to export only records with a specific screening verdict",
      +  "enum": [
      +    "include",
      +    "exclude",
      +    "maybe",
      +    "all"
      +  ],
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden; it does useful work by describing what each format contains (structured evidence synthesis report, screening ledgers, provenance). It does not say whether the export writes a file or returns inline content, whether it mutates state, what the size limits are, or how errors surface.

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?

Three tight sentences, front-loaded with the action and formats, then the filter, then the format-specific output detail. Minor overlap with the schema's own format enumeration, but nothing is padding.

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?

There is no output schema and no annotations, so the description must cover return shape and side effects; it partially does so per format, which is the strongest part. It still leaves the export mechanism (file vs. response), the scoping parameters briefId/searchId/recordIds, and the 200-record limit unexplained for a six-parameter tool.

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

Parameters2/5

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

Schema description coverage is only 33%, and the two documented parameters (format, verdict) already have schema descriptions that the prose largely restates. briefId, searchId, recordIds, and includeAbstract are explained in neither place, and the 200-item cap on recordIds and the default true on includeAbstract go unmentioned.

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?

States a specific verb and resource ('Export literature records') and enumerates the four output formats, immediately separating it from the search_* and get_literature_records siblings that read rather than export. An agent can tell what this produces 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 Guidelines3/5

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

The mention of filtering by screening verdict implies the natural workflow (screen first, then export a subset), but there is no explicit when-to-use or when-not-to-use guidance relative to get_literature_records, generate_reading_cards, or save_screening. Selection between this and those siblings is left to inference.

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