Skip to main content
Glama

Export dossier

export_dossier

Render a Mappe — or one document of it — as a finished file on the tenant's letterhead, and return a link valid for fifteen minutes. pdf and docx carry the letterhead, diagrams and images; xlsx contains the tables with numbers as numbers and NO invented formulas. Always read the returned warnings before passing the link on: placeholder_count says how many «…» gaps the file still shows, and placeholder_in_numbers how many of those sit in a price column — a file that looks like a finished offer and says «Preis netto» somewhere is more dangerous than one that shows its gaps. Exporting the whole Mappe of more than one document prepends a cover page and a table of contents with real page numbers. This tool always exports the dossier view including internal documents; the file a reader gets through a share link is built by the share function itself and never contains them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_dossier"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoDefault pdf.
variantNoWhich template frame from the letterhead profile to use. In vergabeverfahren the answer also lists sentences that conflict with procurement rules — own terms and conditions, a non-binding offer — without changing them.
grant_idNo
max_pagesNoSize limit in pages. Pass together with max_views.
max_viewsNoSize limit from the specification: how many screen views the submission may contain. Only the EFFECTIVE variant of each view goes into the file, so ten views are ten images, not thirty. Checked only when given — 10/15 is this specification, not every one.
tender_idNo
dossier_idNo
document_idNoExport only this one document of the Mappe.
profile_keyNoA letterhead profile other than the tenant's default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: link lifetime (fifteen minutes), the warnings returned with placeholder_count and placeholder_in_numbers and why they matter, cover page and real page numbers for multi-document exports, and the security-relevant fact that the export always includes internal documents while share links never do. It also discloses format-specific behaviour (xlsx has no invented formulas, pdf/docx carry letterhead, diagrams and images). No conflict with readOnlyHint=false or destructiveHint=false.

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 purpose, output and link lifetime, then warnings, then format/variant behaviour. Most sentences earn their place, but the rhetorical aside about a file that says «Preis netto» is more dangerous than one that shows its gaps is persuasive filler that could be trimmed without losing instruction.

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?

For a nine-parameter tool with no required fields and no output schema, the description does the heavy lifting: it explains the returned link and warnings, which is exactly what the missing output schema would otherwise need to convey. What remains thin is how the identifier parameters combine to pick the target and whether there are size or permission prerequisites beyond the optional max_pages/max_views limits.

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?

With 67% schema coverage the description adds real meaning for the two most consequential parameters: format (letterhead/diagram fidelity versus numeric tables) and variant (vergabeverfahren additionally surfaces sentences conflicting with procurement rules without altering them). The three identifier parameters (dossier_id, grant_id, tender_id) are undocumented in both places, leaving a gap about which one selects the target.

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 (render/export) and resource (a Mappe or one document of it) plus the concrete output: a finished file on the tenant's letterhead and a link valid for fifteen minutes. It also explicitly distinguishes itself from the share path ("the file a reader gets through a share link is built by the share function itself"), so an agent can separate this from create_dossier_share or send_dossier without opening a schema.

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?

Gives clear operational guidance: read the returned warnings before passing the link on, use the whole-Mappe export to get a cover page and table of contents, and use the share function instead when the audience is an external reader. It stops short of naming the sibling tools outright or stating exclusions such as when not to export at all (e.g. large dossiers without max_pages).

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