Skip to main content
Glama
BV-Venky

excalidraw-architect-mcp

by BV-Venky

Excalidraw Architect MCP

PyPI Cursor Directory License: MIT

익숙하지 않고 복잡한 코드베이스를 이해하려고 노력하는 것은 인지적 과부하를 관리하고 모든 것이 어떻게 맞물려 돌아가는지 상상해야 하기에 끊임없는 고군분투였습니다.

문제점

코드베이스에 온보딩하거나, 새로운 시스템을 설계하거나, 기존 아키텍처를 문서화할 때, 시각적 다이어그램은 수 페이지의 텍스트로는 전달할 수 없는 내용을 단 몇 초 만에 전달합니다. 하지만 오늘날의 선택지들은 그리 좋지 않습니다. Mermaid 다이어그램은 생성하기는 빠르지만 기능이 제한적입니다. 노드를 드래그하여 위치를 변경하거나 컴포넌트를 시각적으로 그룹화할 수 없습니다. Excalidraw는 이러한 문제를 해결하지만, LLM이 Excalidraw를 직접 생성하려고 하면 좌표를 환각(hallucinate)하여 상자가 겹치고 화살표가 엉키며, 결국 다이어그램을 수동으로 수정하게 됩니다.

Related MCP server: sketchboard-excalidraw-mcp

해결책

excalidraw-architect-mcp는 *무엇(what)*과 *어디(where)*를 분리합니다. AI는 구조에 집중하고, 엔진은 적절한 그래프 레이아웃 알고리즘을 사용하여 픽셀 계산을 처리합니다.

LLM이 컴포넌트와 연결을 설명하면, MCP가 적절한 그래프 레이아웃 알고리즘을 사용하여 레이아웃, 스타일링 및 렌더링을 처리합니다. 50개 이상의 기술(Kafka, PostgreSQL, Redis 등)이 자동으로 스타일링되며, 자연어로 다이어그램을 반복적으로 편집할 수 있고("DB 앞에 캐시 추가"), Cursor/Windsurf에서 API 키 없이 완전히 오프라인으로 실행됩니다.

  • 항상 완벽한 레이아웃 - 적응형 간격이 적용된 Sugiyama 알고리즘; 겹치는 상자 없음

  • 아키텍처 인식 스타일링 - "Kafka"라고 말하면 일반적인 직사각형이 아닌 스트림 스타일의 노드를 얻습니다.

  • 다이어그램과 대화 - 자연어를 사용하여 기존 다이어그램의 컴포넌트를 추가, 제거 또는 재연결합니다.

  • 허브 노드 시각화 - 게이트웨이와 로드 밸런서가 연결된 서비스에 맞춰 자동으로 확장됩니다.

  • SVG 및 PNG로 내보내기 - 브라우저 없이도 모든 .excalidraw 파일을 휴대용 이미지로 변환합니다.

작동 방식

아래의 모든 프레임은 수동 위치 지정 없이 이 MCP를 사용하여 AI가 완전히 생성한 것입니다.

전자상거래 플랫폼 아키텍처

E-Commerce Platform Demo

결제 처리 흐름

Payment Processing Flow Demo

사용 사례

  • 새로운 코드베이스 온보딩 - 마이크로서비스를 가리키면 코드 한 줄 읽지 않고도 상위 수준의 아키텍처 다이어그램을 얻을 수 있습니다. 세부 정보가 필요할 때는 클래스 세트를 가리켜 하위 수준의 흐름 다이어그램을 얻으세요.

  • 브레인스토밍 및 시스템 설계 - 새로운 서비스를 화이트보드에 그리거나 트레이드오프를 논의할 때, 진행하면서 아키텍처를 시각화하도록 요청하세요. 처음부터 다시 그릴 필요 없이 "여기에 캐시 추가" 또는 "Kafka를 SQS로 교체"라고 말하여 반복 수정하세요.

  • 살아있는 문서화 - .excalidraw 파일을 저장소에 넣고 시스템이 발전함에 따라 자연어로 업데이트하세요. 6번의 스프린트 전의 낡은 다이어그램은 이제 그만 사용하세요.

빠른 시작

설치

pip install excalidraw-architect-mcp

PNG 내보내기 지원(SVG는 즉시 작동):

pip install excalidraw-architect-mcp[png]

또는 설치 없이 실행(uv 필요):

uvx excalidraw-architect-mcp

IDE에서 MCP 구성

Cursor - .cursor/mcp.json에 추가:

{
  "mcpServers": {
    "excalidraw-architect": {
      "command": "excalidraw-architect-mcp",
      "transport": "stdio"
    }
  }
}

Claude Code - 이 한 줄 명령어를 실행하세요:

claude mcp add-json excalidraw-architect '{"type":"stdio","command":"excalidraw-architect-mcp"}' --scope user

또는 프로젝트 루트의 .mcp.json에 수동으로 추가:

{
  "mcpServers": {
    "excalidraw-architect": {
      "type": "stdio",
      "command": "excalidraw-architect-mcp"
    }
  }
}

Windsurf / 기타 IDE - 동일한 패턴; stdio를 통해 excalidraw-architect-mcp 명령을 가리키세요.

다이어그램 디자인 기술 설치(권장)

이 저장소에는 AI에게 최상의 결과를 얻기 위한 다이어그램 구조화 방법(노드 수 제한, 토폴로지 규칙, 엣지 라벨 가이드라인 및 일반적인 패턴)을 가르치는 Diagram Design Skill이 포함되어 있습니다.

Cursor 사용자:

mkdir -p ~/.cursor/skills/excalidraw-diagram-design && \
curl -o ~/.cursor/skills/excalidraw-diagram-design/SKILL.md \
  https://raw.githubusercontent.com/BV-Venky/excalidraw-architect-mcp/main/.skills/excalidraw-diagram-design/SKILL.md

기타 IDE: SKILL.md 파일을 다운로드하여 IDE의 프롬프트 컨텍스트나 시스템 지침에 추가하세요.

AI는 다이어그램을 생성할 때 자동으로 기술을 습득하고 적용합니다. 노드 제한 조정, 자신만의 패턴 추가, 스타일링 가이드라인 조정 등 선호도에 맞게 규칙을 자유롭게 수정하세요.

다이어그램 복잡성에 대한 참고 사항: 컴포넌트와 연결 수가 증가함에 따라 다이어그램은 읽기 어려워집니다. 이는 자동 레이아웃뿐만 아니라 사람이 직접 그릴 때도 마찬가지입니다. 최상의 결과를 얻으려면 아키텍처 다이어그램은 6-15개 노드, 상세 흐름은 10-25개 노드를 목표로 하세요. 시스템이 더 크다면 모든 것을 하나에 담으려 하지 말고 여러 개의 집중된 다이어그램으로 나누세요.

