Skip to main content
Glama
opendata-kr

narajangteo-prespec

by opendata-kr

@opendata-kr/narajangteo-prespec-mcp

나라장터 사전규격정보서비스(공공데이터포털 data.go.kr) Open API를 감싼 로컬 MCP 서버.

npm version CI node license

MCP 클라이언트에서 나라장터 사전규격(발주기관이 입찰공고 전에 규격서를 사전공개하고 의견을 받는 단계)을 자연어로 검색하고 조회한다. 예를 들어 이렇게 물어볼 수 있다.

  • "이번 달 올라온 물품 사전규격을 찾아줘"

  • "해군군수사령부가 발주한 사전규격을 검색해줘"

  • "사전규격등록번호 R26BD00234692의 규격서 의견을 보여줘"

특징

  • 20개 오퍼레이션을 5개 도구로 노출: 전체 조회/기관별/품목별/복합검색/규격서의견 유형별로 묶어 사용성을 단순화했다.

  • 4개 업무구분 병렬 검색: 공사/용역/물품/외자를 한 번에 조회한다. 업무구분 미지정 시 전 구분을 동시 검색한다.

  • 부분 실패 표면화: 일부 구분 조회가 실패해도 나머지 결과를 반환하고, 실패한 구분은 오류 메시지로 드러낸다(조용한 누락 없음).

  • data.go.kr 에러코드 한국어화: 인증키 만료, 트래픽 초과 등 결과코드를 조치 가능한 한국어 메시지로 정규화한다.

  • 이중 인코딩 방어: Encoding 키를 잘못 넣으면 경고하고, 요청은 한 번만 인코딩한다.

  • 타임아웃: API 호출에 타임아웃을 둔다.

Related MCP server: Korean Patent MCP (KIPRIS)

준비물

  • Node.js 24 이상 (.nvmrc = lts/krypton).

  • data.go.kr 인증키:

    1. 공공데이터포털에서 나라장터 사전규격정보서비스를 활용신청해 [승인]을 받는다. 인증키는 계정당 하나지만, 각 API는 저마다 활용신청 승인이 있어야 그 API에서 인증된다. 서비스키가 있어도 이 API를 활용신청하지 않으면 인증 오류(코드 30)가 난다.

    2. 마이페이지 → 활용신청 현황 → 개발계정 상세에서 Decoding 서비스키를 복사한다.

    3. 같은 DATA_GO_KR_SERVICE_KEY는 같은 계정으로 활용신청한 다른 data.go.kr API에도 재사용된다.

TIP

공공데이터포털이 처음이라면 활용신청부터 인증키 복사까지 그림으로 따라 하는data.go.kr 인증키 발급 가이드를 참고한다.

서비스키는 반드시 Decoding(원본) 키를 넣는다. Encoding(%2B 등 포함) 키를 넣으면 이중 인코딩으로 인증 오류(코드 30)가 난다.

MCP 클라이언트 설정

MCP 클라이언트에 아래 config를 추가한다:

