Skip to main content
Glama

design_validate

Validate design decision trees by checking schema, duplicate IDs, broken branches, and verifying cited clauses exist in KDS/KCS standards, ensuring design method matches referenced standards.

Instructions

결정트리를 검사한다. ★적어 둔 근거 조항이 실재하는지 API 로 확인한다.

tree_yaml: 검사할 YAML 본문. (또는) path: 검사할 YAML 파일 경로. 둘 다 비우면 사용자 폴더의 트리를 전부 검사한다. check_refs: 근거 조항 실재 확인 여부. 끄면 스키마만 본다(빠르다).

잡아내는 것: · 스키마 누락 · 단계 식별자 중복 · 분기가 없는 단계를 가리키는 것(트리가 끊긴다) · 지어낸/오타난/폐지된 조항번호 — 기준에 그 절·표가 실제로 있는지 확인 · 설계법과 근거 기준의 불일치 (LRFD 트리가 허용응력설계법 기준을 근거로 삼는 등)

트리는 사람이 쓰고, 근거가 실재하는지는 기계가 검사합니다. 지어낸 조항번호가 그대로 남는 것이 제일 위험하기 때문입니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
tree_yamlNo
check_refsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses that the tool performs an external API check against the standard, that it can operate over the entire user folder when both params are empty (broad-scope behavior), and that check_refs=false trades thoroughness for speed. It implies a non-destructive read/validation role, though it never states whether the tool writes or errors on failure.

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 and front-loaded: one-line purpose, ★ key capability, parameter explanations, then a bulleted catch list. The final rhetorical sentence ('Trees are written by humans... fabricated clause numbers are the most dangerous') adds motivation but is functional padding rather than essential call-time information, keeping it from a 5.

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?

An output schema exists, so omitting the return format is acceptable. For a validation tool with an API dependency and five distinct detection categories, the description covers inputs, scope behavior, detection scope, and the external-check behavior. The remaining gap is the absence of explicit guidance on which sibling handles adjacent concerns and what happens on validation failure.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must fully compensate — and it does. All three parameters (tree_yaml, path, check_refs) receive explicit semantics including the mutual-exclusivity relationship, the default behavior when both are empty, and the meaning of the boolean flag and its performance implication. This goes well beyond the bare schema fields.

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+resource ('inspects a decision tree') and immediately front-loads the distinctive capability via ★: it verifies cited reference clauses actually exist by API call. The 'catches' list (missing schema, duplicate step identifiers, broken branches, fabricated clause numbers, design-method/standard mismatch) precisely distinguishes it from the design_* authoring siblings and kcsc_* retrieval tools.

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 gives useful in-tool usage guidance: the tradeoff between tree_yaml/path input (both empty → scans all user trees) and the check_refs speed toggle ('turn off = schema only, faster'). However, it never names alternatives or states when NOT to use this tool vs. a sibling (e.g., kcsc_audit or other design_* tools), leaving the selection decision implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

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

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lhs1152-lgtm/kcsc-design-mcp'

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