Skip to main content
Glama

On 문서

결재 전 점검 · 예산 검산

on_check_text
Read-only

[On 결재점검] 「결재 올리기 전에 점검해 줘」「예산 검산해 줘」 요청이 이 도구다 — 산출근거 곱셈·표 합계·증감 검산(「5,000원 × 30명 × 2회 = 300,000원」, 표의 합계·소계 줄·계 열·수량×단가·산출근거 열, 전년 대비 증감·증감률·「△」 감소 표시)과 공문서 형식(날짜·시간 표기·붙임·끝 표시)·맞춤법·띄어쓰기·날짜·요일·금액·목록 합계·번호 차례를 문서(한글·PDF·워드) 또는 붙여 넣은 글(text)에서 점검해 분야별로 찾은 곳(문단 번호·표 번호·무엇을→무엇으로·까닭)을 돌려준다. checked 는 맞대 본 표·셈 수(어긋난 곳이 없어도 검산한 범위). check_only 인 항목은 규칙이 고칠 글을 바로 내지 않은 곳(사람이 볼 곳)이다. AI 없이 규칙으로. 문서는 고치지 않는다. 잰 값: 공공 문서 표본 2,558개에 새 검산이 낸 알림 18곳을 원문과 대조 — 모두 실제로 어긋난 곳(2026-11-27). 점검 결과는 참고용이며 최종 확인은 사람이 합니다.

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": "on_check_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
ocrNo글자 인식(스캔 쪽·그림) — 기본 꺼짐. 켜면 쪽 수만큼 따로 셈
textNo점검할 글(채팅에 붙여 넣은 글 그대로, 30만 자까지) — 주면 파일 대신 이 글을 본다
file_urlNo또는 이 서버의 15분 자료 주소(…/drop/…) — 명령을 쓸 수 있으면 curl -s --data-binary @파일 -H "x-file-name: 파일이름" https://onmunseo.kr/api/drop 이 돌려주는 url(올리기는 하루 도구 몫에 세지 않음), 아니면 웹 https://onmunseo.kr/start 「자료 올리기」에서 받은 주소. 그 밖의 주소는 받지 않음. 올릴 때 「한 번 읽으면 지우기」를 고른 자료는 내용을 꺼내는 도구가 한 번 읽은 뒤 지워짐(그 주소는 다시 못 읽음 — on_detect·on_meta 는 지우지 않음, 고르지 않으면 15분 동안 거듭 읽힘)
file_nameNo파일 이름(확장자로 형식을 가리고, 결과 파일 이름에 씀)
file_base64No문서 내용을 base64로(on_read·on_tables·on_chunks 는 한글·PDF·워드·엑셀·파워포인트, 고치기·PDF·쪽 그림은 한글 .hwp/.hwpx) — 큰 파일은 file_url 이 빠르다

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), and the description adds substantial context beyond them: rule-based with no AI, the document is never modified, the meaning of the `checked` and `check_only` return fields, the location→change→reason result shape, and the human-confirmation caveat. The sample-accuracy note (2,558 documents, 18 alerts all verified) further calibrates trust.

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

Conciseness3/5

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

The trigger examples are correctly front-loaded, but the body is a single long run-on sentence packed with nested parentheticals that is hard to parse on first read. Every element carries information, yet the density costs readability and could be split into short labeled lines.

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?

With no output schema, the description still explains the return fields (`checked`, `check_only`, per-field location/change/reason) and the non-modifying, reference-only nature of the result, which is enough to interpret output. Only minor gaps remain, such as how findings are ordered or bounded in volume for very large inputs.

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 the parameters are already documented in the schema. The description only indirectly clarifies input modes by saying it works on "문서(한글·PDF·워드) 또는 붙여 넣은 글(text)", which roughly maps to the file_url/file_base64 versus text split but adds no format or precedence detail beyond the schema. 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 names concrete user requests that map to this tool ("결재 올리기 전에 점검해 줘", "예산 검산해 줘") and then enumerates exactly what is checked: 산출근거 곱셈·표 합계·증감 검산, 공문서 형식, 맞춤법·띄어쓰기·날짜·요일·금액·목록 합계·번호 차례. It also states the negative scope ("문서는 고치지 않는다"), so an agent can separate it from any repair/rewrite tool without opening the 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?

The trigger utterances at the front give clear when-to-use guidance, and the "문서는 고치지 않는다" line establishes what the tool will not do. No alternatives are named, but no siblings exist in this context, so the only gap is the absence of explicit exclusion conditions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.