Skip to main content
Glama
egovframe-scaffold-mcp

egovframe-scaffold-mcp

by EricSeokgon

적용 중인 규칙·규칙 팩 검증

list_egovframe_rules
Read-onlyIdempotent

Lists the active eGovFrame inspection rules and their sources, and validates custom rule packs read-only so you can confirm which security, operations, dependency, privacy, and access checks apply.

Instructions

지금 적용되는 점검 규칙과 출처(동봉/기관 규칙 팩)를 보여 주고 규칙 팩을 검증합니다(읽기 전용). 규칙 팩은 동봉 규칙 위에 얹는 기관 기준입니다 — 디렉터리의 rule-pack.json 에 보안약점(규칙 추가·등급 조정·끄기)·운영 점검(규칙 추가·임계값·끄기)·의존성(금지 좌표·최소 버전)·개인정보(컬럼 사전·암호화 호출)를 데이터로 적습니다. 경로는 rulePacks 파라미터 또는 환경 변수 EGOVFRAME_RULE_PACKS(여러 개면 뒤가 이김). 팩의 형식·정규식·id·check 종류가 틀리면 사유를 모두 돌려주고 거부합니다.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_egovframe_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNNoMarkdown 에 보일 규칙 수(팩이 정한 것 먼저)
toolsNo볼 도구(기본 전부): secureCoding | operations | dependencies | privacy | access
formatNo응답 형식markdown
rulePacksNo규칙 팩 디렉터리(없으면 환경 변수 EGOVFRAME_RULE_PACKS, 그것도 없으면 동봉 규칙만)

Output Schema

NameRequiredDescriptionDefault
notesYes
rulesYes
summaryYes
rulePacksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.24.0
    • changedInput schema / properties / tools / description
      Previous value: -"볼 도구(기본 전부): secureCoding | operations | dependencies | privacy"New value: +"볼 도구(기본 전부): secureCoding | operations | dependencies | privacy | access"
    • changedInput schema / properties / tools / items / enum
      Previous value: -[
      -  "secureCoding",
      -  "operations",
      -  "dependencies",
      -  "privacy"
      -]New value: +[
      +  "secureCoding",
      +  "operations",
      +  "dependencies",
      +  "privacy",
      +  "access"
      +]
    • changedOutput schema / properties / rulePacks / items / properties / sections / items / enum
      Previous value: -[
      -  "secureCoding",
      -  "operations",
      -  "dependencies",
      -  "privacy"
      -]New value: +[
      +  "secureCoding",
      +  "operations",
      +  "dependencies",
      +  "privacy",
      +  "access"
      +]
    • changedOutput schema / properties / rules / items / properties / tool / enum
      Previous value: -[
      -  "secureCoding",
      -  "operations",
      -  "dependencies",
      -  "privacy"
      -]New value: +[
      +  "secureCoding",
      +  "operations",
      +  "dependencies",
      +  "privacy",
      +  "access"
      +]
  2. Addedv1.23.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, closed-world behavior, and the description adds real context on top: rule packs layer over bundled rules, their JSON carries security/operations/dependency/privacy data, and a malformed pack (bad format, regex, id, or check kind) causes a rejection that returns every reason. It does not clarify whether rejection is an error or a normal result, but the validation contract is otherwise well 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?

One dense paragraph that front-loads what is shown and validated before going into rule-pack detail, with no filler sentences. The long dash-delimited enumeration of rule-pack contents is heavy but each clause carries 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?

An output schema exists, so return values need not be described, and the description covers the configuration model and failure behavior adequately for a zero-required-parameter inspection tool. The main remaining gap is guidance on how this relates to the check_* tools that consume these rules.

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 would be 3, but the description adds meaning beyond the schema: multiple packs are allowed and later packs win over earlier ones, and it explains the content a rule-pack.json may contain, which helps an agent decide what to point rulePacks at. topN, tools, and format are left to the schema.

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 concrete verb and resource: it shows which inspection rules and sources (bundled vs. institutional rule packs) are active, and it validates rule packs, explicitly flagged as read-only. That resource (rule configuration) is clearly distinct from the check_* siblings that actually run checks, although the description never names a sibling to route the agent away from.

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?

Usage is only implied: an agent can infer this is the way to inspect and validate rule-pack configuration, and the description explains where packs come from (rulePacks param, then EGOVFRAME_RULE_PACKS, then bundled-only) and the precedence rules. It never says when to use this instead of, or before, running check_egovframe_* tools, nor when supplying rulePacks is worthwhile versus relying on the default.

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