Skip to main content
Glama
diagrammo
by diagrammo

generate_report

Create polished HTML reports from DGMO diagrams with table of contents and optional source blocks; opens in browser by default.

Instructions

Generate a polished HTML report with multiple DGMO diagrams, table of contents, and optional source blocks. Opens in browser by default. For DGMO syntax call get_language_reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
openNoOpen the report in the browser
themeNoColor themelight
titleYesReport title
paletteNoColor paletteslate
sectionsYesReport sections, each with a diagram
subtitleNoOptional subtitle
include_sourceNoShow DGMO source in collapsible blocks

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.5
    • changedInput schema / properties / sections / items / properties / dgmo / description
      Previous value: -"DGMO diagram markup. Color a label by appending a lowercase color name as the trailing token (e.g. \"Sales red\"); capitalize (\"Red\") to use a color word as literal text."New value: +"DGMO diagram markup. For syntax call get_language_reference."
  2. Changed1 schema field changedv0.9.1
    • changedInput schema / properties / theme / default
      Previous value: -"dark"New value: +"light"
  3. Changed1 schema field changedv0.2.4
    • changedInput schema / properties / palette / default
      Previous value: -"nord"New value: +"slate"
  4. Addedv0.2.2
  5. Removedv0.1.21
  6. First observedv0.1.13

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false) and open-world behavior, but the description adds specific context: the tool opens the report in a browser by default and produces an HTML report with optional source blocks. This goes beyond the generic openWorldHint, though it doesn't detail file persistence or permissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the core action, followed by a key behavioral note and a helpful cross-reference. Every sentence earns its place with no redundancy.

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 report-generation tool with no output schema, the description covers the output format (HTML report with TOC and diagrams), key behavior (opens in browser), and points to syntax reference. It lacks details on return value (e.g., file path) or file saving location, but the rich schema compensates sufficiently.

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 100%, so the schema fully documents all parameters. The description mentions multiple diagrams, table of contents, and optional source blocks, which loosely map to sections and include_source, but adds no syntax or format details beyond what the schema already provides.

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 states a specific verb (Generate) and resource (HTML report) with key features (multiple DGMO diagrams, table of contents, optional source blocks). It clearly distinguishes this tool from sibling diagram tools like render_diagram or preview_diagram by focusing on multi-section report generation.

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 description only points to get_language_reference for DGMO syntax, which is a sub-task aid rather than guidance on when to use this tool versus alternatives. Usage is implied (for creating reports) but no explicit when/when-not or alternative selection criteria are provided.

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