Skip to main content
Glama
EricSeokgon

egovframe-scaffold-mcp

by EricSeokgon

공통컴포넌트 업그레이드

upgrade_egovframe_project
Destructive

Compare manifest-listed eGovFrame components with upstream to plan and apply updates, preserving user edits unless forced and backing up before overwrite.

Instructions

매니페스트에 기록된 설치 공통컴포넌트를 upstream 최신본과 비교해 갱신합니다. 사용자가 수정한 파일은 force 없이는 보존하며, dryRun(기본)으로 변경 계획을 먼저 확인합니다. 덮어쓰기 전 upgrade-backup/에 백업하고, 하드 충돌 시 아무것도 쓰지 않고 거부합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo사용자 수정 파일(충돌)도 백업 후 덮어쓸지
dryRunNotrue(기본)면 계획만 미리보기, 디스크 변경 없음
componentsNo대상 컴포넌트 id (미지정 시 매니페스트 전체)
projectDirYes업그레이드할 프로젝트 디렉터리(절대경로 권장)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=false): it discloses that user-modified files are preserved unless force is set, that a backup is written to upgrade-backup/ before any overwrite, and that hard conflicts cause a refusal with no writes at all. This is exactly the 'what gets destroyed / atomicity' context a destructive mutation tool needs.

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

Conciseness4/5

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

Three tight sentences, front-loaded with the core purpose followed by safety behavior. Dense with information and free of filler, though it could be marginally tighter.

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

Completeness4/5

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

For a destructive mutation tool with no output schema, the description covers the critical behavior an agent needs: preview-by-default, backup destination, preservation of user edits, and refusal on hard conflict. Only permission/auth prerequisites are left unaddressed.

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 every parameter is already documented in the schema. The description's statements about force and dryRun largely restate the schema's own parameter descriptions rather than adding new syntax or format detail, so the baseline 3 applies.

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 (upgrade/갱신) and resource (installed common components recorded in the manifest, compared against upstream latest). The scope is well-defined and distinguishable from generic project tools, but it never names a sibling (e.g. migrate_egovframe_project or the sync_* tools) to sharpen the boundary.

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

Usage Guidelines3/5

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

Provides an implied workflow recommendation — dryRun (default) previews the plan first — which is genuinely useful usage guidance. However, it never states when to choose this over migrate_egovframe_project or the sync tools, and gives no explicit when-not conditions.

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