Skip to main content
Glama

apa7_format_reference

Formats structured citation details into APA 7 references with italics, covering books, articles, web pages, and other common source types.

Instructions

Arma una referencia APA 7 (con cursiva). ref: {type, title, authors[apellidos], initials['K. S.',…], corporate_author, year, publisher, journal, volume, number, pages, url (o DOI), edition, site_name, book_title, book_editors[], subtitle, full_date, bracket}. type: libro|capitulo_libro|articulo_revista|articulo_periodico|tesis|informe|pagina_web|pelicula|video|podcast|ley|red_social.

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": {
      "ref": "<ref>"
    },
    "name": "apa7_format_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
languageNoes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose that output uses `*cursiva*` markdown-style italics and implies a single formatted string is produced, but it never says how missing/invalid fields are handled, whether it writes anything to a document, or what the response looks like.

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

Conciseness3/5

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

Purpose is front-loaded and the field list is information-dense with no filler, but the brace notation and missing spacing after commas make the parameter block cryptic to parse at a glance.

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?

For a tool with a 20-field nested object and no output schema, the description covers the input shape well but omits the return value, the undocumented `language` parameter, and any behavior for incomplete references. Enough to attempt a call, not enough to predict the result.

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 coverage is 0%, and the description compensates substantially by enumerating every `ref` sub-field (authors, corporate_author, journal, volume, pages, url/DOI, edition, etc.) and all twelve `type` enum values, none of which appear in the schema. The `language` parameter is left undocumented, which keeps it from a 5.

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?

The description opens with a specific verb and resource: 'Arma una referencia APA 7' (build an APA 7 reference) and notes the italics markup convention. That distinguishes it from validation/sibling tools like apa7_check or apa7_verify_references, though it never names those siblings explicitly.

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

Usage Guidelines2/5

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

There is no statement of when to use this formatter versus apa7_apply_apa, apa7_insert_blocks, or the verification tools. The enumerated `type` values imply scope (single-reference construction) but no preconditions, exclusions, or alternatives are given.

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