Skip to main content
Glama

APA Citation Generator API - APA 7th & 6th references, in-text, BibTeX, RIS & DOCX

apa_citation_generator
Read-onlyIdempotent

Generate accurate APA 7th or 6th edition references and parenthetical/narrative 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 20+ authors, corporate authors, automatic sentence case, DOI normalization, alphabetical sorting with 2024a/2024b disambiguation, and optional APA-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/apa-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",
      "issue": "3",
      "pages": "112-128",
      "title": "Remote work and urban commuting patterns in Europe",
      "volume": "42",
      "authors": "Jane A. Smith; Robert Chen",
      "container": "Journal of Urban Economics",
      "sourceType": "journal"
    },
    "name": "apa_citation_generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
doiNoDOI (e.g. 10.1037/amp0000123)
risNoRaw RIS text to convert into sorted APA references
urlNoSource URL
dateNoPublication date (YYYY, YYYY-MM, or YYYY-MM-DD; empty = n.d.)
issueNoJournal issue
pagesNoPage range (e.g. 112-128)
styleNoAPA editionapa7
titleNoTitle of the article, webpage, book, report or video
bibtexNoRaw BibTeX text to convert into sorted APA references
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 locator (e.g. 'p. 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
sourceTypeNoType of source (website, journal, book, video, news, report, chapter, podcast)website
includeDocxNoInclude base64-encoded APA-formatted Word .docx
sentenceCaseNoConvert titles to APA sentence case
retrievalDateNoOptional retrieval date for frequently changing pages

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, and the description adds real behavioral context beyond them: deterministic with '0 AI', nothing stored, a 5-calls/day free tier, and two auth paths (X-API-Key or x402 micro-payment). What it omits is the shape of the non-DOCX response payload, which matters for a generator with no output schema.

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?

Front-loaded with capability and formats in one dense paragraph, then access/pricing at the end. Nearly every clause earns its place, though the pricing URL and x402 endpoint could be deferred to docs rather than occupying the primary description.

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?

Given 23 optional parameters and no output schema, the description covers input modes, supported types, formatting behavior, and cost/access constraints thoroughly. The remaining gap is return-value description for non-DOCX output, which the absence of an output schema leaves undocumented.

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?

Schema description coverage is 100%, so the schema baseline is 3, and the description earns an increment by explaining behaviors behind parameters: automatic sentence casing, 20+ author handling, corporate-author inversion, DOI normalization, and 2024a/2024b alphabetical disambiguation. It still does not clarify how sources-array objects relate to the flat fields.

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 (generate) plus resource (APA 7th/6th references and in-text citations), and enumerates input routes (structured fields, batch list, BibTeX, RIS) and supported source types. An agent can tell exactly what this produces and that no sibling tool overlaps with it.

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?

Implies when to use it clearly: pass structured fields, a batch of up to 500 sources, or raw BibTeX/RIS text; style and sourceType parameters route variants. It does not state explicit exclusions or when-not-to-use (e.g. non-APA styles), but with no competing sibling that gap is minor.

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