Skip to main content
Glama

veto_diagram

Read-only

Generate Mermaid architecture diagrams for any project. Choose from flowchart, class, sequence, or C4 context, with optional focus on specific areas.

Instructions

Generates a Mermaid architecture diagram of the project. Returns diagram text ready to paste into GitHub, Notion, or any Mermaid renderer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
focusNoOptional — what to focus on (e.g. 'data flow', 'auth', 'API').
project_dirYesAbsolute path to project.
diagram_typeNoDiagram type: 'flowchart' | 'classDiagram' | 'sequenceDiagram' | 'C4Context' (default: 'flowchart').
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the description's claim of generating a diagram is consistent and non-contradictory. The description adds minimal behavioral context beyond this (e.g., no mention of file system access or side effects).

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 a single, front-loaded sentence with no wasted words. It is appropriately concise for its purpose.

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

Completeness5/5

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

Despite lacking an output schema, the description clearly states that the return type is 'diagram text' and its intended usage (paste into renderers). The schema covers all parameters, and no nested objects or enums exist. The tool is simple enough that this description suffices.

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 has 100% description coverage, so the schema already explains parameters like 'focus', 'project_dir', and 'diagram_type'. The description does not add additional meaning or usage guidance for these parameters.

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 a specific verb ('Generates') and resource ('Mermaid architecture diagram of the project'). It distinguishes from sibling tools like 'veto_doc_gen' or 'veto_project_map_get' by focusing on diagram generation.

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 context on output usage ('ready to paste into GitHub, Notion, or any Mermaid renderer'), which implies when to use the output. However, it does not explicitly mention when not to use this tool or suggest alternatives among siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jigyasudham/veto'

If you have feedback or need assistance with the MCP directory API, please join our Discord server