Skip to main content
Glama

export_gallery_html

Build a self-contained HTML gallery from generated output images, with no JavaScript or external assets, so PNG results can be shared and viewed in any browser.

Instructions

Crée une galerie HTML autonome, sans JavaScript ni ressource externe, à partir des images du dossier de sortie.

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

Input Schema

NameRequiredDescriptionDefault
nameNoNom du fichier HTML.galerie
filesNoFichiers à inclure. Par défaut : toutes les sorties actives.
titleNoTitre de la page.
file_idsNoSélection par identifiants.
overwriteNoRemplacer une galerie du même nom.
output_dirNoDossier contenant les images et la galerie.
include_htmlNoRenvoyer le HTML dans structuredContent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 burden. It usefully discloses that the gallery is self-contained with no JavaScript or external resources, but for a tool that writes a file to disk it says nothing about side effects, whether (and how) an existing gallery is replaced, permission requirements, or what the call returns.

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 efficient sentence with the key property (autonomous, no JS/external resources) front-loaded and zero filler. It is dense but not padded.

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

Completeness3/5

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

With seven optional parameters and no output schema or annotations, the rich schema carries most of the load, but the description does not explain file-writing side effects or what happens when defaulted options resolve to 'all active outputs'.

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 coverage is 100%, so every parameter including overwrite, file_ids, include_html, and output_dir is already documented in the schema. The description adds no semantics beyond that, which is the baseline for full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and product: creating a self-contained HTML gallery from images in the output folder. The 'HTML autonome, sans JavaScript' phrasing distinguishes it from the render/list siblings, though it never names an explicit alternative for comparison.

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 only implied by the object being produced; there is no statement of when to prefer this over create_contact_sheet, create_timelapse, or manage_outputs, nor any precondition such as needing existing outputs first.

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