사용 방법

AI IDE에 자연스럽게 요청하세요:

"이 코드베이스의 상위 수준 아키텍처 다이어그램을 만들어줘"

"API 게이트웨이, 인증 서비스, 사용자 서비스, 주문 서비스, PostgreSQL, Redis 캐시, Kafka 이벤트 버스가 포함된 마이크로서비스 시스템의 아키텍처 다이어그램을 만들어줘"

"이 mermaid 다이어그램을 excalidraw 다이어그램으로 변환해줘"

"상위 수준 아키텍처 다이어그램의 주문 서비스 앞에 캐싱 계층을 추가해줘"

"아키텍처 다이어그램을 SVG로 내보내줘"

"다이어그램을 3배 해상도의 PNG로 내보내줘"

AI는 관계 맵과 함께 MCP 도구를 호출합니다. MCP는 레이아웃, 스타일링 및 출력을 처리합니다. 결과로 생성된 .excalidraw 파일을 Excalidraw VS Code 확장 프로그램으로 열거나 excalidraw.com으로 드래그하세요.

기능

자동 레이아웃 엔진

다음과 같은 Sugiyama 계층 레이아웃 알고리즘을 사용합니다:

  • 적응형 레이어 간격 - 엣지 라벨 길이에 따라 간격 조정

  • 허브 노드 확장 - 게이트웨이/로드 밸런서가 연결된 서비스에 맞춰 확장

  • 장애물 인식 엣지 라우팅 - 화살표가 중간 노드를 통과하지 않고 우회하도록 곡선 처리

  • 연결되지 않은 컴포넌트 스태킹 - 별도의 서브그래프(예: 모니터링 스택)가 겹치지 않게 배치

컴포넌트 라이브러리

자동 시각적 스타일링이 포함된 50개 이상의 기술 매핑:

카테고리

기술

데이터베이스

PostgreSQL, MySQL, MongoDB, DynamoDB, Cassandra, ClickHouse, SQLite, CockroachDB

메시지 큐

Kafka, RabbitMQ, SQS, Redis Streams, NATS

캐시

Redis, Memcached, Varnish

로드 밸런서

Nginx, HAProxy, ALB/ELB, Traefik, Envoy

컴퓨팅

Docker, Kubernetes, Lambda, ECS, Fargate

스토리지

S3, GCS, Azure Blob, MinIO

API

REST, GraphQL, gRPC, WebSocket

CDN

CloudFront, Cloudflare

모니터링

Prometheus, Grafana, Datadog, ELK

클라이언트

Browser, Mobile, Desktop, CLI

상태 유지 편집

다이어그램 메타데이터가 .excalidraw 파일에 포함되어 있습니다. AI에게 요청하세요:

"기존 다이어그램의 데이터베이스 앞에 Redis 캐시를 추가해줘"

MCP가 현재 상태를 읽고, 수정을 적용한 뒤 적절한 레이아웃으로 다시 렌더링합니다.

Mermaid 변환

이미 Mermaid 순서도가 있나요? 변환하세요:

"이 Mermaid 다이어그램을 Excalidraw로 변환해줘" (Mermaid 구문 붙여넣기)

이미지 내보내기

모든 .excalidraw 다이어그램을 휴대용 이미지로 내보내세요. 브라우저, Excalidraw 앱 또는 Node.js가 필요하지 않습니다.

  • SVG - 추가 종속성 없음; 직사각형, 타원, 다이아몬드, 텍스트(다중 라인 포함), 화살촉이 있는 화살표를 처리하는 순수 Python 렌더러 사용

  • PNG - 선택적 cairosvg 패키지 필요 (pip install excalidraw-architect-mcp[png]); 구성 가능한 해상도 배율 지원(기본값 2배)

"아키텍처 다이어그램을 SVG로 내보내줘"

MCP 도구

도구

설명

create_diagram

구조화된 노드/연결 데이터로 새 다이어그램 생성

mermaid_to_excalidraw

Mermaid 순서도 구문을 .excalidraw로 변환

modify_diagram

기존 다이어그램의 노드 및 연결 추가/제거/업데이트

get_diagram_info

현재 다이어그램 상태 읽기 (수정 전 호출)

export_diagram

.excalidraw를 SVG 또는 PNG 이미지로 내보내기

기여

자세한 내용은 CONTRIBUTING.md를 참조하세요.

라이선스

MIT - LICENSE 참조.

Available Tools

26 tools
create_diagramA

Create a new Excalidraw diagram of any supported type.

Two input modes:

  1. Graph types (architecture, flowchart) - pass nodes and connections. The tool handles layout, styling, and rendering; no coordinates needed.

  2. Typed diagrams (every other type) - pass diagram_type and a spec object shaped for that type. Call list_diagram_types to choose a type and get_diagram_schema to see its spec shape.

ParametersJSON Schema
NameRequiredDescriptionDefault
specNoType-specific payload. Required for every type other than architecture/flowchart. Every spec accepts optional "title" and "subtitle". Mark 1-2 elements ``"focal": true`` to earn the accent color - marking five erases the signal.
nodesNoGraph types only. List of nodes. Each dict has: - id (str, required): Unique identifier - label (str, required): Display text - component_type (str, optional): Technology name for auto-styling (e.g., "kafka", "postgresql", "redis", "nginx", "kubernetes"). If omitted, the label is used for auto-detection. - shape (str, optional): Override shape - "rectangle", "diamond", "ellipse", "circle", "stadium", "parallelogram"
themeNoColor theme - "default", "dark", "colorful". Default: "default"default
directionNoLayout direction for graph types - "LR" (left-right), "TD" (top-down), "BT" (bottom-up), "RL" (right-left).LR
connectionsNoGraph types only. List of connections. Each dict has: - from_id (str, required): Source node id - to_id (str, required): Target node id - label (str, optional): Edge label text - style (str, optional): "solid", "dashed", "dotted", "thick"
output_pathYesFile path to save the .excalidraw file (e.g., "./arch.excalidraw")
diagram_typeNoOne of the types from ``list_diagram_types``. Default "architecture". Pick the type that matches what the reader needs to learn, not the one that is easiest to fill in.architecture

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It reveals that the tool handles layout, styling, and rendering automatically for graph types, that specs accept title/subtitle and focal elements, and that marking five focal elements erases the effect. It does not mention file overwrite behavior or permissions, but the creation semantics and return expectations are reasonably 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?

