Skip to main content
Glama

apa7_replace_references

Replaces an entire APA 7 reference list in a Word .docx with supplied entries, sorting them and applying italics to titles and journal names.

Instructions

Reemplaza TODA la lista de referencias por entries (se ordenan; cursiva para títulos/revistas).

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": {
      "file_path": "<file_path>",
      "entries": "<entries>"
    },
    "name": "apa7_replace_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
entriesYes
profileNo
languageNo
file_pathYes
overwriteNo
output_pathNo
accept_tracked_changesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations, so the description carries full behavioral burden. It does disclose useful traits: the entire list is replaced (destructive), entries are auto-sorted, and *asterisks* mark italics. But it omits required document state (e.g. an existing references section), permission needs, and — notably — anything about tracked changes despite an accept_tracked_changes parameter, nor what the response contains after a destructive whole-list write.

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?

One compact, front-loaded sentence with the scope clarification first and the formatting convention parenthetical. No filler, but the parenthetical compresses two distinct facts (sorting and italic markup) into a terse fragment that is easy to overlook.

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 7-parameter, no-annotation, no-output-schema mutation tool, the definition is thin. The core action and entries formatting are covered, but five parameters, document preconditions, and post-call behavior are undocumented, so an agent must guess on important invocation details before a destructive write.

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 coverage is 0% across 7 parameters, so the description must compensate and largely does not. Only 'entries' gains meaning (sorted; asterisks for italics). file_path, output_path, overwrite, profile, language, and accept_tracked_changes — including ambiguous ones like profile and accept_tracked_changes — are left entirely undocumented.

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?

Specific verb (Reemplaza) + explicit scope (TODA la lista de referencias) + the payload (entries). It also states the entries are sorted and that asterisks denote italics, which distinguishes it from sibling apa7_replace_text (in-place text) and apa7_format_reference (single entry). 'TODA' makes the replace-everything scope unambiguous.

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?

No explicit when-to-use or when-not-to-use guidance and no named alternatives. 'Reemplaza TODA la lista' implies scope but not tool selection; nothing says to use apa7_format_reference for one entry or apa7_replace_text for body text, and no prerequisites or document-state requirements are stated.

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