Skip to main content
Glama
diagrammo
by diagrammo

@diagrammo/dgmo-mcp

DGMO 다이어그램 렌더링을 위한 MCP 서버입니다. Claude Desktop, Claude Code 및 모든 MCP 호환 AI 도구와 함께 작동합니다.

도구

도구

설명

render_diagram

DGMO 마크업을 SVG 또는 PNG로 렌더링

share_diagram

공유 가능한 diagrammo.app URL 생성

open_in_app

Diagrammo 데스크톱 앱에서 다이어그램 열기 (앱이 설치되지 않은 경우 브라우저로 대체)

list_chart_types

지원되는 모든 차트 유형 나열

get_language_reference

DGMO 구문 문서 가져오기

preview_diagram

하나 이상의 다이어그램을 렌더링하고 브라우저에서 HTML 미리보기 열기

generate_report

여러 다이어그램, 목차 및 선택적 소스가 포함된 세련된 HTML 보고서 생성

preview_diagram

하나 이상의 DGMO 다이어그램을 SVG로 렌더링하고 기본 브라우저에서 독립형 HTML 페이지를 엽니다. 이 페이지에는 라이트/다크 테마 토글과 반응형 SVG 레이아웃이 포함되어 있습니다.

매개변수

유형

기본값

설명

diagrams

[{ title?, dgmo }]

(필수)

미리볼 하나 이상의 다이어그램

theme

`'light'

'dark'`

'light'

렌더링된 SVG용 색상 테마

palette

string

'nord'

색상 팔레트

include_source

boolean

false

접기 가능한 블록에 DGMO 소스 표시

단일 다이어그램은 간단한 미리보기 페이지로 렌더링됩니다. 여러 다이어그램은 (3개 이상의 섹션이 있을 경우) 목차가 포함된 보고서 스타일 레이아웃을 생성합니다. 일부 다이어그램 렌더링에 실패하면 성공한 다이어그램이 표시되고 실패한 다이어그램은 오류 자리 표시자가 표시됩니다.

generate_report

세련된 다중 섹션 HTML 보고서를 생성하고 선택적으로 브라우저에서 엽니다. 제목, 선택적 부제목, 자동 생성된 목차, 섹션별 설명 및 타임스탬프 바닥글이 포함됩니다. 프로젝트 분석을 공유 가능한 문서로 묶는 데 적합합니다.

매개변수

유형

기본값

설명

title

string

(필수)

보고서 제목

subtitle

string

—

선택적 부제목

sections

[{ title, description?, dgmo }]

(필수)

각 다이어그램이 포함된 보고서 섹션

theme

`'light'

'dark'`

'light'

렌더링된 SVG용 색상 테마

palette

string

'nord'

색상 팔레트

include_source

boolean

false

접기 가능한 블록에 DGMO 소스 표시

open

boolean

true

브라우저에서 보고서 열기

Related MCP server: drawio

설정

Claude Code

프로젝트의 .claude/settings.local.json에 추가하세요:

{
  "mcpServers": {
    "dgmo": {
      "command": "npx",
      "args": ["-y", "@diagrammo/dgmo-mcp"]
    }
  }
}

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json에 추가하세요:

{
  "mcpServers": {
    "dgmo": {
      "command": "npx",
      "args": ["-y", "@diagrammo/dgmo-mcp"]
    }
  }
}

저장 후 Claude Desktop을 다시 시작하세요. 도구가 자동으로 나타납니다.

개발

pnpm install
pnpm build
pnpm typecheck

../dgmo에 체크아웃된 게시되지 않은 @diagrammo/dgmo를 대상으로 반복하려면, 설치 후 npm이 해결한 종속성을 작업 공간 심볼릭 링크로 재정의하세요:

pnpm install
pnpm link ../dgmo   # symlink node_modules/@diagrammo/dgmo → ../dgmo
pnpm --filter @diagrammo/dgmo build   # ensure dist/ is up to date

pnpm install은 링크를 취소하므로 종속성이 변경되면 pnpm link ../dgmo를 다시 실행하세요.