The description is front-loaded with the core purpose and then uses two clearly labeled bullets for input modes. It is compact, well-structured, and every sentence contributes either to mode selection or to the required discovery workflow.

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 7 parameters, no annotations, and an available output schema, the description is complete enough to guide correct invocation. It identifies required payloads per mode, points to the type-list and schema tools for dynamic discovery, and leaves return-value concerns to the output schema.

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 adds value by framing the conditional parameter groups (nodes+connections for graph types, diagram_type+spec for typed diagrams) and explaining what the agent must supply before calling. This mode-conditional interpretation is not as obvious from the schema alone.

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 opening sentence names a specific verb and resource: 'Create a new Excalidraw diagram of any supported type.' The two-mode breakdown (graph types vs typed diagrams) makes the scope precise and distinguishes it from sibling operations like modify_diagram, export_diagram, and mermaid_to_excalidraw.

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 explicit mode-selection guidance: pass nodes/connections for architecture/flowchart, or diagram_type+spec otherwise, and directs the agent to list_diagram_types and get_diagram_schema to fill in type-specific details. It does not explicitly contrast with siblings like modify_diagram or mermaid_to_excalidraw, but the usage context for this tool is clear.

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

export_diagramA

Export an .excalidraw file to SVG or PNG image.

Converts an existing .excalidraw diagram into a portable image file without requiring a browser or the Excalidraw application.

ParametersJSON Schema
NameRequiredDescriptionDefault
scaleNoResolution multiplier for PNG output (default 2.0 = 2×). Has no effect on SVG output.
formatNoOutput format - "svg" (default) or "png". PNG export requires the cairosvg package (``pip install cairosvg``).svg
input_pathYesPath to the source .excalidraw file.
output_pathYesDestination file path (e.g., "./arch.svg" or "./arch.png").

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It mentions the conversion process and that no external app is needed, but does not disclose if the input file is modified, error handling, or permission requirements. Basic but not thorough.

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 concise sentences that front-load the core function. No excess words or 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?

With an output schema present, return values are assumed documented. The description covers the primary use case and parameters adequately. Slight missing detail about failure modes, but sufficient for a conversion 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?

Input schema covers all parameters with descriptions (100% coverage). The description adds minimal new information beyond the schema, mainly restating the purpose. 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 (export), the resource format (.excalidraw), and the output formats (SVG/PNG). This distinguishes it from sibling tools like create_diagram or modify_diagram.

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 implies usage for generating portable images without browser/Excalidraw, but does not explicitly compare with siblings or state when not to use (e.g., for editing). It provides implicit context but lacks clear directives.

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

get_diagram_infoA

Get a structured summary of an existing Excalidraw diagram.

Call this BEFORE modify_diagram to understand what nodes and connections currently exist. The summary includes node ids, labels, component types, and the full connection topology.

ParametersJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to the .excalidraw file.

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

Discloses that the tool provides node ids, labels, component types, and connection topology, implying a read-only operation. No annotations exist, but the description sufficiently covers expected behavior.

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, front-loaded with purpose and usage. No superfluous information; every word contributes 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 output schema exists, the description appropriately lists the summary contents (node ids, labels, etc.) and provides sufficient context for a single-parameter read 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 coverage is 100% with a clear description for file_path. The tool description adds no additional parameter details beyond confirming the file is an existing Excalidraw diagram, meeting the baseline.

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 tool retrieves a structured summary of an existing Excalidraw diagram, distinguishing it from siblings like 'create_diagram', 'modify_diagram', and 'mermaid_to_excalidraw'.

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?

Explicitly advises calling this tool BEFORE modify_diagram to understand current state. While it doesn't specifically exclude other scenarios, the context is clear for appropriate use.

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

get_diagram_schemaA

Get the JSON schema and selection guidance for one diagram type.

Call this before passing a spec to create_diagram for a type you have not used yet, so the payload matches on the first attempt.

ParametersJSON Schema
NameRequiredDescriptionDefault
diagram_typeYesA type name from list_diagram_types (e.g. "sequence", "pyramid", "bar", "swimlane").

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It clearly indicates this is an informational retrieval operation via 'Get', states what is returned (JSON schema and selection guidance), and implies no side effects. It does not mention error or auth behavior, but for a simple schema-lookup tool the transparency is adequate.

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 sentences with no filler. The first sentence defines the tool's purpose, and the second provides actionable usage context. Every sentence earns its place, and the most important information is front-loaded.

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 a single well-documented parameter and an output schema present, the description does not need to enumerate return fields. It gives the essential workflow context and names the relevant sibling tool. Nothing critical is missing for an agent to correctly select and invoke this 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%, and the diagram_type parameter already includes examples and a pointer to list_diagram_types. The tool description adds context about the parameter's role in constructing a spec but does not substantially extend the schema's parameter documentation. 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 states a specific verb ('Get'), a clear resource ('JSON schema and selection guidance for one diagram type'), and scopes it to a single diagram type. This makes it easy to distinguish from siblings like list_diagram_types and create_diagram.

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 gives explicit usage direction: call this before passing a spec to create_diagram for a type not yet used. It ties the tool to a concrete workflow and explains the benefit (payload matches on the first attempt), leaving no ambiguity about when to invoke it.

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

kg_add_serviceB

Add or update a service in the knowledge graph.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesUnique service identifier (stable; reused across diagrams).
tagsNoArbitrary tags.
labelNoDisplay name (defaults to id).
linksNoRelated URLs (ADRs, runbooks, dashboards).
ownerNoOwning team or person (e.g. "@payments").
shapeNoShape override (rectangle/diamond/ellipse/circle/stadium/parallelogram).
domainNoBounded-context / team / tier this service belongs to.
graph_pathNoKnowledge file path..claude/architecture.md
descriptionNoFree-text description.
component_typeNoTechnology for auto-styling (e.g. "postgresql", "kafka").

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.1/5.0
Behavior2/5

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

No annotations provided, so description carries full burden. It only says 'add or update' but does not disclose idempotency, merge behavior, side effects, permissions, or error handling. The mutation behavior is implied but not explained.

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?

Single sentence, efficient and front-loaded with purpose. However, overly concise given tool complexity; could benefit from brief behavioral notes.

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?

Complex tool with 10 parameters and output schema not described. No information about return value, format, or what 'add or update' means for existing services. Given richness of schema, more context expected.

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 parameters are well-documented in schema. Description adds no extra meaning 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?

Description clearly states 'Add or update a service in the knowledge graph.' The verb 'add or update' and resource 'service' are specific. Sibling tools include kg_remove_service, kg_link, etc., making the tool's role distinct.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs alternatives. No mention of prerequisites, when not to use, or scenarios for adding vs updating. Sibling tools exist but are not referenced.

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

kg_diffB

Show how the architecture changed since a git ref (default HEAD).

Compares the current knowledge file against its version at ref.

ParametersJSON Schema
NameRequiredDescriptionDefault
refNoHEAD
graph_pathNo.claude/architecture.md

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description must disclose behavior. It states that the tool compares the current file against a version at a git ref, implying a read-only operation. However, it does not explicitly confirm safety, permissions, or side effects. With an output schema present, the behavior is partially communicated.

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, both front-loaded with the key purpose and a clarifying follow-up. Every word adds value, no redundancy. The structure is optimal for quick parsing.

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

