Skip to main content
Glama
S-SUJAN-S

antigravity-drawio-mcp

by S-SUJAN-S

generate_smart_diagram

Generate diagrams with automatic layout from nodes, edges, and containers, avoiding manual pixel coordinates.

Instructions

Generate a professionally themed, auto-laid-out diagram without calculating manual pixel coordinates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
edgesYes
nodesYes
themeNomodern_slate
titleNoArchitecture Diagram
containersNo
output_pathYes
layout_directionNoTB

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.2

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. It mentions auto-layout and professional theming, but it does not explain what happens at the output_path, whether existing files are overwritten, how containers affect layout, or what the generated output looks like. For a tool with no annotation safety profile, this is under-disclosed.

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

Conciseness3/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 concise, but it is also under-specified relative to the tool's seven parameters and the rich sibling context, so the brevity comes at the cost of necessary guidance.

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

Completeness2/5

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

This is a seven-parameter tool with no annotations and zero schema description coverage, so the description needs to carry significant weight. It leaves the node/edge/container formats, output behavior, and selection criteria unexplained. The presence of an output schema helps with return values but not with how to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the undocumented parameters. It hints that nodes and edges do not require manual pixel coordinates, but it does not explain output_path, nodes, edges, containers, theme, title, or layout_direction. This adds only minimal parameter-level meaning beyond the raw schema.

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 states a specific verb ('Generate') and a clear object ('diagram') with distinctive traits: professionally themed, auto-laid-out, and no manual pixel coordinates. It is clear about what the tool does, but it does not explicitly distinguish itself from sibling tools like create_diagram or beautify_diagram, so it falls short of full differentiation.

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 phrase 'without calculating manual pixel coordinates' implies this tool is for auto-layout diagram generation, which gives some usage context. However, it provides no explicit when-to-use guidance, no exclusions, and no mention of alternatives among the many sibling diagram tools.

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