Skip to main content
Glama

apa7_build_document

Creates a new APA 7 .docx from structured blocks, applying profile, language, page number, and running-head settings to produce a formatted document.

Instructions

Crea un .docx APA 7 NUEVO desde bloques (los mismos de apa7_insert_blocks). profile: 'apa7'|'a4'|ruta .json|{font,size,page_size,margin_cm,line_spacing,first_line_cm,numbered_headings}. language: es|en (auto por defecto).

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": {
      "output_path": "<output_path>",
      "blocks": "<blocks>"
    },
    "name": "apa7_build_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
blocksYes
profileNo
languageNo
overwriteNo
output_pathYes
page_numbersNo
running_headNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only that a new file is created and that language defaults to auto. It says nothing about overwrite semantics for an existing output_path (the schema exposes an 'overwrite' flag defaulting to false), nor about page_numbers/running_head side effects, which matter for a file-writing tool.

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?

A single dense paragraph, front-loaded with the core action and then the two non-obvious parameter formats. No filler, though the parameter notes are terse enough that a reader must unpack the pipe-delimited syntax.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter file-creating tool with no annotations, no output schema, and 0% schema description coverage, the description documents only 2 of 7 parameters and omits overwrite behavior entirely. An agent could invoke it, but not confidently with respect to destructive or default-value behavior.

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

Parameters3/5

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

Schema description coverage is 0% across 7 parameters, so the description is the only documentation, and it meaningfully explains the two hardest ones: 'profile' (string shortcuts, a .json path, or an object with font/page_size/margin_cm/etc.) and 'language' (es|en, auto by default). It leaves 'overwrite', 'page_numbers', and 'running_head' entirely undocumented, so it compensates only partially.

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 ('Crea') and resource ('.docx APA 7'), with the emphasized 'NUEVO' plus the parenthetical '(los mismos de apa7_insert_blocks)' making clear this generates a fresh document rather than modifying an existing one. An agent can distinguish it from apa7_insert_blocks without opening either 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 contrast between 'NUEVO' and the reference to apa7_insert_blocks implies the new-vs-existing routing decision, but the description never states it explicitly nor gives any when-not condition. Usage must be inferred rather than read.

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