Completeness3/5

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

Given the existence of an output schema (not shown but present), the description covers the core functionality. However, it lacks details on parameter roles, comparison scope, and when to use it over similar tools. For a tool with an output schema and many siblings, more context would help decision-making.

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%, meaning the schema provides no explanations for parameters. The description does not elaborate on 'ref' or 'graph_path' beyond their defaults. It fails to add meaning or context for how these parameters affect the diff, leaving the agent to infer from defaults.

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 clearly states the tool's purpose: 'Show how the architecture changed since a git ref'. It specifies the resource (architecture) and action (show diff). While it doesn't explicitly differentiate from sibling tools like kg_drift, the git ref mechanism is distinct enough to imply its use case.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives such as kg_drift or kg_info. There is no mention of prerequisites, when not to use, or expected contexts. The description only mentions defaults but no usage scenarios.

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

kg_driftA

Detect drift between the declared architecture and Python imports under code_root.

Best-effort: treats each top-level package as a service and infers edges from imports. Reports undocumented and possibly-stale dependencies.

ParametersJSON Schema
NameRequiredDescriptionDefault
code_rootYes
graph_pathNo.claude/architecture.md

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description must disclose all behavioral traits. It mentions 'best-effort' implying non-guaranteed correctness, and that it reports 'possibly-stale dependencies' and 'undocumented' edges. However, it does not disclose side effects, system modifications, required permissions, or the nature of the output beyond the mention of reports. The output schema exists but is not provided, so the description partially but incompletely covers behavior.

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?

The description is brief (two short paragraphs) with front-loaded purpose. The first sentence defines the tool, the second adds method details. No redundant information. It could be more structured but remains efficient.

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

Completeness3/5

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

Given the complexity of drift detection, the description explains the method (best-effort, treats top-level packages as services, infers edges) and what is reported (undocumented, possibly-stale dependencies). However, it does not explain prerequisites (e.g., existence of architecture file), output format (though output schema exists but not provided), or error handling. It is somewhat complete but leaves gaps.

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 0% description coverage, so the description must compensate. It provides context for code_root (directory to scan) and implicitly for graph_path (architecture file) via 'Detect drift between declared architecture and Python imports' and the default value. However, it does not explicitly link parameter names to their roles or describe the format expected. This is adequate but not excellent.

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 tool detects drift between declared architecture and Python imports, specifying the action ('detect'), the resource ('drift between declared architecture and Python imports'), and the scope ('under code_root'). This distinct purpose differentiates it from siblings like kg_diff (diff) and kg_lint (linting).

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 explains the method (best-effort, treats top-level packages as services, infers edges from imports) and what it reports (undocumented and possibly-stale dependencies), which helps understand usage context. However, it lacks explicit guidance on when to use this tool vs alternatives like kg_diff or kg_lint, and does not mention prerequisites or limitations.

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

kg_exportC

Export the knowledge graph to another format.

ParametersJSON Schema
NameRequiredDescriptionDefault
formatNo"mermaid", "dot" (Graphviz), or "json".mermaid
graph_pathNo.claude/architecture.md
output_pathNoIf given, write to this file; otherwise return the text.

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations provided, the description must disclose behavioral traits, but it only says 'export,' which implies a non-destructive read. It does not mention whether the tool modifies the graph, handles errors, or has side effects, leaving significant gaps in understanding.

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 extremely concise (one sentence), which is good for conciseness, but it sacrifices clarity and structure. It is front-loaded but lacks any supplementary details that would improve usability.

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?

Given the tool's complexity (many siblings, no annotations, 3 parameters), the description is incomplete. Although an output schema exists, the description does not explain the tool's role in a workflow, what triggers it, or how it relates to other knowledge graph tools.

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?

The schema coverage is 67% (format and output_path have descriptions, graph_path is missing). The description adds no extra meaning about the parameters; it merely restates the tool's purpose. An agent must rely solely on the schema for parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'Export the knowledge graph to another format,' which clearly identifies the action (export) and resource (knowledge graph), but it is vague about what 'another format' entails. It distinguishes from siblings like kg_import and kg_render, but lacks specificity about the output formats, which are only detailed in 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 Guidelines2/5

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

The description provides no guidance on when to use this tool versus its many siblings (e.g., kg_import, kg_render, export_diagram). There is no mention of context, prerequisites, or alternatives, making it difficult for an AI agent to select appropriately.

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

kg_importB

Import an existing .excalidraw diagram's services into the knowledge graph.

Bootstraps the graph from diagrams you already created with this tool.

ParametersJSON Schema
NameRequiredDescriptionDefault
graph_pathNo.claude/architecture.md
excalidraw_pathYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description must cover behavioral aspects. It mentions importing services and bootstrapping but does not disclose side effects (e.g., overwriting existing data, error handling, or auth requirements).

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?

The description is concise (two sentences) with no wasted words. However, it could be slightly more informative without sacrificing conciseness.

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?

Given the tool's complexity (importing a diagram into a knowledge graph), the description is incomplete. It does not explain what 'importing services' entails, what the output is, or potential error cases.

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

Parameters1/5

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

Schema coverage is 0%, but the description adds no meaning for the parameters (excalidraw_path, graph_path). It does not explain expected formats or how they affect behavior.

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 (import), the resource (existing .excalidraw diagram), and the target (knowledge graph). It distinguishes from sibling tools like create_diagram and export_diagram.

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 'Bootstraps the graph from diagrams you already created with this tool' implies a specific use case, but it does not explicitly state when to use vs. alternatives or 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.

kg_infoA

Summarize the whole knowledge graph: services, domains, and topology.

Call this before mutating the graph to reason about current state.

ParametersJSON Schema
NameRequiredDescriptionDefault
graph_pathNo.claude/architecture.md

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.9/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. Indicates a read operation ('summarize'), but lacks details on permissions, side effects, or output size. Adequate for a simple info tool.

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?

Extremely concise with two sentences. Front-loaded with the main purpose, no wasted words.

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?

Has an output schema (not shown), so description does not need to detail return values. Explains when to use and what it does, sufficient for a simple tool with one optional parameter.

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 coverage is 0% with no description for 'graph_path'. The tool description does not mention the parameter, leaving its purpose and usage ambiguous. Does not add value beyond the schema.

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?

Clearly states the verb 'summarize' and the resource 'knowledge graph', specifying aspects like services, domains, and topology. Differentiates from sibling tools like kg_add_service or kg_diff by indicating it's an overview tool.

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?

Explicitly advises calling this tool before mutations to reason about current state, providing clear context for use. Does not explicitly mention alternatives but gives a strong usage cue.

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

