Skip to main content
Glama

Server Details

Turns a short text description of classes into a UML class diagram you can print.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.2/5.0

Scored across 2 tools

Disambiguation5/5

The two tools split cleanly along validate-vs-render: check_class_diagram explicitly 'draws nothing and makes no files' while make_class_diagram produces PDF/SVG/CSV/JSON outputs. They share the same input text, but the descriptions make the boundary explicit, so an agent can pick correctly from a phrasing like 'check' vs 'draw'.

Naming Consistency5/5

Both names follow the same snake_case verb_noun pattern on the same object (check_class_diagram, make_class_diagram). No mixing of conventions or verb styles.

Tool Count4/5

Only two tools, which is thin against the typical 3-15 sweet spot, but the domain (class-diagram text in, validation or rendered diagram out) is genuinely narrow and each tool has a distinct role. Nothing appears redundant; a third tool would be needed only if the surface expanded (e.g. retrieve/export an existing diagram).

Completeness4/5

The lifecycle is covered: parse/validate the model text and render it to PDF/SVG/CSV/JSON with geometry and model warnings. Gaps are minor — there is no way to fetch or re-export a previously generated diagram (download links expire) and no edit/transform operation, but core workflows have no dead ends.

Available Tools

2 tools
check_class_diagramCheck class diagram textA
Read-onlyIdempotent
Inspect

Use this when the user wants class diagram text checked without a drawing, for example "check my class diagram for errors" or "are there inheritance cycles in this model". Takes the same text as make_class_diagram. Returns the syntax problems with their line numbers, relations to classes that are not declared, duplicate classes and members, inheritance cycles named class by class, and model warnings (abstract members in a concrete class, a class that inherits from an interface, realization of a class that is not an interface, repeated relations). Draws nothing and makes no files. Does not read source code files.

Inputs: source (required). Returns: ready, shown, counts, errors, +7 more

make_class_diagramMake class diagramA
Read-onlyIdempotent
Inspect

Use this when the user wants a UML class diagram drawn, for example "draw a class diagram of these classes" or "make a PDF of my domain model with inheritance and composition". Takes the diagram text in a strict grammar, a page size and an optional title. Grammar: One item per line. Classes: "class Name {", "interface Name {", "abstract class Name {" or "enum Name {", then one member per line, then "}" on its own line ("class Name" alone declares an empty class; a stereotype may follow the name, e.g. "class Name <> {"). Fields: "+name: Type". Methods: "+name(arg: Type, other: Type): ReturnType". Visibility + public, - private, # protected, ~ package (optional). "{static}" or "{abstract}" before the name marks static or abstract members. Enum constants: one NAME per line. Relations: "Animal <|-- Dog" (inheritance), "Shape <|.. Circle" (realization), "Car -- Wheel" (composition), "Team o-- Player" (aggregation), "Customer --> Order" (association), "Report ..> Printer" (dependency), "A -- B" (link); arrows may point either way (Dog --|> Animal). Optional multiplicities in quotes next to each class and a label after a colon: Customer "1" --> "0.." Order : places. "%%" starts a comment line. Returns counts, the relations in words, model warnings, a geometry check (overlapping classes, lines crossing a class, end markers by relation kind), the PDF page count and smallest text size, an interactive diagram, and PDF, SVG, CSV and JSON downloads. Refuses text that does not fit the grammar, naming the line; refuses relations to classes that are not declared, duplicate members and inheritance cycles; refuses a class whose relation line ends do not fit across one page (each end has its own place on the box edge; about 50 ends on one edge on Letter, more on Tabloid), naming the class. Up to 60 classes and 200 relations. Does not read source code files. Download links of large diagrams expire after about 1 hour.

Inputs: source (required), title, page_size. Returns: pdf, notes, shown, title, +8 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources