Skip to main content
Glama
egovframe-scaffold-mcp

egovframe-scaffold-mcp

by EricSeokgon

납품 패키지 만들기

prepare_egovframe_delivery

Collects eGovFrame audit deliverables—assessment, dependencies, SBOM/VEX, security findings, deploy output—into one package with hashed manifest, index, and optional diff or verification.

Instructions

감리·검수에 내는 산출물을 새 디렉터리 하나에 모읍니다 — 전환 준비도 평가서, 의존성 조치 목록, SBOM(CycloneDX 1.6·SPDX 2.3), SBOM 점검과 VEX 초안, 보안약점 결과와 SARIF, 컨테이너·배포 산출물, (지정 시) 빌드 결과. delivery-manifest.json(파일별 sha256·크기, 도구 버전, 입력 지문, 전체 지문 rootHash)과 목차 index.md 를 쓰고, 실패한 항목은 빼지 않고 이유와 함께 목차에 남깁니다. previousDelivery 를 주면 이전 차수와 비교한 diff.md(등급·SBOM 구성요소와 버전·새/해소 취약점·새/해소 보안약점)를 만들고 이전 VEX 의 사람 판단을 보존합니다. verify=true 면 받은 패키지(outputDir)의 지문을 다시 계산해 변조·누락을 봅니다. 프로젝트는 읽기만 하고(SBOM 도 프로젝트에 쓰지 않음) outputDir 는 비어 있어야 합니다. dryRun(기본)은 계획만, zip=true 면 .zip 도 만듭니다.

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>",
      "outputDir": "<outputDir>"
    },
    "name": "prepare_egovframe_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNotrue 면 <outputDir>.zip 도 만듦
dryRunNotrue(기본)면 계획만
formatNo응답 형식markdown
verifyNotrue 면 만들지 않고 outputDir 의 manifest 지문을 재검증
includeNo담을 항목(기본: build 를 뺀 전부 — build 는 로컬 JDK·Maven/Gradle 로 package 를 실제 실행)
offlineNofalse 면 OSV 취약점 조회(의존성·SBOM·평가서, 오프라인 번들이 있으면 번들로)
supplierNoSBOM 공급자(없으면 pom <organization><name>)
outputDirYes패키지를 만들 디렉터리(프로젝트 밖, 없거나 비어 있어야 함). verify=true 면 검증할 패키지 디렉터리
projectDirYes프로젝트 디렉터리(절대경로 권장) — 읽기만 함
previousDeliveryNo이전 차수 패키지 디렉터리 — 비교 절(diff.md)과 VEX 판단 보존

Output Schema