kg_initB

Create a new architecture knowledge graph file (markdown).

The knowledge graph is the persistent source of truth for your system's services and dependencies. Diagrams are rendered from it.

ParametersJSON Schema
NameRequiredDescriptionDefault
titleNoHuman title for the architecture.System Architecture
directionNoDefault layout direction for rendered views (LR/TD/BT/RL).LR
overwriteNoReplace an existing file if present.
graph_pathNoWhere to store the knowledge file. Default ``.claude/architecture.md``..claude/architecture.md

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions overwriting but does not disclose whether creation is destructive to existing files (beyond overwrite), side effects, or required permissions. Lacks details on concurrency or failure modes.

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?

The description is brief with two main sentences and a third about rendering. It is front-loaded with the primary action. The third sentence is mildly extraneous but does not detract.

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?

Despite having an output schema (not shown), the description does not mention what the tool returns or what happens after creation (e.g., confirmation, path). For a tool that creates a file, this is a notable gap.

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 description adds no extra meaning beyond the input schema, which already covers all four parameters with descriptions. Schema coverage is 100%, so 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 tool creates a new knowledge graph file (markdown) with a specific verb and resource. It distinguishes from siblings like kg_add_service (adds a service) and kg_lint (lints), which are different operations.

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 implies that the knowledge graph is a persistent source of truth and that diagrams are rendered from it, but it does not explicitly state when to use this tool vs alternatives (e.g., kg_import for importing an existing graph) or when not to use overwrite.

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

kg_lintA

Architecture health check: cycles, single points of failure, orphans, dangling references, and (optionally) unowned services.

ParametersJSON Schema
NameRequiredDescriptionDefault
graph_pathNo.claude/architecture.md
check_ownersNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It lists what is checked but does not state whether the tool is read-only, modifies state, requires prerequisites, or has side effects. The lack of behavioral disclosure is a gap.

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?

A single sentence that front-loads the purpose and lists specific checks. Every word earns its place; no extraneous content.

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 two parameters, no annotations, but an output schema exists, the description adequately explains what the tool does and what it checks. However, it misses details like output format or whether initialization is required, but overall it is fairly complete for a lint 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 coverage is 0%, so the description must compensate. It mentions 'optionally unowned services,' which maps to check_owners, but does not explain graph_path. Some meaning is added for one parameter, but graph_path remains undefined.

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 it performs an 'Architecture health check' and lists specific issues (cycles, single points of failure, orphans, dangling references, unowned services). This verb+resource combination distinguishes it from sibling tools like kg_add_service or kg_render.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs. alternatives like kg_drift or kg_diff. The description only implies usage for architecture health checking, but does not provide criteria or exclusions.

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

kg_onboarding_docC

Generate a human onboarding guide (entry points, hubs, domains) from the graph.

ParametersJSON Schema
NameRequiredDescriptionDefault
graph_pathNo.claude/architecture.md
output_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations provided, the description has full responsibility for behavioral disclosure. It implies a non-destructive read operation ('generate'), but does not explicitly state whether it modifies the graph, requires permissions, or has side effects. Minimal transparency leaves the agent guessing.

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

Conciseness2/5

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

The description is a single sentence, but it is vague and omits critical information. It does not earn its place because it fails to convey how to use the tool effectively. True conciseness would include parameter context or usage hints.

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

Completeness1/5

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

Given the tool has 2 parameters with no schema descriptions and no annotations, the description is severely incomplete. It does not explain the parameters or the output format, and the presence of an output schema does not compensate for missing invocation guidance.

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

Parameters1/5

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

Schema description coverage is 0%, yet the description adds no explanation for the two parameters ('output_path' and 'graph_path'). Neither the purpose nor formatting of these parameters is clarified, leaving the agent without necessary invocation details.

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 clearly states the action ('Generate') and the resource ('human onboarding guide (entry points, hubs, domains) from the graph'). It distinguishes the tool's purpose from siblings like 'kg_render' or 'kg_lint', which focus on different outputs. However, it could explicitly differentiate from other kg tools that also generate content from the graph.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. The description does not mention prerequisites, context, or when not to use it. Sibling tools like 'kg_render_domain' or 'kg_info' might overlap, but no comparison is provided.

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

kg_pathC

Trace the shortest dependency path between two services.

ParametersJSON Schema
NameRequiredDescriptionDefault
to_idYes
from_idYes
graph_pathNo.claude/architecture.md

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.9/5.0
Behavior2/5

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

Behavior is implied but not detailed: e.g., what happens if no path exists, how cycles are handled, or what format the path returns. No annotations exist to supplement.

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?

Extremely concise single sentence with no waste, but it sacrifices detail that could be added without expanding length.

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?

Despite having an output schema, the description lacks context on ID types, graph_path default, and error handling. Incomplete for a tool with many siblings and no schema comments.

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 has 0% description coverage; description only hints at 'two services' (from_id, to_id) but does not explain graph_path or parameter formats beyond the schema defaults.

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 'Trace' and the resource 'shortest dependency path between two services', which distinguishes it from sibling tools like kg_link or kg_info.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs alternatives such as kg_info or kg_render. No exclusion criteria or prerequisites mentioned.

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

kg_remove_serviceC

Remove a service and all dependencies touching it.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
graph_pathNo.claude/architecture.md

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions the removal of dependencies, but lacks details on reversibility, side effects, permission requirements, or what happens to links. For a destructive tool, this is insufficient.

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

Conciseness2/5

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

The description is very short (one sentence), which is concise, but it omits crucial information. It does not earn its place because it fails to add significant value beyond the tool name.

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?

Given the destructive nature of the tool and the absence of annotations, the description is inadequate. It does not explain the output, the impact on dependencies, or any safety considerations. An output schema exists but no reference to it.

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

Parameters1/5

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

Schema description coverage is 0%, meaning no parameters are described in the schema. The description does not explain the 'id' or 'graph_path' parameters, their formats, or how they affect behavior. This fails to compensate for the lack of schema documentation.

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 (remove) and the target (service), and adds specificity by mentioning 'all dependencies touching it'. This distinguishes it from sibling tools like kg_add_service or kg_unlink.

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 implies usage for removing services, but provides no guidance on when to use it versus alternatives like kg_unlink, or any prerequisites or conditions. The context is implied, not explicit.

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

kg_renderC

Render the entire architecture to an .excalidraw file.

ParametersJSON Schema
NameRequiredDescriptionDefault
themeNodefault
graph_pathNo.claude/architecture.md
output_pathYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It only states a high-level action without explaining what 'render' entails, whether it overwrites files, or any side effects. Does not mention the output schema or return behavior.

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 sentence, very concise, but it sacrifices necessary details. While front-loaded with the main action, it lacks parameter information and usage context.

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?