릴리스

릴리스는 .github/workflows/release.yml을 통해 태그 기반으로 수행됩니다:

  1. 세 파일 모두에서 버전을 업데이트하세요 (정확히 일치해야 하며 워크플로가 검증합니다):

    • package.json → version

    • manifest.json → version

    • server.json → version 및 packages[0].version

  2. 커밋 및 태그 지정:

    git commit -am "Release vX.Y.Z"
    git tag vX.Y.Z
    git push && git push --tags
  3. 워크플로는 타입 체크 + 빌드를 실행하고, 출처와 함께 npm에 게시하며, .mcpb를 번들링하고, GitHub OIDC를 통해 MCP 레지스트리에 게시하며, GitHub 릴리스에 .mcpb를 첨부합니다.

필수 보안 비밀

  • NPM_TOKEN — @diagrammo/* 쓰기 권한이 있는 npm 세분화된 액세스 토큰. 설정 → 보안 비밀 및 변수 → 작업 → 새 리포지토리 보안 비밀.

MCP 레지스트리 인증은 리포지토리가 diagrammo 조직에 있고 서버 네임스페이스가 io.github.diagrammo/*이므로 GitHub OIDC를 자동으로 사용합니다 (토큰 필요 없음).

Available Tools

11 tools
check_app_installedA
Read-only

Check whether the Diagrammo desktop app is installed. Returns a sentence naming the output route the product prefers, plus JSON { installed, paths, platform }. Detection is macOS-only; other platforms always report not installed. The answer does not change within a session, so one call is enough before deciding how to show a diagram: when installed, the preferred route is open_in_app with filePath; otherwise share_diagram.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, it discloses three non-obvious traits: detection is macOS-only with other platforms always reporting not installed, the result is stable within a session so caching is safe, and the return is a prose sentence plus a JSON object with named keys.

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?

Three sentences, front-loaded with the core purpose, then output shape, then the platform caveat and decision rule. No filler and every clause carries actionable information.

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?

With no output schema, the description compensates by naming the return shape (sentence plus { installed, paths, platform }), and it supplies the decision context the agent needs. Nothing required to call it correctly is missing.

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?

This tool takes zero parameters, so there is nothing to document and the baseline is 4. The mention of `filePath` refers to open_in_app's parameter, not this tool's, so it neither helps nor hurts.

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 states a specific verb and resource ('Check whether the Diagrammo desktop app is installed') and immediately distinguishes itself from sibling tools like open_in_app and share_diagram by naming them as the consumers of its result.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use guidance ('one call is enough before deciding how to show a diagram') and a complete decision rule: installed → open_in_app with `filePath`, otherwise → share_diagram. When-not-to-use is implied by the session-stable note, which tells the agent not to call repeatedly.

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

generate_reportA

Generate a polished HTML report with multiple DGMO diagrams, table of contents, and optional source blocks. Opens in browser by default. For DGMO syntax call get_language_reference.

ParametersJSON Schema
NameRequiredDescriptionDefault
openNoOpen the report in the browser
themeNoColor themelight
titleYesReport title
paletteNoColor paletteslate
sectionsYesReport sections, each with a diagram
subtitleNoOptional subtitle
include_sourceNoShow DGMO source in collapsible blocks

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false) and open-world behavior, but the description adds specific context: the tool opens the report in a browser by default and produces an HTML report with optional source blocks. This goes beyond the generic openWorldHint, though it doesn't detail file persistence or permissions.

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?

Three sentences, front-loaded with the core action, followed by a key behavioral note and a helpful cross-reference. Every sentence earns its place with no redundancy.

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 report-generation tool with no output schema, the description covers the output format (HTML report with TOC and diagrams), key behavior (opens in browser), and points to syntax reference. It lacks details on return value (e.g., file path) or file saving location, but the rich schema compensates sufficiently.

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?

Schema description coverage is 100%, so the schema fully documents all parameters. The description mentions multiple diagrams, table of contents, and optional source blocks, which loosely map to sections and include_source, but adds no syntax or format details beyond what the schema already provides.

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 states a specific verb (Generate) and resource (HTML report) with key features (multiple DGMO diagrams, table of contents, optional source blocks). It clearly distinguishes this tool from sibling diagram tools like render_diagram or preview_diagram by focusing on multi-section report generation.

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 description only points to get_language_reference for DGMO syntax, which is a sub-task aid rather than guidance on when to use this tool versus alternatives. Usage is implied (for creating reports) but no explicit when/when-not or alternative selection criteria are provided.

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

get_examplesA

Get example DGMO diagrams for a chart type. Returns real-world examples from the gallery that demonstrate syntax patterns. Use these as few-shot references when generating new diagrams.

ParametersJSON Schema
NameRequiredDescriptionDefault
chart_typeNoChart type to get examples for (e.g. "sequence", "infra", "bar"). Omit to list all available example names.

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It states it returns real-world examples, but does not mention behavior when the parameter is omitted (lists all names) or any read-only implications. Adequate but not fully transparent.

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?

Two short, front-loaded sentences with no redundancy. Every phrase earns its place.

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?

For a tool with one optional parameter and no output schema, the description fully explains purpose, return content, and usage context. Complete for its complexity.

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?

Schema coverage is 100%, so the description does not need to add much. It provides example values and tells to omit for listing names, which adds slight value beyond the schema. Baseline 3 is appropriate.

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 action ('get'), the resource ('example DGMO diagrams for a chart type'), and the purpose ('few-shot references'). It is specific and distinguishes from siblings like generate_report or validate_diagram.

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 explicitly says 'Use these as few-shot references when generating new diagrams,' indicating when to use. It does not explicitly state when not to use or mention alternatives, but the context makes it clear.

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

get_language_referenceA
Read-onlyIdempotent

Get the DGMO language reference. With chart_type, returns that type's section plus the universal rules every diagram follows (the closed color set, titles, categorize-and-color). Without it, returns the entire reference for all chart types, which is very large (hundreds of KB); pass chart_type whenever the type is known. Errors when the type has no documented section — call list_chart_types for the valid ids. suggest_chart_type already appends the chosen type's section, so a call here is only needed after the user picks a type or when switching types.

ParametersJSON Schema
NameRequiredDescriptionDefault
chart_typeNoOptional chart type to get reference for (e.g. "sequence", "flowchart", "bar")

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds genuinely new behavioral context: the no-argument call returns a very large payload (hundreds of KB), an error occurs for undocumented types, and the returned content includes universal rules (color set, titles, categorize-and-color). This is exactly the kind of cost/error/redundancy disclosure annotations cannot carry.

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

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences, front-loaded with the core action before the conditional behavior and the sibling-avoidance note. Every clause carries information; it is slightly long but no sentence is filler.

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?

No output schema exists, so the description must describe return values, and it does: the type section plus universal rules, or the full reference. Error behavior, alternatives, and payload-size trade-offs are all covered, leaving nothing an agent needs to call it correctly.

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 100%, so the baseline is 3; the description goes beyond it by explaining the effect of the parameter (returns that type's section plus universal rules), the consequence of omitting it (entire reference, very large), and the failure mode (errors for undocumented types, ids via list_chart_types). Only the absence of example id syntax keeps it from a 5.

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?

States a specific verb and resource ('Get the DGMO language reference') and precisely scopes the two modes of operation (with vs. without chart_type). It explicitly distinguishes itself from siblings suggest_chart_type and list_chart_types, so an agent can route correctly without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use guidance ('pass chart_type whenever the type is known'), a when-not ('suggest_chart_type already appends the chosen type's section, so a call here is only needed after the user picks a type or when switching types'), and names the fallback tool for error recovery (list_chart_types for valid ids).

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

list_chart_typesA
Read-onlyIdempotent

List all supported DGMO chart types with descriptions.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds minimal behavioral context beyond stating the content (chart types with descriptions). It does not contradict annotations, but it also does not elaborate on traits like return format or error states.

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 sentence of 6 words, conveying the essential purpose without any extraneous information. It is front-loaded and efficient.

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?

Given the simplicity of the tool (no parameters, annotations present, no output schema), the description is largely complete. It informs the agent what the tool does and what content to expect. However, it could hint at the output structure (e.g., 'returns an array of chart type objects with name and description'). Still, it is sufficient for an agent to understand the tool's purpose.

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?

No parameters exist, so schema coverage is 100%. The description adds context by specifying that the list includes descriptions, which adds meaning beyond the empty schema. Baseline for 0 params is 4.

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 'List all supported DGMO chart types with descriptions' clearly states the verb (list), the resource (chart types), and the scope (all supported, with descriptions). It distinguishes from sibling tools like 'suggest_chart_type' which is for recommendations, not listing.

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?

Usage is implied: use to get a list of chart types. However, there is no explicit guidance on when to use versus alternatives such as 'suggest_chart_type', nor any exclusions or prerequisites, so the description lacks clear context for selection.

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

open_in_appA

Open a DGMO diagram in the Diagrammo desktop app (macOS only). Falls back to browser preview if the app is not installed. Pass filePath to open a saved .dgmo file directly — the app opens THAT file, so in-app edits autosave back to it (one editable source of truth, live re-render). This is the preferred path when the app is installed: write the .dgmo source first, then open it here. Omit filePath for an ephemeral diagram (sends a deep link; the app creates its own copy).

ParametersJSON Schema
NameRequiredDescriptionDefault
dgmoYesDGMO diagram markup
filePathNoAbsolute path to an already-saved .dgmo file. When set, the app opens this exact file for live editing instead of receiving a deep-linked copy.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations are minimal (readOnlyHint, destructiveHint, openWorldHint). The description adds critical behavior: macOS only, fallback to browser preview, filePath autosaving and live re-render, and the distinction between ephemeral and persistent 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?

Five sentences, front-loaded with the main action and platform. Every sentence adds essential information without redundancy or filler.

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?

No output schema, but the description explains the two modes and fallback. It covers platform restriction and file persistence. Could mention installation requirement more explicitly, but 'preferred path when app is installed' implies it.

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 100% with descriptions. The description adds value by explaining that filePath opens the exact file for live editing (source of truth) and that dgmo is the markup. This enriches the basic schema definitions.

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 specifies the verb 'open', the resource 'DGMO diagram', and the platform 'macOS only'. It distinguishes from sibling tools like 'preview_diagram' by noting fallback behavior and file handling.

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 provides clear guidance on when to use filePath (for saved files with live editing) vs omit (ephemeral diagram). It implicitly contrasts with preview_diagram as fallback, but does not explicitly list when not to use.

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

preview_diagramA

Render one or more DGMO diagrams and open an HTML preview in the browser. Supports theme toggle and optional source display. For DGMO syntax call get_language_reference.

ParametersJSON Schema
NameRequiredDescriptionDefault
themeNoColor themelight
paletteNoColor paletteslate
diagramsYesOne or more diagrams to preview
include_sourceNoShow DGMO source in collapsible blocks

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint false and openWorldHint true, signaling a non-read-only, external-interacting operation. The description adds that it opens an HTML preview in the browser, which aligns with openWorldHint, but does not clarify permissions, temporary file side effects, or rate limits. It offers modest context beyond the annotations.

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?

Two sentences plus a routing pointer, front-loaded with the primary action and output medium. Every sentence earns its place; the syntax pointer prevents misuse and is not redundant.

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 simple preview tool with full schema coverage and no output schema, the description covers the essential behavior and optional features. It omits usage comparisons, but overall it is complete enough for correct invocation.

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?

Schema description coverage is 100%, so all four parameters are fully documented in the schema. The description mentions theme toggle and optional source display, mapping to theme and include_source, but adds no format or syntax detail beyond what the schema provides. Baseline 3 is appropriate.

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?

States a specific verb ('Render') and resource ('DGMO diagrams'), and names the output medium ('open an HTML preview in the browser'). It does not explicitly distinguish from siblings like render_diagram or open_in_app, but the scope is clear enough for selection.

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?

Provides a pointer for syntax ('call get_language_reference'), which is a prerequisite note rather than when-to-use guidance for this tool. There is no explicit comparison to alternatives like render_diagram, share_diagram, or open_in_app; usage is only implied by the tool name and purpose.

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

render_diagramA
Read-onlyIdempotent

Render DGMO markup to SVG or PNG. Returns SVG text or base64 PNG image. When format is "png", also saves the image to a temp file and returns the path. For DGMO syntax call get_language_reference.

ParametersJSON Schema
NameRequiredDescriptionDefault
dgmoYesDGMO diagram markup. For syntax call get_language_reference.
themeNoColor themelight
widthNoCanvas width in px. Omit to let the diagram size itself from its content. Honoured exactly by the chart types that lay their content out into the canvas (bar, line, pie and the other data charts). A chart that sizes itself from its own nodes — org, sitemap, class, er, infra and the rest of the structured family — cannot go below its content and will return a wider canvas than asked for.
formatNoOutput formatsvg
heightNoCanvas height in px. Most chart types derive height from their content and ignore this; the data charts honour it.
paletteNoColor palette (slate, atlas, blueprint, tidewater, nord, catppuccin, tokyo-night)slate

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the return shape (SVG text vs base64 PNG) and the side effect that PNG format writes a temp file and returns its path. It still doesn't mention failure behavior for invalid markup.

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

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the primary action and output formats, with no filler. The final syntax-pointer sentence is somewhat redundant with the schema's own note but still earns its place as a routing hint.

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?

With no output schema, the description correctly shoulders the return-value burden (SVG text or base64 PNG, plus temp file path). Given six parameters and a rendering operation, the main remaining gap is error/validation behavior, which is minor for a read-only render tool.

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?

Schema description coverage is 100%, including detailed notes on width/height sizing and palette options, so the schema carries the parameter burden. The description only marginally extends this by tying the 'png' format value to the temp-file side effect. Baseline 3 is appropriate.

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?

States a specific verb (Render) and resource (DGMO markup) plus the output formats (SVG or PNG), so an agent knows exactly what the tool produces. It does not, however, differentiate itself from close siblings like preview_diagram or validate_diagram, which an agent might reasonably confuse it with.

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 only routing guidance is 'For DGMO syntax call get_language_reference', which points to a dependency rather than explaining when to pick this tool over preview_diagram or validate_diagram. Usage context is implied by the name but never stated.

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

share_diagramA
Read-onlyIdempotent

Generate a shareable diagrammo.app URL for a DGMO diagram. The source is compressed into the URL fragment, so nothing is uploaded and the link works for anyone who opens it; returns the URL as text. Errors when the compressed source exceeds the URL size limit (the error reports both sizes) — split or simplify the diagram, or use open_in_app / render_diagram instead. The source is not validated here; call validate_diagram first.

ParametersJSON Schema
NameRequiredDescriptionDefault
dgmoYesDGMO diagram markup

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive/closed-world), it discloses that the source is compressed into the URL fragment, nothing is uploaded, the link works for anyone, the return is plain text, and the failure mode reports both sizes. That is substantial behavioral context the annotations alone do not convey.

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?

Three tightly packed sentences with no filler; the purpose, behavior, failure mode, and prerequisite are all front-loaded in a logical order.

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?

With no output schema, the description still covers the return value ('returns the URL as text'), the error behavior, and the validation prerequisite, so an agent has everything needed to call it correctly.

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?

Only one parameter (dgmo), and schema description coverage is 100%, so the schema already documents it. The description refers to 'the source'/'compressed source' but adds no format, encoding, or size-limit specifics beyond what the schema and error text imply — baseline 3 is appropriate.

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?

States a specific verb and resource: 'Generate a shareable diagrammo.app URL for a DGMO diagram.' This is clearly distinct from siblings like validate_diagram, render_diagram, and open_in_app, and the agent can identify the operation without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names alternatives and the conditions selecting them: on size-limit errors, 'split or simplify the diagram, or use open_in_app / render_diagram instead,' and it directs the agent to 'call validate_diagram first' since the source is not validated here. This is genuine when/when-not routing.

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

suggest_chart_typeA

Suggest the best DGMO chart type for a user's plain-English diagram request.

Call this first when creating a new diagram: it ranks the chart types against the request and, on a confident pick, appends that type's language-reference section, so no separate get_language_reference call is needed. It is not needed when editing an existing diagram, whose first line already declares its type.

Returns one of two shapes: (1) a confident pick (high/medium) with the top match's syntax, or (2) an '⚠️ ASK THE USER' result when the choice is ambiguous or nothing matched. On an ASK-THE-USER result, present the listed candidates to the user and wait for their choice before generating, because the request alone does not settle which type they want.

ParametersJSON Schema
NameRequiredDescriptionDefault
promptYesUser's plain-English diagram request

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations present, the description carries the full behavioral burden and does so well: it discloses the hidden side effect of appending the language-reference section, defines both possible return shapes including the '⚠️ ASK THE USER' outcome, and prescribes agent behavior on that outcome. This is well beyond what structured fields provide.

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

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Content is front-loaded with the core purpose and the when-to-call rule, and the result-shape and ASK-THE-USER guidance are placed last where they belong. Slightly dense, but essentially every sentence carries decision-relevant information.

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?

There is no output schema, and the description compensates by spelling out the two return shapes and the required agent action for each. Combined with the explicit when/when-not guidance, an agent has everything needed to call and act on this tool correctly.

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?

Schema description coverage is 100% for the single 'prompt' parameter, so the schema already documents it as the user's plain-English diagram request. The description adds no syntax, format, or length guidance beyond that, so baseline 3 applies.

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 states a specific verb and resource (suggest the best DGMO chart type) and scopes it to a plain-English diagram request. It clearly distinguishes itself from siblings like get_language_reference and list_chart_types by describing what it returns and why a separate reference call is unnecessary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit call-first rule for new diagrams, states the negative case (not needed when editing an existing diagram, whose first line declares its type), and names the alternative it subsumes (get_language_reference). It also tells the agent what to do on an ambiguous result: present candidates and wait for the user.

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

validate_diagramA

Validate DGMO markup without rendering. Returns structured parse errors and warnings. Much faster than render_diagram — use this to check syntax before rendering.

ParametersJSON Schema
NameRequiredDescriptionDefault
dgmoYesDGMO diagram markup to validate

TDQS

A4.5/5.0
Behavior4/5

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

No annotations exist, so the description bears full responsibility. It discloses that the tool does not render and returns structured errors/warnings, and that it is faster. While it doesn't discuss auth or rate limits, these are less critical for a validation tool. A minor omission: it could explicitly state that it does not modify data, but 'without rendering' implies no 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 two concise sentences, front-loads the purpose, and contains no extraneous information. Every sentence adds value.

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?

Given the tool's simplicity (one required parameter, no output schema), the description fully covers what the tool does, when to use it, and what it returns. No gaps remain.

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?

Schema description coverage is 100%: the parameter 'dgmo' is described as 'DGMO diagram markup to validate'. The description adds no additional parameter-level detail beyond the schema. Per guidelines, baseline is 3 when schema coverage is high.

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 verb 'validate' and the resource 'DGMO markup', and specifies it returns structured parse errors and warnings. It effectively distinguishes from sibling tools like render_diagram by noting it does not render.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says to use this tool to check syntax before rendering and mentions it's much faster than render_diagram. This provides clear when-to-use guidance and contrasts with an alternative.

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

Tool Schema Changelog

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

  1. 3 tool updatesv0.29.5
    • Changedgenerate_report1 field changed
      • changedInput schema / properties / sections / items / properties / dgmo / description
        Previous value: -"DGMO diagram markup. Color a label by appending a lowercase color name as the trailing token (e.g. \"Sales red\"); capitalize (\"Red\") to use a color word as literal text."New value: +"DGMO diagram markup. For syntax call get_language_reference."
    • Changedpreview_diagram1 field changed
      • changedInput schema / properties / diagrams / items / properties / dgmo / description
        Previous value: -"DGMO diagram markup. Color a label by appending a lowercase color name as the trailing token (e.g. \"Sales red\"); capitalize (\"Red\") to use a color word as literal text."New value: +"DGMO diagram markup. For syntax call get_language_reference."
    • Changedrender_diagram1 field changed
      • changedInput schema / properties / dgmo / description
        Previous value: -"DGMO diagram markup. Color a label by appending a lowercase color name as the trailing token (e.g. \"Sales red\"); capitalize (\"Red\") to use a color word as literal text."New value: +"DGMO diagram markup. For syntax call get_language_reference."
  2. 1 tool updatev0.29.1
    • Changedrender_diagram2 fields changed
      • addedInput schema / properties / height
        Added value: +{
        +  "description": "Canvas height in px. Most chart types derive height from their content and ignore this; the data charts honour it.",
        +  "exclusiveMinimum": 0,
        +  "type": "integer"
        +}
      • addedInput schema / properties / width
        Added value: +{
        +  "description": "Canvas width in px. Omit to let the diagram size itself from its content. Honoured exactly by the chart types that lay their content out into the canvas (bar, line, pie and the other data charts). A chart that sizes itself from its own nodes — org, sitemap, class, er, infra and the rest of the structured family — cannot go below its content and will return a wider canvas than asked for.",
        +  "exclusiveMinimum": 0,
        +  "type": "integer"
        +}
  3. 1 tool updatev0.17.0
    • Addedrender_diagram
  4. 1 tool updatev0.12.0
    • Removedrender_diagram
  5. 2 tool updatesv0.9.1
    • Changedgenerate_report1 field changed
      • changedInput schema / properties / theme / default
        Previous value: -"dark"New value: +"light"
    • Changedpreview_diagram1 field changed
      • changedInput schema / properties / theme / default
        Previous value: -"dark"New value: +"light"

TDQS

A4.1/5.0

Scored across 11 tools

Disambiguation4/5

Most tools have distinct purposes, but preview_diagram and generate_report both render multiple diagrams and open a browser, creating potential overlap. render_diagram, open_in_app, and share_diagram are clearly differentiated by output medium and use case. The reference/information tools (get_language_reference, list_chart_types, get_examples, suggest_chart_type) are distinct enough in their guidance.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: check_app_installed, get_language_reference, preview_diagram, share_diagram, list_chart_types, open_in_app, render_diagram, get_examples, validate_diagram, generate_report, suggest_chart_type. The minor variation in open_in_app (verb_preposition_noun) does not break predictability.

Tool Count5/5

With 11 tools, the set is well-scoped for a diagramming server. Each tool serves a clear role: discovery, validation, rendering, previewing, sharing, app integration, and reporting. No extraneous or missing tools inflate or thin the surface.

Completeness4/5

The tool surface covers the core diagram lifecycle: type suggestion, reference/examples, validation, rendering, previewing, sharing, and in-app editing. A minor gap is the absence of an explicit file-writing or save-diagram tool, though open_in_app and render_diagram partially address this. Overall, the coverage is strong for the stated domain.

Maintenance

ActivityActive
ResponsivenessSlow

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server that generates Mermaid diagrams with live browser preview, supports real-time rendering and SVG/PNG export.
    13
    -
  • A
    license
    A
    quality
    A
    maintenance
    MCP server for creating and editing diagrams using draw.io. Allows generating diagrams from Mermaid or XML, searching shapes, and opening them in draw.io for export.
    2
    0
    Apache 2.0
  • F
    license
    A
    quality
    C
    maintenance
    MCP server for generating and editing architecture diagrams from natural language or code, supporting formats like Terraform, docker-compose, Kubernetes, SQL, Mermaid, and PlantUML.
    2
    -