NameRequiredDescriptionDefault
diffNo
modeYes
bytesNo
filesNo
itemsNo
notesYes
dryRunNo
verifyNo
includeNo
writtenNo
zipPathNo
rootHashNo
outputDirYes
projectDirNo
manifestPathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.24.0
    • changedInput schema / properties / include / items / enum
      Previous value: -[
      -  "assessment",
      -  "dependencies",
      -  "sbom",
      -  "sbom-check",
      -  "secure-coding",
      -  "deploy",
      -  "map",
      -  "privacy",
      -  "build"
      -]New value: +[
      +  "assessment",
      +  "dependencies",
      +  "sbom",
      +  "sbom-check",
      +  "secure-coding",
      +  "deploy",
      +  "map",
      +  "privacy",
      +  "access",
      +  "build"
      +]
    • changedOutput schema / properties / items / items / properties / id / enum
      Previous value: -[
      -  "assessment",
      -  "dependencies",
      -  "sbom",
      -  "sbom-check",
      -  "secure-coding",
      -  "deploy",
      -  "map",
      -  "privacy",
      -  "build"
      -]New value: +[
      +  "assessment",
      +  "dependencies",
      +  "sbom",
      +  "sbom-check",
      +  "secure-coding",
      +  "deploy",
      +  "map",
      +  "privacy",
      +  "access",
      +  "build"
      +]
  2. Changed2 schema fields changedv1.22.0
    • changedInput schema / properties / include / items / enum
      Previous value: -[
      -  "assessment",
      -  "dependencies",
      -  "sbom",
      -  "sbom-check",
      -  "secure-coding",
      -  "deploy",
      -  "map",
      -  "build"
      -]New value: +[
      +  "assessment",
      +  "dependencies",
      +  "sbom",
      +  "sbom-check",
      +  "secure-coding",
      +  "deploy",
      +  "map",
      +  "privacy",
      +  "build"
      +]
    • changedOutput schema / properties / items / items / properties / id / enum
      Previous value: -[
      -  "assessment",
      -  "dependencies",
      -  "sbom",
      -  "sbom-check",
      -  "secure-coding",
      -  "deploy",
      -  "map",
      -  "build"
      -]New value: +[
      +  "assessment",
      +  "dependencies",
      +  "sbom",
      +  "sbom-check",
      +  "secure-coding",
      +  "deploy",
      +  "map",
      +  "privacy",
      +  "build"
      +]
  3. Changed2 schema fields changedv1.15.0
    • changedInput schema / properties / include / items / enum
      Previous value: -[
      -  "assessment",
      -  "dependencies",
      -  "sbom",
      -  "sbom-check",
      -  "secure-coding",
      -  "deploy",
      -  "build"
      -]New value: +[
      +  "assessment",
      +  "dependencies",
      +  "sbom",
      +  "sbom-check",
      +  "secure-coding",
      +  "deploy",
      +  "map",
      +  "build"
      +]
    • changedOutput schema / properties / items / items / properties / id / enum
      Previous value: -[
      -  "assessment",
      -  "dependencies",
      -  "sbom",
      -  "sbom-check",
      -  "secure-coding",
      -  "deploy",
      -  "build"
      -]New value: +[
      +  "assessment",
      +  "dependencies",
      +  "sbom",
      +  "sbom-check",
      +  "secure-coding",
      +  "deploy",
      +  "map",
      +  "build"
      +]
  4. Changed15 schema fields changedv1.6.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / bytes / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / bytes / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / diff / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / files / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / files / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / items / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / items / items / properties / durationMs / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / items / items / properties / durationMs / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / items / items / properties / summary / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / verify / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / verify / properties / manifest / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "createdAt": {
      -        "type": "string"
      -      },
      -      "files": {
      -        "type": "integer"
      -      },
      -      "items": {
      -        "type": "integer"
      -      },
      -      "rootHash": {
      -        "type": "string"
      -      },
      -      "tool": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "createdAt",
      -      "tool",
      -      "rootHash",
      -      "files",
      -      "items"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "createdAt": {
      +        "type": "string"
      +      },
      +      "files": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "items": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "rootHash": {
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "createdAt",
      +      "tool",
      +      "rootHash",
      +      "files",
      +      "items"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / verify / properties / mismatched / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / verify / properties / verified / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / verify / properties / verified / minimum
      Added value: +-9007199254740991
  5. Addedv1.2.0

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the project is read-only (SBOMs are not written into it), outputDir must be empty, failed items are retained in index.md with reasons rather than silently dropped, and verify=true recomputes hashes to detect tampering/omissions. openWorldHint=true is consistent with the disclosed optional OSV lookups when offline=false, and nothing contradicts destructiveHint=false.

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?

Front-loads the core action and artifact list, then moves to manifest behavior, failure handling, diff mode, verify mode, safety constraints, and mode defaults. It is dense and long, but for a 10-parameter tool with dual write/verify modes nearly every clause carries needed 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 an output schema exists, return format need not be explained, yet the description still tells the agent which files appear (delivery-manifest.json with sha256/size/tool versions/fingerprints/rootHash, index.md, diff.md). Prerequisites and side effects are covered; only cross-tool routing advice is thin.

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 still adds value by explaining what previousDelivery actually produces (diff.md sections and VEX judgment preservation) and how verify repurposes outputDir. Most other parameter meaning (include, offline, supplier, zip) is already carried by the schema, so it does not fully go beyond it.

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?

Opens with a concrete verb and resource — collecting audit/inspection deliverables into a single new directory — and then enumerates the exact artifact classes (assessment report, dependency remediation list, SBOM, VEX draft, SARIF, deploy artifacts, optional build output). This is specific enough to separate it from report-generation or offline-bundle siblings without opening any schema.

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

Usage Guidelines4/5

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

Establishes the situation clearly (artifacts submitted for 감리·검수) and explains the key mode switch: previousDelivery for a diff against a prior round with VEX human judgments preserved, verify=true to re-hash an already-received package, dryRun as the default planning mode. It does not explicitly exclude or name a sibling to use instead, so it stops short of a 5.

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