Given the tool has three parameters, no annotations, and many sibling tools for granular rendering, the description is incomplete. It does not explain the output format details, theme options, or graph_path usage. An output schema exists but is not referenced.

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

Parameters1/5

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

Schema description coverage is 0%, meaning the schema provides no parameter explanations. The description fails to add any meaning to the three parameters (output_path, theme, graph_path), leaving the agent unaware of acceptable values or defaults.

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 ('Render'), the resource ('entire architecture'), and the output format ('.excalidraw file'). It distinguishes from siblings like kg_render_around, kg_render_domain, and kg_render_view by specifying 'entire architecture'.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like kg_render_view or kg_render_domain. No context about prerequisites or when not to use it.

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

kg_render_aroundB

Render a service plus everything within depth hops of it.

direction: "downstream" (its dependencies), "upstream" (its dependents), or "both".

ParametersJSON Schema
NameRequiredDescriptionDefault
depthYes
themeNodefault
directionNoboth
graph_pathNo.claude/architecture.md
service_idYes
output_pathYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.2/5.0
Behavior2/5

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

No annotations provided, so description carries full burden. It mentions direction parameter but does not disclose side effects (e.g., file creation/modification), permissions, or return format. The output schema exists but description does not leverage it.

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?

The description is very short and front-loaded with purpose. However, it could be more structured to include parameter summaries. Two sentences with backtick formatting are clean.

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?

Given 6 parameters (3 required) and an output schema, the description is too sparse. It does not explain how 'depth' and 'hops' work, nor the output behavior. Incomplete for a tool with moderate complexity.

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 coverage is 0% — the description only explains the 'direction' parameter values. Other 5 parameters (service_id, depth, output_path, theme, graph_path) are undefined. The description adds minimal meaning beyond schema.

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 'Render' and the resource 'a service plus everything within depth hops of it'. It distinguishes from similar siblings like kg_render (probably single service) and kg_render_domain.

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 implies usage for rendering a service and its neighbors, but does not provide explicit when-to-use or when-not-to-use guidance compared to siblings. No alternatives or exclusions mentioned.

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

kg_render_domainC

Render only the services belonging to one domain.

ParametersJSON Schema
NameRequiredDescriptionDefault
themeNodefault
domainYes
graph_pathNo.claude/architecture.md
output_pathYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.8/5.0
Behavior2/5

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

No annotations provided. Description does not disclose behavioral traits (e.g., if rendering is read-only, output format, side effects). Minimal insight beyond the action.

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?

Single short sentence is concise but lacks structure (e.g., no breakdown of parameters or usage flow). Acceptable for a simple tool but misses opportunity to add value.

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

Completeness1/5

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

With 4 parameters, no schema descriptions, no annotations, and many sibling tools, the description is far too sparse. Missing parameter details, behavioral info, and output context.

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

Parameters1/5

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

Schema description coverage is 0%, yet description adds no parameter meaning. 'domain' and 'output_path' are required but unexplained; 'theme' and 'graph_path' are entirely opaque.

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?

Verb 'render' and resource 'services belonging to one domain' are specific. Clear distinction from siblings like 'kg_render' (likely all services) and 'kg_render_around'.

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?

Implicitly suggests use when only a subset (one domain) is needed, but no explicit when-to-use, when-not-to-use, or alternatives mentioned.

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

kg_render_viewC

Render a focused diagram of just the given services (induced subgraph).

ParametersJSON Schema
NameRequiredDescriptionDefault
themeNodefault
node_idsYes
graph_pathNo.claude/architecture.md
output_pathYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose side effects (e.g., file creation at output_path), authentication needs, rate limits, or whether the tool is read-only. The single sentence only describes the output, not behavior.

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?

The description is a single, front-loaded sentence with no redundancy. It efficiently conveys the core purpose. However, it could be expanded slightly to improve completeness without losing conciseness.

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?

Despite having an output schema (not shown), the description is insufficient for a 4-parameter tool with no annotations. Missing parameter details and usage context make it hard for an agent to invoke correctly.

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

Parameters1/5

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

Schema description coverage is 0%, meaning no parameter descriptions exist in the schema. The description adds minimal meaning: 'given services' hints at node_ids, but nothing about output_path, theme, or graph_path. Required parameter output_path is unexplained.

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 uses a specific verb 'Render' and identifies the resource as 'focused diagram of just the given services (induced subgraph)'. This clearly differentiates from sibling tools like kg_render (likely renders full graph) and kg_render_around (renders around a node).

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives like kg_render, kg_render_around, or create_diagram. The description only implies input via node_ids but does not explain when an induced subgraph is appropriate.

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

kg_set_domainC