{
  "mcpServers": {
    "narajangteo-prespec": {
      "command": "npx",
      "args": ["-y", "@opendata-kr/narajangteo-prespec-mcp@latest"],
      "env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  }
}
NOTE

@opendata-kr/narajangteo-prespec-mcp@latest를 쓰면 클라이언트가 항상 최신 버전을 받는다.

IMPORTANT

DATA_GO_KR_SERVICE_KEY(필수, Decoding 원본 키)가 없으면 첫 호출이 인증 오류(코드 30)로 실패한다. 위 config의 env에 키를 넣는다. 원클릭 버튼이나 env를 config에 담지 못하는 클라이언트는 설치 후 셸 환경변수로 DATA_GO_KR_SERVICE_KEY를 설정한다.

클라이언트별 설정

amp mcp add narajangteo-prespec -- npx -y @opendata-kr/narajangteo-prespec-mcp@latest

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.

Antigravity 문서의 커스텀 MCP 서버 추가 방법을 따라 아래 config를 MCP servers 설정에 넣는다:

{
  "mcpServers": {
    "narajangteo-prespec": {
      "command": "npx",
      "args": ["-y", "@opendata-kr/narajangteo-prespec-mcp@latest"],
      "env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  }
}

Claude Code CLI로 서버를 추가한다 (가이드):

claude mcp add narajangteo-prespec --scope user --env DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 -- npx -y @opendata-kr/narajangteo-prespec-mcp@latest
codex mcp add narajangteo-prespec --env DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 -- npx -y @opendata-kr/narajangteo-prespec-mcp@latest

Windows

~/.codex/config.tomlcmd /c 래핑으로 추가한다:

[mcp_servers.narajangteo-prespec]
command = "cmd"
args = ["/c", "npx", "-y", "@opendata-kr/narajangteo-prespec-mcp@latest"]
env = { DATA_GO_KR_SERVICE_KEY = "발급받은_Decoding_키" }

Command Code CLI로 서버를 추가한다 (MCP 가이드):

cmd mcp add narajangteo-prespec --scope user npx -y @opendata-kr/narajangteo-prespec-mcp@latest

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.

Continue의 MCP 가이드를 따른다. Continue는 mcpServers를 배열로 쓴다:

{
  "mcpServers": [
    {
      "name": "narajangteo-prespec",
      "command": "npx",
      "args": ["-y", "@opendata-kr/narajangteo-prespec-mcp@latest"],
      "env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  ]
}

Copilot CLI를 시작한다:

copilot

MCP 서버 추가 대화를 연다:

/mcp add

다음 필드를 입력하고 CTRL+S로 저장한다:

  • Server name: narajangteo-prespec

  • Server Type: [1] Local

  • Command: npx -y @opendata-kr/narajangteo-prespec-mcp@latest

  • Environment variables: DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키

버튼으로 설치:

버튼은 키를 담지 못한다. 설치 후 .vscode/mcp.json(또는 사용자 설정)의 envDATA_GO_KR_SERVICE_KEY를 추가한다.

직접 추가:

VS Code MCP 설정 가이드를 따르거나 CLI를 쓴다.

macOS·Linux:

code --add-mcp '{"name":"narajangteo-prespec","command":"npx","args":["-y","@opendata-kr/narajangteo-prespec-mcp@latest"],"env":{"DATA_GO_KR_SERVICE_KEY":"발급받은_Decoding_키"}}'

Windows(PowerShell):

code --add-mcp '{"""name""":"""narajangteo-prespec""","""command""":"""npx""","""args""":["""-y""","""@opendata-kr/narajangteo-prespec-mcp@latest"""],"""env""":{"""DATA_GO_KR_SERVICE_KEY""":"""발급받은_Decoding_키"""}}'

버튼으로 설치:

버튼은 키를 담지 못한다. 설치 후 Cursor의 MCP 설정에서 envDATA_GO_KR_SERVICE_KEY를 추가한다.

직접 추가:

Cursor SettingsMCPNew MCP Server에서 위 config를 사용한다.

Factory CLI로 서버를 추가한다 (가이드):

droid mcp add narajangteo-prespec "npx -y @opendata-kr/narajangteo-prespec-mcp@latest"

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.

Gemini CLI로 서버를 추가한다.

프로젝트 범위:

gemini mcp add narajangteo-prespec npx -y @opendata-kr/narajangteo-prespec-mcp@latest

전역:

gemini mcp add -s user narajangteo-prespec npx -y @opendata-kr/narajangteo-prespec-mcp@latest

또는 MCP 가이드를 따르고 위 config를 쓴다. ~/.gemini/settings.json의 서버 정의 envDATA_GO_KR_SERVICE_KEY를 추가한다.

grok mcp add narajangteo-prespec npx -y @opendata-kr/narajangteo-prespec-mcp@latest

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다. 더 많은 옵션은 문서 참고.

Settings | Tools | AI Assistant | Model Context Protocol (MCP)Add에서 위 config를 사용한다. Junie도 같은 방식으로 Settings | Tools | Junie | MCP SettingsAdd에서 위 config를 사용한다.

Katalon StudioAssist는 MCP 프록시를 통해 stdio 서버를 연결한다.

1단계: MCP 프록시 설정 가이드로 프록시를 설치한다.

2단계: 프록시로 서버를 띄운다(같은 셸에 DATA_GO_KR_SERVICE_KEY를 export 한 상태):

DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 mcp-proxy --transport streamablehttp --port 8080 -- npx -y @opendata-kr/narajangteo-prespec-mcp@latest

3단계: StudioAssist에 다음 설정으로 서버를 추가한다:

  • Connection URL: http://127.0.0.1:8080/mcp

  • Transport type: HTTP

Kiro Settings에서 Configure MCPOpen Workspace or User MCP Config → 위 config를 사용한다.

또는 Activity BarKiroMCP ServersOpen MCP Config에서 위 config를 사용한다.

~/.vibe/config.toml에 추가한다:

[[mcp_servers]]
name = "narajangteo-prespec"
transport = "stdio"
command = "npx"
args = ["-y", "@opendata-kr/narajangteo-prespec-mcp@latest"]
env = { DATA_GO_KR_SERVICE_KEY = "발급받은_Decoding_키" }

opencode.json에 추가한다. 없으면 ~/.config/opencode/opencode.json에 만든다 (가이드):

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "narajangteo-prespec": {
      "type": "local",
      "command": ["npx", "-y", "@opendata-kr/narajangteo-prespec-mcp@latest"],
      "environment": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  }
}

Qoder Settings에서 MCP Server+ Add → 위 config를 사용한다.

또는 MCP 가이드를 따르고 위 config를 쓴다.

Qoder CLI로 서버를 추가한다 (가이드):

프로젝트 범위:

qodercli mcp add narajangteo-prespec -- npx @opendata-kr/narajangteo-prespec-mcp@latest

전역:

qodercli mcp add -s user narajangteo-prespec -- npx @opendata-kr/narajangteo-prespec-mcp@latest

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.

버튼으로 설치:

버튼은 키를 담지 못한다. 설치 후 서버 설정의 envDATA_GO_KR_SERVICE_KEY를 추가한다.

Settings | AI | Manage MCP Servers+ Add에서 MCP 서버를 추가하고 위 config를 사용한다.

~/.config/zed/settings.json에 추가한다(스키마는 Zed 버전에 따라 다를 수 있으니 Zed 공식 문서를 확인):

{
  "context_servers": {
    "narajangteo-prespec": {
      "command": { "path": "npx", "args": ["-y", "@opendata-kr/narajangteo-prespec-mcp@latest"] },
      "env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  }
}

ChatGPT Developer Mode처럼 원격(HTTPS) MCP만 지원하는 클라이언트는 로컬 stdio 서버를 직접 붙일 수 없다. stdio→HTTP 브리지(mcp-proxy)로 이 서버를 HTTP로 띄우고 공개 HTTPS 엔드포인트(리버스 프록시·터널·호스팅)로 노출한 뒤, 그 URL을 커넥터로 등록한다.

DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 mcp-proxy --transport streamablehttp --port 8080 -- npx -y @opendata-kr/narajangteo-prespec-mcp@latest

http://127.0.0.1:8080/mcp를 공개 HTTPS로 노출하는 것은 사용자 몫이다. (mcp-remote는 반대로 stdio 클라이언트를 원격 서버에 붙일 때 쓰는 도구라 여기엔 맞지 않는다.)

발견성

이 서버는 MCP 레지스트리에 io.github.opendata-kr/narajangteo-prespec-mcp로 기술된다. registry.modelcontextprotocol.io를 지원하는 클라이언트에서 검색·설치할 수 있다.

환경변수

환경변수

필수

비밀

기본값

설명

DATA_GO_KR_SERVICE_KEY

(없음)

공공데이터포털 Decoding(원본) 인증키

DATA_GO_KR_BASE_URL

아니오

아니오

https://apis.data.go.kr/1230000/ao/HrcspSsstndrdInfoService

서비스 경로를 포함한 전체 URL 오버라이드

도구

5개 도구 모두 읽기 전용 조회다. 20개 오퍼레이션을 조회 방식에 따라 묶었다. 아래 파라미터는 모든 도구에 공통이다.

  • kind: string[]. 업무구분 배열: cnstwk(공사) servc(용역) thng(물품) frgcpt(외자). 미지정 시 전 구분 병렬 조회. 병렬 조회는 API 요청 4건을 소모하므로 업무구분을 알면 지정한다

  • page: number. 페이지 번호(기본 1)

  • pageSize: number. 페이지당 건수(기본 10, 최대 100)

search_prespecs

사전규격을 기간(등록/변경일시) 또는 사전규격등록번호로 조회한다. 단순 기간·번호 조회에 쓴다.

파라미터

타입

설명

startDate

string

조회 시작일 YYYYMMDD

endDate

string

조회 종료일 YYYYMMDD

dateType

string

기간 기준: regist(등록일시, 기본) change(변경일시)

specRegistNo

string

사전규격등록번호로 단건 조회(지정 시 기간보다 우선)

search_prespecs_by_institution

발주기관명·실수요기관명으로 사전규격을 조회한다. 특정 기관의 발주 예정 물량을 볼 때 쓴다.

파라미터

타입

설명

orderInstitution

string

발주기관명

demandInstitution

string

실수요기관명

startDate

string

조회 시작일 YYYYMMDD

endDate

string

조회 종료일 YYYYMMDD

search_prespecs_by_product

품명·세부품명(번호)으로 사전규격을 조회한다. 관심 품목의 사전규격을 찾을 때 쓴다.

파라미터

타입

설명

productName

string

품명(사업명)

detailProductCode

string

세부품명번호

detailProductName

string

세부품명

startDate

string

조회 시작일 YYYYMMDD

endDate

string

조회 종료일 YYYYMMDD

search_prespecs_advanced

발주기관·수요기관·품명·참조번호·SW사업여부 등 복합 조건으로 사전규격을 조회한다. 여러 필터를 동시에 걸 때 쓴다.

파라미터

타입

설명

startDate

string

접수 시작일 YYYYMMDD

endDate

string

접수 종료일 YYYYMMDD

specRegistNo

string

사전규격등록번호로 조회(지정 시 최우선)

refNo

string

참조번호로 조회(지정 시 기간보다 우선)

noticeInstitution

string

발주기관명

demandInstitution

string

수요기관명

productName

string

품명(사업명)

detailProductCode

string

세부품명번호

swBusinessYn

string

SW사업 여부(Y/N)

조회 우선순위는 사전규격등록번호 > 참조번호 > 접수일시 순이다. 세부품명(detailProductName) 검색은 이 API가 지원하지 않는다. 세부품명으로 찾으려면 search_prespecs_by_product를 쓴다.

get_prespec_opinions

특정 사전규격(사전규격등록번호)에 달린 규격서 의견·답변 목록을 조회한다.

파라미터

타입

설명

specRegistNo

string

사전규격등록번호

startDate

string

조회 시작일 YYYYMMDD

endDate

string

조회 종료일 YYYYMMDD

모든 도구의 반환은 { query, results }다. results는 업무구분별로 { totalCount, invalidCount, items }를, 실패 시 해당 구분에 { error }를 담는다. invalidCount는 응답 스키마 검증에서 탈락해 items에서 제외된 건수다. 0이 아니면 API 응답 필드가 예고 없이 바뀐 신호이므로 이슈로 알려주면 반영한다.

응답 필드

Prespec (①②③④ 공통)

specRegistNo(사전규격등록번호), productName(품명/사업명), assignedBudget(배정예산액), orderInstitution(발주기관), demandInstitution(실수요기관), registDt(등록일시), changeDt(변경일시), opinionCloseDt(의견등록마감), receiptDt(접수일시), refNo(참조번호), bidNoticeList(관련 입찰공고번호 목록), businessDivision(업무구분), deliveryDays(납품기한일수), deliveryDeadline(납품기한), officialName(담당자), officialTel(담당자 전화), swBusinessYn(SW사업 여부), productDetailList(세부품목 배열: itemSeq·detailProductNo·detailProductName. 공사·용역은 빈 배열).

PrespecOpinion (⑤)

specRegistNo, refNo, opinionNo(의견번호), replyNo(답변번호), opinionTitle(제목), opinionContent(내용), writerCorp(작성업체), writerName(작성자), inputDt(등록일시), writerTel, writerEmail, opinionFileUrls(첨부파일 URL 배열).

개발

nvm use            # Node 24
pnpm install
pnpm test          # vitest
pnpm typecheck     # tsc --noEmit
pnpm build         # tsup, dist/ 생성

문제 해결

  • 인증 오류(코드 30): Encoding 키를 넣으면 이중 인코딩으로 실패한다. Decoding(원본) 키를 쓴다. 서버가 시작 시 Encoding 키로 보이면 경고 로그를 남긴다.

  • 결과코드 메시지: 트래픽 초과, 인증키 만료 등 data.go.kr 결과코드는 한국어 메시지로 정규화되어 반환된다.

  • 도구 동작 점검: MCP inspector로 직접 호출해 볼 수 있다.

    npx @modelcontextprotocol/inspector npx -y @opendata-kr/narajangteo-prespec-mcp

라이선스

MIT

Available Tools

5 tools
get_prespec_opinions규격서 의견 조회A
Read-only

특정 사전규격(사전규격등록번호)에 달린 규격서 의견·답변 목록을 조회한다. 사전규격 자체 목록이 필요하면 search_prespecs 계열 도구를 먼저 써서 등록번호를 얻는다. 업무구분 미지정 시 전 구분 병렬 조회. 데이터는 2025년 1월 이후 등록분이다.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNo업무구분: cnstwk=공사, servc=용역, thng=물품, frgcpt=외자. 미지정 시 전 구분 병렬 조회
pageNo페이지 번호(기본 1)
endDateNo조회 종료일 YYYYMMDD
pageSizeNo페이지당 건수(기본 10)
startDateNo조회 시작일 YYYYMMDD
specRegistNoNo사전규격등록번호(지정 시 inqryDiv=2, 기간보다 우선)

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds valuable context: data is limited to Jan 2025 onward, and parallel query behavior when kind unspecified. No contradictions, so score 4.

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

Conciseness5/5

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

Three well-structured sentences, front-loaded with the core purpose. Every sentence adds value, no fluff. Excellent conciseness.

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 the complexity (6 parameters, no output schema), the description is reasonably complete. It covers data recency, parallel behavior, and dependency on sibling tools. Could mention pagination defaults, but strong overall.

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 description coverage is 100%, so the schema already documents all 6 parameters. The description adds minor value by stating specRegistNo takes priority over dates, but adds no new meaning beyond what the schema provides. Baseline 3 is appropriate.

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 clearly states the tool's purpose: listing opinions/answers on a specific pre-specification (by registNo). It uses specific verb-resource combination and explicitly distinguishes from sibling search_prespecs tools, scoring a 5.

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?

The description provides clear guidance: use after obtaining registNo from search_prespecs, and explains behavior when kind is unspecified (parallel query). It lacks explicit when-not guidance but the sibling reference serves as a clear alternative, earning a 4.

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

search_prespecs사전규격 조회A
Read-only

사전규격을 기간(등록/변경일시) 또는 사전규격등록번호로 조회한다. 단순 기간·번호 조회에 쓴다. 기관 기준은 search_prespecs_by_institution, 품명 기준은 search_prespecs_by_product, 복합 조건은 search_prespecs_advanced를 쓴다. 업무구분 미지정 시 공사/용역/물품/외자를 병렬 조회한다. 데이터는 2025년 1월 이후 등록분이다.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNo업무구분: cnstwk=공사, servc=용역, thng=물품, frgcpt=외자. 미지정 시 전 구분 병렬 조회
pageNo페이지 번호(기본 1)
endDateNo조회 종료일 YYYYMMDD
dateTypeNo기간 기준: regist=등록일시(기본), change=변경일시
pageSizeNo페이지당 건수(기본 10)
startDateNo조회 시작일 YYYYMMDD
specRegistNoNo사전규격등록번호로 단건 조회(지정 시 기간보다 우선)

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint. Description adds that when kind is not specified, all categories are searched in parallel, and data is limited to after January 2025. No contradiction.

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

Conciseness5/5

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

Description is concise with only essential sentences, front-loaded with purpose and usage guidance. No redundancy.

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 7 parameters and no output schema, description covers purpose, usage, behavioral details, and parameter defaults well. Lacks explicit output format but acceptable for a search tool with high schema coverage and annotations.

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 baseline is 3. Description adds value by explaining default behavior for kind (parallel search when unspecified) and the data date limitation, which are not in schema descriptions.

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?

Description clearly states the tool searches prespecs by date range or registration number, using specific verbs and resources. It also distinguishes from sibling tools by naming alternatives.

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

Usage Guidelines5/5

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

Explicitly tells when to use this tool (simple date/number search) and when to use alternatives (by institution, by product, advanced search). Provides clear decision guidance.

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

search_prespecs_advanced사전규격 복합 검색A
Read-only

발주기관·수요기관·품명·참조번호·SW사업여부 등 복합 조건으로 사전규격을 조회한다. 여러 필터를 동시에 걸 때 쓴다(기관·품명 필터를 포괄). 조회 우선순위는 사전규격등록번호 > 참조번호 > 접수일시다. 세부품명 이름(name) 검색은 이 API가 지원하지 않으므로 그 경우 search_prespecs_by_product를 쓴다. 업무구분 미지정 시 전 구분 병렬 조회. 데이터는 2025년 1월 이후 등록분이다.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNo업무구분: cnstwk=공사, servc=용역, thng=물품, frgcpt=외자. 미지정 시 전 구분 병렬 조회
pageNo페이지 번호(기본 1)
refNoNo참조번호로 조회(지정 시 inqryDiv=3, 기간보다 우선)
endDateNo접수 종료일 YYYYMMDD
pageSizeNo페이지당 건수(기본 10)
startDateNo접수 시작일 YYYYMMDD
productNameNo품명(사업명)/물품분류명
specRegistNoNo사전규격등록번호로 조회(지정 시 최우선, inqryDiv=2)
swBusinessYnNoSW사업 대상 여부: Y=대상, N=비대상
demandInstitutionNo수요기관명
detailProductCodeNo세부품명번호
noticeInstitutionNo발주기관명

TDQS

A4.7/5.0
Behavior5/5

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

Annotations provide readOnlyHint and openWorldHint. Description adds significant behavioral context: priority order (specRegistNo > refNo > receipt date), data range (post-January 2025), and parallel search when kind is unspecified. No contradictions.

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?

Description is concise with a single sentence, but it packs multiple pieces of information. It is front-loaded with the main purpose and flows logically. Could be slightly restructured for readability, but overall efficient.

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 the complexity (12 parameters, multiple filters), the description covers purpose, usage guidelines, behavioral traits, and parameter context. Missing explicit mention of output format, but for a search tool with no output schema, this is acceptable. Data range and prioritization are well covered.

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 covers all 12 parameters with descriptions (100% coverage), so baseline is 3. The description adds overall parameter context like priority rules and data range, which aids in selecting parameters but does not elaborate on each parameter individually. This extra context justifies a 4.

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 clearly states the tool searches for prespecs with complex conditions using multiple filters (institution, product name, reference number, SW business status). It distinguishes from siblings by explicitly noting that product name search is not supported and directs to search_prespecs_by_product.

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

Usage Guidelines5/5

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

Explicitly explains when to use this tool (multiple filters), when not to (product name search), and provides alternative sibling. Also covers priority order and behavior when kind is unspecified.

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

search_prespecs_by_institution기관별 사전규격 조회A
Read-only

발주기관명·실수요기관명으로 사전규격을 조회한다. 특정 기관의 발주 예정 물량을 볼 때 쓴다. 품명 기준은 search_prespecs_by_product, 여러 조건을 동시에 걸려면 search_prespecs_advanced를 쓴다. 업무구분 미지정 시 전 구분 병렬 조회. 데이터는 2025년 1월 이후 등록분이다.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNo업무구분: cnstwk=공사, servc=용역, thng=물품, frgcpt=외자. 미지정 시 전 구분 병렬 조회
pageNo페이지 번호(기본 1)
endDateNo조회 종료일 YYYYMMDD
pageSizeNo페이지당 건수(기본 10)
startDateNo조회 시작일 YYYYMMDD
orderInstitutionNo발주기관명
demandInstitutionNo실수요기관명

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate readOnly and openWorld hints. The description adds valuable behavioral context: the parallel search across all classifications when kind is omitted, and data recency (post-January 2025). This goes beyond the annotated metadata without contradicting it.

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

Conciseness5/5

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

The description is concise (4 sentences) and front-loaded with the core purpose. Every sentence earns its place: purpose, use case, sibling differentiation, special behavior, and data scope.

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 7-parameter read-only search tool with no output schema, the description covers purpose, usage scenarios, special behavior, and data recency. Missing explicit clarification on whether orderInstitution and demandInstitution combine as AND or OR, but overall adequate.

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 baseline is 3. The description repeats the kind behavior already in the schema and contextualizes the institution parameters, but adds minimal new parameter-level detail beyond what the schema descriptions provide.

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 clearly states the tool searches by ordering institution or demand institution, and identifies specific use case (viewing expected order quantities). It also differentiates from sibling tools by naming search_prespecs_by_product and search_prespecs_advanced.

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

Usage Guidelines5/5

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

The description explicitly advises using alternative tools for product-based or multi-condition searches, and notes the behavior when business classification is unspecified. This provides clear guidance on when to use this tool versus alternatives.

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

search_prespecs_by_product품목별 사전규격 조회A
Read-only

품명·세부품명(번호·이름)으로 사전규격을 조회한다. 관심 품목의 사전규격을 찾을 때 쓴다. 기관 기준은 search_prespecs_by_institution, 여러 조건을 동시에 걸려면 search_prespecs_advanced를 쓴다(단 세부품명 이름 검색은 이 도구에만 있다). 업무구분 미지정 시 전 구분 병렬 조회. 데이터는 2025년 1월 이후 등록분이다.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNo업무구분: cnstwk=공사, servc=용역, thng=물품, frgcpt=외자. 미지정 시 전 구분 병렬 조회
pageNo페이지 번호(기본 1)
endDateNo조회 종료일 YYYYMMDD
pageSizeNo페이지당 건수(기본 10)
startDateNo조회 시작일 YYYYMMDD
productNameNo품명(사업명)/물품분류명
detailProductCodeNo세부품명번호
detailProductNameNo세부품명

TDQS

A4.6/5.0
Behavior5/5

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

Beyond annotations (readOnlyHint, openWorldHint), the description reveals that when 'kind' is unspecified, the tool performs parallel queries across all divisions, and that data is limited to registrations after January 2025. No contradictions with annotations.

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

Conciseness5/5

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

Description is concise with four sentences. The first sentence states the main purpose, followed by usage guidance and behavioral notes. No redundant 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?

For a tool with 8 parameters (all documented in schema), the description covers purpose, usage, uniqueness, data scope, and behavioral note. Minor missing: defaults for pagination and date range, but those are in schema. Adequate overall.

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 description coverage is 100%, so baseline is 3. The description briefly mentions key parameters (품명, 세부품명) but does not add significant additional meaning beyond the schema descriptions.

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 clearly states the verb '조회' (search) and resource '사전규격' (pre-specifications), specifying the search criteria as 품명 and 세부품명. It explicitly distinguishes from sibling tools by naming alternatives and their use cases.

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

Usage Guidelines5/5

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

Provides explicit when-to-use context ('관심 품목의 사전규격을 찾을 때'), names alternative tools for other cases, and notes that detail product name search is unique to this tool. Also explains behavior when no 업무구분 is specified and data recency.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 5 tool updatesv0.1.0
    • First observedget_prespec_opinions
    • First observedsearch_prespecs
    • First observedsearch_prespecs_advanced
    • First observedsearch_prespecs_by_institution
    • First observedsearch_prespecs_by_product

TDQS

A4.4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: one for retrieving opinions on a specific prespec, and four search variants covering different criteria (basic, advanced, by institution, by product). Descriptions explicitly guide the agent on which tool to use, preventing ambiguity.

Naming Consistency4/5

Four of five tools follow the 'search_prespecs_<modifier>' pattern, but 'get_prespec_opinions' uses a different verb and singular 'prespec' instead of plural 'prespecs'. This minor inconsistency could cause confusion but is still mostly predictable.

Tool Count5/5

Five tools is well-scoped for the domain of pre-specifications: four search tools cover the main query patterns (date, institution, product, complex) and one retrieves opinions. No unnecessary duplication.

Completeness3/5

The set covers search and opinion retrieval, but lacks a tool to retrieve full details of a single prespec. Agents must rely on search results, which may not provide complete information. This is a notable gap.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

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/opendata-kr/narajangteo-prespec-mcp'

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