Skip to main content
Glama

vpp_render_sequence

Render a .vpp sequence diagram to PNG from its saved geometry to evaluate layout: lifelines, activations, messages, and loop/alt/opt fragments with conditions.

Instructions

Rysuje diagram sekwencji do PNG z geometrii zapisanej w pliku .vpp (linie życia, aktywacje, komunikaty z numerami i sygnaturami, fragmenty loop/alt/opt z warunkami, ref). To nie jest renderer Visual Paradigm, ale pokazuje te same pozycje, więc wystarcza do oceny układu: gdzie leżą fragmenty, czy etykiety się mieszczą, jak szeroki jest diagram. Zwraca opis i obraz. diagram: nazwa diagramu sekwencji; output_png: gdzie zapisać (domyślnie katalog tymczasowy); scale: np. 0.6 dla dużych diagramów. Wymaga Pillow.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "diagram": "<diagram>"
    },
    "name": "vpp_render_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
scaleNo
diagramYes
output_pngNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden and does add real value: it discloses the fidelity limitation versus the official renderer, states that it returns a description plus an image, and notes the Pillow dependency. However it never says whether output_png is overwritten if it already exists, whether the .vpp file is left untouched, or anything about cost/limits on very large diagrams beyond the scale hint.

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?

Purpose comes first, then the important fidelity caveat, then return value, then per-parameter notes, then the dependency – a well-ordered chain with no filler sentences. Despite running long, every clause adds information an agent needs.

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 4-parameter tool with no annotations and no output schema, the definition covers purpose, fidelity caveat, return shape, defaults, and an external dependency. Remaining omissions are minor (explicit meaning of path, overwrite behavior), though the Polish description against English parameter names/tool IDs could slow an agent slightly.

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?

Schema coverage is 0%, so the description must compensate, and it mostly does: diagram is identified as the sequence diagram name, output_png as the save location with a temp-directory default, and scale gets a concrete usage example ("np. 0.6 dla dużych diagramów"). The required parameter path is only implied by "geometrii zapisanej w pliku .vpp" rather than stated, leaving one gap.

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?

The description opens with a specific verb and resource ("Rysuje diagram sekwencji do PNG") and even enumerates the rendered artifacts (lifelines, activations, numbered/signed messages, loop/alt/opt fragments with conditions, ref). Its narrow sequence-diagram scope implicitly separates it from the generic sibling vpp_render_diagram, though no sibling is named.

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?

It states the intended use case clearly: it is not the Visual Paradigm renderer but reproduces the same positions, so it is sufficient for evaluating layout (where fragments sit, whether labels fit, how wide the diagram is). That gives an agent a solid "use this when" signal, but no explicit "do not use this for final/faithful output, use X instead" routing.

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