Skip to main content
Glama
NicoLa5Tor

@nicola5tor/openproject-timelog

by NicoLa5Tor

Generar galería visual de la bitácora

render_gallery

Generate a self-contained HTML gallery of time log entries with stats, group filters, and table, returning a temporary file path to publish via Artifact and avoid token-heavy HTML output.

Instructions

Genera un HTML autocontenido (stats, filtros por grupo y tabla) con las entries de la bitácora y lo escribe en un fichero temporal. Devuelve la ruta del fichero (no el HTML) para publicarla con la tool Artifact, evitando gastar tokens en volcar el HTML en la respuesta.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoTítulo de la galería
statusNoFiltro de estadopending
groupByNoCampo por el que agrupar y colorear las entriesworkPackageId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description discloses important behavioral traits: it writes a temporary file, returns a path instead of the HTML content, and explains why (to save tokens). This covers the main side effects, though it omits details about cleanup or failure modes.

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?

The description is two sentences: the first states the core action and the second explains the return value and rationale. It is front-loaded, concise, and contains no redundant information.

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?

The tool has optional parameters and no output schema, but the description sufficiently conveys its purpose, side effect (temp file creation), and return value (path). It also references the Artifact tool for integration. Minor gaps include lack of prerequisites or error conditions, but overall it is reasonably complete.

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?

The input schema provides 100% coverage with descriptions for all three parameters (title, status, groupBy). The description adds minimal parameter-specific detail beyond mentioning 'filtros por grupo', so it doesn't significantly enhance the schema's meaning.

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 clearly states the tool generates a self-contained HTML document with stats, group filters, and a table from log entries, writes it to a temporary file, and returns the file path. This specific verb ('Genera') and resource ('HTML autocontenido') distinguish it from sibling tools focused on CRUD operations.

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?

The description gives clear usage context by explaining that the returned path is meant to be published with the Artifact tool and justifies this approach by avoiding token costs. While it doesn't explicitly name alternative tools or provide when-not-to-use guidance, the intended use case is well conveyed.

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