Skip to main content
Glama
egovframe-scaffold-mcp

egovframe-scaffold-mcp

by EricSeokgon

프로젝트 진단

diagnose_egovframe_project
Read-onlyIdempotent

Scans existing eGovFrame projects, including unscaffolded ones, to diagnose build system, RTE version, DbType, installed common components, and configuration issues without changing files.

Instructions

기존(스캐폴딩 도구로 만들지 않은 것 포함) 전자정부 표준프레임워크 프로젝트를 스캔해 빌드시스템·RTE 버전·DbType·설치된 공통컴포넌트(카탈로그 pathPrefixes 지문)·설정 문제를 진단합니다. 디스크를 변경하지 않는 읽기 전용입니다.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectDir": "<projectDir>"
    },
    "name": "diagnose_egovframe_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectDirYes진단할 프로젝트 디렉터리(절대경로 권장)

Output Schema

NameRequiredDescriptionDefault
issuesYes
aiLayerYes
databaseYes
dbScriptsYes
projectDirYes
projectMapNo
buildSystemYes
egovVersionYes
hasManifestYes
suggestionsYes
isEgovProjectYes
detectedComponentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.15.0
    • addedOutput schema / properties / projectMap
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "durationMs": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "orphanMappers": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "tables": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "unresolvedRate": {
      +      "type": "number"
      +    },
      +    "urls": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "views": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "tables",
      +    "urls",
      +    "views",
      +    "orphanMappers",
      +    "unresolvedRate",
      +    "durationMs"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changedv1.10.0
    • addedOutput schema / properties / dbScripts
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "componentScripts": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "compose": {
      +      "type": "boolean"
      +    },
      +    "prepared": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "componentScripts",
      +    "prepared",
      +    "compose"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "projectDir",
      -  "isEgovProject",
      -  "buildSystem",
      -  "egovVersion",
      -  "database",
      -  "detectedComponents",
      -  "aiLayer",
      -  "hasManifest",
      -  "issues",
      -  "suggestions"
      -]New value: +[
      +  "projectDir",
      +  "isEgovProject",
      +  "buildSystem",
      +  "egovVersion",
      +  "database",
      +  "detectedComponents",
      +  "aiLayer",
      +  "hasManifest",
      +  "issues",
      +  "suggestions",
      +  "dbScripts"
      +]
  3. Changed2 schema fields changedv1.6.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / detectedComponents / items / additionalProperties
      Previous value: -trueNew value: +{}
  4. Changed1 schema field changedv0.36.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "aiLayer": {
      +      "type": "boolean"
      +    },
      +    "buildSystem": {
      +      "enum": [
      +        "maven",
      +        "gradle",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "database": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "detectedComponents": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "matchedPrefix": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "name",
      +          "matchedPrefix"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "egovVersion": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "hasManifest": {
      +      "type": "boolean"
      +    },
      +    "isEgovProject": {
      +      "type": "boolean"
      +    },
      +    "issues": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "projectDir": {
      +      "type": "string"
      +    },
      +    "suggestions": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "projectDir",
      +    "isEgovProject",
      +    "buildSystem",
      +    "egovVersion",
      +    "database",
      +    "detectedComponents",
      +    "aiLayer",
      +    "hasManifest",
      +    "issues",
      +    "suggestions"
      +  ],
      +  "type": "object"
      +}
  5. Addedv0.19.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=false, so '디스크를 변경하지 않는 읽기 전용입니다' largely restates structured data. What the description does add beyond annotations is the analysis surface: that it inspects build system, RTE version, DbType, installed common components via catalog pathPrefixes fingerprints, and configuration problems. It does not say what happens when a project is unrecognizable or partially matching, nor how findings are surfaced.

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?

Two sentences, front-loaded with the action and scope, followed immediately by the read-only guarantee. Nearly every clause carries information. The embedded parenthetical '(카탈로그 pathPrefixes 지문)' is compact but idiosyncratic and slightly slows parsing for an agent unfamiliar with the catalog model.

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 return-values explanation is unnecessary, and annotations fully cover the safety profile. For a one-parameter read-only scan, the description supplies the diagnostic scope and applicability. The only real gap is disambiguation from the validate/map siblings, which matters in a 40-tool namespace.

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?

There is a single parameter (projectDir) and schema description coverage is 100%, with the schema already noting it should be an absolute path. The description adds no further semantics about the path — no note on relative-path resolution, symlinks, or multi-module roots. Baseline 3 applies when the schema carries parameter meaning.

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

Purpose4/5

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

States a specific verb (scan/diagnose) and resource (eGovFrame project), and explicitly broadens scope to projects not created by the scaffolding tool, so an agent knows it works on arbitrary existing projects. It also enumerates the diagnosis dimensions (build system, RTE version, DbType, common components via catalog pathPrefixes fingerprint, config problems). It does not, however, distinguish itself from close siblings such as validate_egovframe_project, map_egovframe_project, or check_egovframe_dependencies.

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 parenthetical '(including ones not created by the scaffolding tool)' implies the when-to-use context: adopt an existing codebase rather than one just generated. But there is no explicit guidance on when to choose this over validate_egovframe_project or map_egovframe_project, nor any stated prerequisites (e.g., must the project be Java/Maven-based, must the catalog be synced first). Usage is implied rather than spelled out.

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