Skip to main content
Glama

On 문서

문서 비교(대비표)

on_compare
Read-only

[On 글꺼내기] 「신구대조표 만들어 줘」「두 문서 뭐가 바뀌었는지 비교해 줘」 요청이 이 도구다 — 두 문서(한글·PDF·워드·엑셀, 형식이 달라도 됨)를 문단·표 칸마다 맞춰 바뀜·새로·지움을 「현행 | 개정(안) | 비고」 대비표로 보여 준다(AI 없이). 보안 등급 표시 문서는 열쇠에 허용이 없으면 돌려주지 않는다. mask=true 면 가린 글.

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_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
ocrNo글자 인식(스캔 쪽·그림) — 기본은 가벼운 그림 글만(PDF 의 한글 아닌 쪽 그림 몇 곳·2쪽 이하 스캔 문서, 몫에 안 셈). true 면 모든 스캔 쪽까지 읽고 쪽 수만큼 따로 셈(하루 30쪽), false 면 글자 인식 없이
maskNotrue 면 개인정보·접속 정보를 [전화번호 가림]처럼 가린 글로 받는다(올리기 관문)
a_urlNo또는 On 문서 「자료 올리기」(웹 /start)에서 받은 15분 자료 주소(…/drop/…) — 그 밖의 주소는 받지 않음. 올릴 때 「한 번 읽으면 지우기」를 고른 자료는 내용을 꺼내는 도구가 한 번 읽은 뒤 지워짐(그 주소는 다시 못 읽음 — on_detect·on_meta 는 지우지 않음, 고르지 않으면 15분 동안 거듭 읽힘)
b_urlNo또는 On 문서 「자료 올리기」(웹 /start)에서 받은 15분 자료 주소(…/drop/…) — 그 밖의 주소는 받지 않음. 올릴 때 「한 번 읽으면 지우기」를 고른 자료는 내용을 꺼내는 도구가 한 번 읽은 뒤 지워짐(그 주소는 다시 못 읽음 — on_detect·on_meta 는 지우지 않음, 고르지 않으면 15분 동안 거듭 읽힘)
a_nameNo
b_nameNo
a_base64No현행(앞) 문서 base64
b_base64No개정(뒤) 문서 base64

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds real context beyond them: comparison runs without AI, granularity is paragraph and table cell, and security-graded documents are withheld unless the key carries permission. It omits the one-time-read deletion behavior and any limits, and the final mask sentence is cut off mid-thought.

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 definition is front-loaded with a bracketed prefix and trigger utterances, which is good, but it is a single dense run-on block and the last sentence terminates mid-word ('가린 글.'), signaling an incomplete or truncated definition. Density is high, but the truncation costs it.

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

Completeness3/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 does the right thing by describing the return shape as a three-column comparison table with changed/new/deleted markers, and it covers the access-control caveat. However, it leaves out input-combination rules, size/page limits, and the read-once deletion caveat that only appears in the schema, and the truncated tail leaves the masking behavior unexplained.

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 75%, so the schema documents most parameters (ocr, mask, a_url, b_url, a_base64, b_base64) in detail. The description adds essentially nothing about parameters — only a truncated 'mask=true 면 가린 글' — and never clarifies the critical input-mode question (URL vs base64 pairs, and a_/b_ pairing) despite 0 required parameters.

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?

The description states a specific verb and resource: compare two documents paragraph-by-paragraph and table-cell-by-table-cell and produce a 「현행 | 개정(안) | 비고」 diff table, with supported formats (한글·PDF·워드·엑셀) and example user utterances. It is unambiguous what the tool does, but it never names a sibling (e.g., on_read for single-document extraction), so differentiation is implied rather than stated.

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?

Trigger phrases (「신구대조표 만들어 줘」, 「두 문서 뭐가 바뀌었는지 비교해 줘」) make the when-to-use condition explicit and easy to match against a user request. There are no when-not-to-use statements or named alternatives, so an agent facing a single-document request gets no explicit routing.

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.