Assign a service to a domain (optionally set the domain's display label).

ParametersJSON Schema
NameRequiredDescriptionDefault
labelNo
domainYes
graph_pathNo.claude/architecture.md
service_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are provided, so the description must disclose behavioral traits. It does not mention side effects, permissions, overwriting behavior, or what happens to existing associations, leaving critical unknowns.

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

Conciseness2/5

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

The description is a single sentence with no waste, but it is under-specification rather than conciseness. Important details are omitted, making it insufficiently informative.

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

Completeness1/5

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

Given no annotations, 4 parameters, and an existing output schema, the description is extremely incomplete. It does not explain the return value or any behavioral consequences, leaving the agent with insufficient context.

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

Parameters1/5

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

Schema description coverage is 0%. The description only hints at 'service', 'domain', and 'label', but fails to explain service_id format, graph_path purpose, or any constraints (e.g., domain string pattern). Four parameters are barely documented.

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 clearly states the action: assigning a service to a domain, with an optional label. It is specific about the verb and resource, but does not differentiate from sibling tools like kg_link or kg_render_domain.

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

Usage Guidelines2/5

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

No guidance on when to use this tool vs alternatives. There is no mention of prerequisites, context, or exclusions, leaving the agent without decision support.

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

list_diagram_typesA

List every supported diagram type with guidance on when to use it.

Call this BEFORE create_diagram when the right diagram type isn't obvious. Picking the wrong type is the most common way a diagram fails - a swimlane drawn as a flowchart loses the handoffs that were the point.

Two rules worth applying whatever you pick:

  • Target density ~4/10. Above 9 nodes it is probably two diagrams.

  • Mark only 1-2 elements "focal": true. The accent color is a signal, and using it everywhere destroys it.

Returns: A table of type -> family, when to use it, and when not to.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.7/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses return format ('A table of type -> family, when to use it, and when not to') and gives practical behavioral guidance about density and focal elements. It stops short of explicitly stating side-effect-free/read-only behavior, but 'List' strongly implies it.

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?

Front-loaded with purpose, followed by clear usage direction, helpful rules, and return format. The bullet points keep the guidance scannable, and every sentence adds value without redundancy.

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 zero-parameter listing tool, the description fully covers what the agent needs: what the tool returns, when to call it, and why it matters. The presence of an output schema means return values do not need further elaboration.

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?

The input schema is an empty object with zero parameters, so there is nothing to explain. With 0 params, the baseline is 4, and the description correctly avoids inventing parameter semantics.

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 has a specific verb and resource: 'List every supported diagram type with guidance on when to use it.' It clearly distinguishes this tool from siblings like create_diagram by focusing on exploration and selection guidance rather than creation or manipulation.

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 instructs to call this tool BEFORE create_diagram when the right diagram type isn't obvious. It also explains why (wrong type causes diagrams to fail) and provides two general rules for diagram creation, giving strong context for when and how to use the output.

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

mermaid_to_excalidrawA

Convert Mermaid flowchart syntax into an Excalidraw diagram.

Supports the mermaid flowchart subset that AI agents commonly generate:

  • Directions: graph TD, LR, BT, RL

  • Node shapes: [text], {text}, ((text)), ([text])

  • Edge types: -->, ---, -.-> ==> with |label|

  • Subgraphs: subgraph Title ... end

Component types are auto-detected from node labels (e.g., a node labeled "PostgreSQL DB" automatically gets database styling).

ParametersJSON Schema
NameRequiredDescriptionDefault
themeNoColor theme - "default", "dark", "colorful". Default: "default"default
output_pathYesFile path to save the .excalidraw file.
mermaid_syntaxYesMermaid flowchart source code.

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that component types are auto-detected from node labels (e.g., 'PostgreSQL DB' gets database styling), which is a key behavioral trait. It also lists supported directions, node shapes, edge types, and subgraphs, providing good transparency for a conversion tool.

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?

The description is reasonably concise with three paragraphs. The main purpose is stated in the first sentence. Each section adds value, though the list of supported syntax could be slightly trimmed. Overall, it is well-structured and front-loaded.

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 tool's complexity (converting Mermaid flowcharts to Excalidraw), the description covers the supported syntax, auto-detection behavior, and output path. An output schema exists, so return values need not be detailed. Minor omissions like error handling or file overwrite behavior do not significantly detract from completeness.

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 already has 100% coverage and clear descriptions for all three parameters. The description adds value by explaining the supported Mermaid syntax subset and auto-detection, but this is not directly tied to individual parameter semantics. Thus a baseline score of 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 tool converts Mermaid flowchart syntax to an Excalidraw diagram, specifying the verb 'Convert' and the resources 'Mermaid flowchart syntax' and 'Excalidraw diagram'. This distinguishes it from sibling tools that create, export, get info, or modify diagrams.

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 details the supported Mermaid subset but does not explicitly state when to use this tool versus alternatives like create_diagram or modify_diagram. It implies usage for conversion tasks but lacks explicit guidance on when not to use it.

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

modify_diagramA

Modify an existing Excalidraw diagram created by this tool.

Supports iterative editing: add components, remove nodes, update labels, and rewire connections - without recreating the entire diagram.

IMPORTANT: Call get_diagram_info first to understand the current diagram state before making modifications.

For typed diagrams (sequence, pyramid, bar, swimlane, ...) there is a single operation:

{"op": "update_spec", "patch": {"tiers": [...], "title": "New title"}}

The patch is deep-merged into the stored spec and the diagram re-rendered. Lists are replaced wholesale, so send the complete list to change one entry. The node/connection operations below apply to architecture and flowchart diagrams only.

ParametersJSON Schema
NameRequiredDescriptionDefault
themeNoColor theme for re-rendering. Default: "default"default
file_pathYesPath to the existing .excalidraw file.
operationsYesOrdered list of operations. Each dict has: - op: "add_node" | "remove_node" | "update_node" | "add_connection" | "remove_connection" For add_node: - id (str): New node identifier - label (str): Display text - component_type (str, optional): Technology for auto-styling - shape (str, optional): Shape override - near (str, optional): Place near this existing node id For remove_node: - id (str): Node to remove (also removes its connections) For update_node: - id (str): Node to update - label (str, optional): New label - component_type (str, optional): New component type For add_connection: - from_id (str): Source node id - to_id (str): Target node id - label (str, optional): Edge label For remove_connection: - from_id (str): Source node id - to_id (str): Target node id

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description takes on the burden of behavioral disclosure. It explains that patches are deep-merged, lists are replaced wholesale, and typed diagrams are re-rendered from a spec. It does not explicitly mention side effects like file overwriting or irreversibility, but the modification behavior is substantially disclosed.

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?

The description is well-structured: purpose first, critical prerequisite second, then the typed-diagram special case with a concrete example. It earns its length, though the phrase 'The node/connection operations below' is slightly awkward because those operations are in the schema, not literally below in the description.

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 tool's complexity and the existence of an output schema, the description covers most needed context: preconditions, diagram-type branching, and patch semantics. However, the update_spec/schema mismatch and the lack of explicit note about whether the file is saved in place leave a small but meaningful gap.

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 baseline is 3. The description adds meaningful semantics around update_spec patches and list replacement, but there is a notable inconsistency: the input schema's operations description lists only add_node, remove_node, update_node, add_connection, and remove_connection, while the description introduces update_spec as a valid operation. This creates ambiguity for an agent mapping the description to the schema.

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 and resource: 'Modify an existing Excalidraw diagram created by this tool.' It distinguishes itself from create_diagram by emphasizing iterative editing of existing diagrams without recreation, and it lists concrete supported actions like adding components, removing nodes, updating labels, and rewiring connections.

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 gives explicit guidance: call get_diagram_info first before modifying, and it clearly separates typed diagrams (use update_spec patch) from architecture/flowchart diagrams (use node/connection operations). This tells the agent exactly when and how to use the tool relative to the diagram type.

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

whats_connected_toA

Impact analysis: what breaks if service_id fails?

Reports direct dependents, the full transitive upstream blast radius, and what the service itself depends on.

ParametersJSON Schema
NameRequiredDescriptionDefault
graph_pathNo.claude/architecture.md
service_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.9/5.0
Behavior3/5

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

No annotations provided, so the description must cover behavioral traits. It describes what is reported (dependents, blast radius, dependencies) but does not explicitly state that it is read-only or safe. The nature of 'impact analysis' suggests no side effects, but it's not explicit.

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 sentences, front-loading the purpose and listing what is reported. No redundant information.

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 presence of an output schema, return values need not be explained. However, the description does not detail the output structure or provide examples. The overall context is adequate for understanding the tool's function.

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?

The description explains the 'service_id' parameter through context ('if service_id fails'), but the 'graph_path' parameter (with default) is not mentioned or explained. With 0% schema description coverage, the description should have covered both 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 the tool's purpose: impact analysis for service failure, listing direct dependents, transitive blast radius, and dependencies. This distinguishes it from sibling tools like kg_path or kg_render.

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 implies usage for failure impact analysis, but does not explicitly state when not to use or provide alternatives. However, the context is clear enough for an AI to decide.

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 updatesv2.0.0
    • Changedcreate_diagram14 fields changed
      • addedInput schema / properties / connections / anyOf
        Added value: +[
        +  {
        +    "items": {
        +      "additionalProperties": true,
        +      "type": "object"
        +    },
        +    "type": "array"
        +  },
        +  {
        +    "type": "null"
        +  }
        +]
      • addedInput schema / properties / connections / default
        Added value: +null
      • changedInput schema / properties / connections / description
        Previous value: -"List of connections. Each dict has:\n- from_id (str, required): Source node id\n- to_id (str, required): Target node id\n- label (str, optional): Edge label text\n- style (str, optional): \"solid\", \"dashed\", \"dotted\", \"thick\""New value: +"Graph types only. List of connections. Each dict has:\n- from_id (str, required): Source node id\n- to_id (str, required): Target node id\n- label (str, optional): Edge label text\n- style (str, optional): \"solid\", \"dashed\", \"dotted\", \"thick\""
      • removedInput schema / properties / connections / items
        Removed value: -{
        -  "additionalProperties": true,
        -  "type": "object"
        -}
      • removedInput schema / properties / connections / type
        Removed value: -"array"
      • addedInput schema / properties / diagram_type
        Added value: +{
        +  "default": "architecture",
        +  "description": "One of the types from ``list_diagram_types``. Default\n\"architecture\". Pick the type that matches what the reader needs\nto learn, not the one that is easiest to fill in.",
        +  "type": "string"
        +}
      • changedInput schema / properties / direction / description
        Previous value: -"Layout direction - \"LR\" (left-right), \"TD\" (top-down),\n       \"BT\" (bottom-up), \"RL\" (right-left). Default: \"LR\""New value: +"Layout direction for graph types - \"LR\" (left-right),\n       \"TD\" (top-down), \"BT\" (bottom-up), \"RL\" (right-left)."
      • addedInput schema / properties / nodes / anyOf
        Added value: +[
        +  {
        +    "items": {
        +      "additionalProperties": true,
        +      "type": "object"
        +    },
        +    "type": "array"
        +  },
        +  {
        +    "type": "null"
        +  }
        +]
      • addedInput schema / properties / nodes / default
        Added value: +null
      • changedInput schema / properties / nodes / description
        Previous value: -"List of nodes. Each dict has:\n- id (str, required): Unique identifier\n- label (str, required): Display text\n- component_type (str, optional): Technology name for auto-styling\n  (e.g., \"kafka\", \"postgresql\", \"redis\", \"nginx\", \"kubernetes\").\n  If omitted, the label is used for auto-detection.\n- shape (str, optional): Override shape - \"rectangle\", \"diamond\",\n  \"ellipse\", \"circle\", \"stadium\", \"parallelogram\""New value: +"Graph types only. List of nodes. Each dict has:\n- id (str, required): Unique identifier\n- label (str, required): Display text\n- component_type (str, optional): Technology name for auto-styling\n  (e.g., \"kafka\", \"postgresql\", \"redis\", \"nginx\", \"kubernetes\").\n  If omitted, the label is used for auto-detection.\n- shape (str, optional): Override shape - \"rectangle\", \"diamond\",\n  \"ellipse\", \"circle\", \"stadium\", \"parallelogram\""
      • removedInput schema / properties / nodes / items
        Removed value: -{
        -  "additionalProperties": true,
        -  "type": "object"
        -}
      • removedInput schema / properties / nodes / type
        Removed value: -"array"
      • addedInput schema / properties / spec
        Added value: +{
        +  "anyOf": [
        +    {
        +      "additionalProperties": true,
        +      "type": "object"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Type-specific payload. Required for every type other than\narchitecture/flowchart. Every spec accepts optional \"title\" and\n\"subtitle\". Mark 1-2 elements ``\"focal\": true`` to earn the accent\ncolor - marking five erases the signal."
        +}
      • changedInput schema / required
        Previous value: -[
        -  "nodes",
        -  "connections",
        -  "output_path"
        -]New value: +[
        +  "output_path"
        +]
    • Addedget_diagram_schema
    • Addedlist_diagram_types
  2. 19 tool updatesv1.0.3
    • Addedkg_add_service
    • Addedkg_diff
    • Addedkg_drift
    • Addedkg_export
    • Addedkg_import
    • Addedkg_info
    • Addedkg_init
    • Addedkg_link
    • Addedkg_lint
    • Addedkg_onboarding_doc
    • Addedkg_path
    • Addedkg_remove_service
    • Addedkg_render
    • Addedkg_render_around
    • Addedkg_render_domain
    • Addedkg_render_view
    • Addedkg_set_domain
    • Addedkg_unlink
    • Addedwhats_connected_to
  3. 5 tool updatesv0.3.0
    • Addedcreate_diagram
    • Addedexport_diagram
    • Addedget_diagram_info
    • Addedmermaid_to_excalidraw
    • Addedmodify_diagram

TDQS

B3.2/5.0

Scored across 26 tools

Disambiguation4/5

Most tools target clearly distinct operations, and descriptions separate KG management, diagram creation, and analysis queries well. The four kg_render* variants (full, domain, view, around) are close enough to cause some misselection risk, though each has a well-defined scope.

Naming Consistency4/5

The kg_ prefix provides a strong, predictable pattern for graph operations, and most diagram tools use clear verb_noun names. Minor exceptions like whats_connected_to and mermaid_to_excalidraw break the pattern, but overall the naming is disciplined and readable.

Tool Count3/5

At 26 tools, the server sits just above the heavy band, and the kg_render_domain/view/around trio could plausibly be consolidated into one parameterized render operation. The breadth is partly justified by spanning diagram authoring and knowledge-graph management, but the surface is still large.

Completeness5/5

The toolset covers the full lifecycle for both the knowledge graph and diagrams: init, add/update/remove, link/unlink, query, render, export, plus analysis features like lint, drift, diff, impact, and path tracing. The only missing operations are non-essential file-management tasks like deleting a rendered diagram.

Maintenance

ActivitySlowing
ResponsivenessResponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    MCP server that enables LLMs to create and edit draw.io diagrams using high-level intent commands, with automatic layout and styling.
    4
    11 npm
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server that converts Mermaid diagrams to styled Excalidraw files, saving them directly to disk without token overhead.
    2
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    An MCP server that generates standalone SVG architecture diagrams from text descriptions, running entirely on your machine with no dependencies or network access.
    8
    -