Skip to main content
Glama

Export Pdf

export_pdf

Save the current dashboard as a white-label PDF report with a cover page, KPIs, charts, and tables from every module. The complete file is written to app_base/export/dashboard.pdf.

Instructions

Export the current dashboard to a PDF report.

Generates a complete PDF with a cover page (client brand), all KPIs, charts (as images), and tables from every module in the dashboard. The PDF is white-label — it shows only the client's brand, never AgentUI Dash.

The file is saved to app_base/export/dashboard.pdf.

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_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses exactly what the artifact contains (cover page, KPIs, charts as images, tables from every module), the white-label branding behavior, and the on-disk side effect with a concrete output path. It stops short of stating whether an existing file is overwritten, how long generation takes, or any permission requirements.

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?

The purpose is front-loaded in the first line and each subsequent sentence adds concrete detail about the output. The middle enumeration of contents is slightly long, but every item (branding, charts-as-images, all modules) tells the agent something it could not otherwise infer.

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 no-parameter action tool with an output schema, the description is nearly sufficient: it explains the artifact and its location, and the return values are covered by the output schema. The remaining gap is preconditions and overwrite semantics, which matter for an operation that writes a file.

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?

The tool takes zero parameters, so the baseline is 4; there is no parameter meaning for the description to add or omit. The description correctly avoids inventing options that the empty schema does not support.

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?

The description opens with a specific verb and resource ('Export the current dashboard to a PDF report') and immediately scopes it to the active dashboard, which no sibling tool does. An agent can distinguish this from config-building or query siblings without inspecting any 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?

Usage is implied by 'the current dashboard', so the agent knows it acts on whatever dashboard is loaded, but there is no explicit when-to-use or when-not-to-use guidance. Nothing states prerequisites such as needing a created/loaded dashboard or valid config before export will succeed.

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