# Tools reference Complete reference of every tool the GroupDocs.Assembly MCP server exposes to AI agents, with parameters, example prompts, and results. Complete reference of every tool the GroupDocs.Assembly MCP server exposes to AI agents, with parameters, example prompts, and results. Captured from a live `tools/list` call against server version **26.11.0** (raw capture: `tools-list.generated.json` in this section's source). | Tool | What it does | |---|---| | [`get_template_fields`]({{< ref "assembly/mcp/tools-reference/get-template-fields.md" >}}) | Lists a template's tags, the data names it uses, and a JSON skeleton of the data to fill | | [`assemble_document`]({{< ref "assembly/mcp/tools-reference/assemble-document.md" >}}) | Fills a template with data (inline JSON, or a JSON/XML/CSV/spreadsheet file) and saves the document | | [`assemble_per_record`]({{< ref "assembly/mcp/tools-reference/assemble-per-record.md" >}}) | Mail merge: one document per record of a JSON array, named by a record field | | [`get_document_info`]({{< ref "assembly/mcp/tools-reference/get-document-info.md" >}}) | Inspects a template or a data file: family, tags, data names, data shape, save formats | | [`get_supported_formats`]({{< ref "assembly/mcp/tools-reference/get-supported-formats.md" >}}) | Lists template formats, the formats each can be saved as, and the data formats read | | [`get_license_status`]({{< ref "assembly/mcp/tools-reference/get-license-status.md" >}}) | Reports the active licensing mode and, under metered licensing, consumption | ## How the tools address templates and data Templates and data files are **names in the storage folder** (or inline content). The data can also be inline JSON the agent writes itself: | Argument | Shape | Example | |---|---|---| | `template` | a FileInput — the document with `<<…>>` tags | `{ "filePath": "contract-template.docx" }` | | `dataJson` | inline JSON: an object whose keys are the template's data names, or an array | `"{\"customer\":{\"Name\":\"Contoso Pharma\"}}"` | | `data` | a FileInput — `.json`, `.xml`, `.csv`/`.tsv`, or a spreadsheet, Word or presentation **table** | `{ "filePath": "sales.xlsx" }` | | `dataSourceName` | the name the template uses for the data, when the server cannot work it out | `"ds"` in `<>` | | `recordsPath` | per-record only: where the array sits inside a JSON object | `"contributors"` | | `file` | a FileInput — any template or data file to inspect | `{ "filePath": "customers.json" }` | Pass **either** `dataJson` **or** `data`, not both. How the template sees the data: ```text data you give what the template sees how to name it ----------------------- ------------------------------------ ---------------- JSON object its keys: contract, customer, items nothing to do JSON array / XML / CSV one collection worked out from spreadsheet / Word table (columns are the members) the template, or dataSourceName "2026-11-12T00:00:00" a date - format it in the template <<[d]:"d MMMM yyyy">> {{name}} in a template left as text - not Assembly syntax use <<[name]>> ``` **Output names.** `assemble_document` writes `