Skip to main content
Glama

MLA Citation Generator API - MLA 9th & 8th Works Cited, in-text, BibTeX, RIS & DOCX

mla_citation_generator
Read-onlyIdempotent

Generate accurate MLA 9th or 8th edition Works Cited entries and author-page in-text citations from structured source fields, a batch list (up to 500 sources), BibTeX or RIS. Supports websites, journal articles, books, book chapters, videos, newspapers, reports and podcasts; handles 1/2/3+ (et al.) authors, corporate authors, automatic MLA Title Case, authentic MLA month abbreviations, alphabetical sorting with three-hyphen (---.) repeated-author formatting, shortened-title disambiguation, and optional MLA-formatted Word (.docx) output with 0.5-inch hanging indents. 0 AI, deterministic, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/mla-citation-generator.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "doi": "10.1016/j.jue.2025.103501",
      "date": "2025-04-12",
      "issue": "3",
      "pages": "112-128",
      "title": "Remote work and urban commuting patterns in Europe",
      "volume": "42",
      "authors": "Jane A. Smith; Robert Chen",
      "locator": "115",
      "container": "Journal of Urban Economics",
      "sourceType": "journal"
    },
    "name": "mla_citation_generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
doiNoDOI (e.g. 10.1037/amp0000123)
risNoRaw RIS text to convert into sorted MLA Works Cited entries
urlNoSource URL
dateNoPublication date (e.g. '2025', '2025-04-12', or '12 Apr. 2025')
issueNoJournal issue
pagesNoPage range (e.g. 112-128)
styleNoMLA editionmla9
titleNoTitle of the article, webpage, book, report or video
bibtexNoRaw BibTeX text to convert into sorted MLA Works Cited entries
volumeNoJournal volume
authorsNoAuthor(s) separated by ';' (e.g. 'Jane A. Smith; Robert Chen')
editionNoBook edition (e.g. 2nd)
editorsNoBook editors for chapter citations, separated by ';'
locatorNoOptional in-text page or timestamp locator (e.g. '42')
sourcesNoBatch list of up to 500 source objects
bookTitleNoEdited book title for chapter citations
containerNoJournal, website, newspaper, platform or podcast name
corporateNoTreat author as a group/organization (do not invert)
publisherNoPublisher or organization
titleCaseNoConvert titles to MLA Title Case
accessDateNoOptional access date (e.g. '2026-11-28')
sourceTypeNoType of source (website, journal, book, video, news, report, chapter, podcast)website
includeDocxNoInclude base64-encoded MLA-formatted Word .docx

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/openWorld; the description adds real behavioral context: deterministic with 0 AI, nothing stored, a 500-source batch cap, authenticated access via X-API-Key or x402, and a 5 calls/day free tier. It also discloses the optional .docx output with hanging indents, which is a concrete artifact rather than a restatement of the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single front-loaded paragraph that leads with what is generated, then input formats, then formatting capabilities, then access/pricing. Despite the length, nearly every clause carries factual information an agent would otherwise have to guess at.

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?

For a 23-parameter tool with no output schema, the definition covers scope, supported source types, formatting behaviors, and output shape (Works Cited entries, in-text citations, optional .docx). The one remaining gap is the structure of the primary JSON response, which the description never characterizes.

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

Parameters4/5

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

With 100% schema description coverage the baseline is 3, but the description earns extra credit by clarifying parameter behavior: 'sources' is capped at 500 objects, 'bibtex'/'ris' are raw text converted to sorted entries, and author handling covers 1/2/3+ and corporate authors. Editors, locator, and accessDate are still only explained by the schema.

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 artifact (generate MLA 9th/8th Works Cited entries and author-page in-text citations) plus all accepted input forms: structured fields, batch list, BibTeX, RIS. The MLA specialization versus the sibling apa_citation_generator is obvious from the definition itself, so an agent can select it 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 Guidelines4/5

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

Gives clear context on supported input modes (single structured source, batch up to 500, BibTeX/RIS conversion) and enumerates source types, so an agent knows when the tool fits. It never states when NOT to use it or points to the APA sibling as the alternative for non-MLA styles, leaving that inference to the agent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources