Skip to main content
Glama

On 문서

표만 뽑기

on_tables
Read-only

[On 글꺼내기] 문서의 표만 뽑는다. 사용자가 표를 「모두」「전부」 달라고 하면 all: true. 기본은 장 막대·제목 상자 같은 꾸밈 상자(한 줄짜리·한 칸짜리 상자)를 빼고 자료 표·연락처 표를 준다. 표 번호(index, 0부터)는 문서 차례 그대로 — 주면 그 표만. as=rows 면 줄·칸 글(JSON), 기본은 마크다운·HTML 표 그대로. 표마다 갈래(kind: data 자료 표·layout 꾸밈 상자·contact 연락처 표). 보안 등급 표시 문서는 열쇠에 허용이 없으면 돌려주지 않는다. mask=true 면 가린 글. 잰 값: 법령 별표 HWPX 50개 원본 대조 표 구조 TEDS 0.981, 공공데이터 워드·엑셀·파워포인트 표 칸 재현율 98.95·99.80·99.89%(2026-11-23).

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

Input Schema

NameRequiredDescriptionDefault
asNo
allNotrue 면 꾸밈 상자(장 막대·제목 상자)까지 모두
ocrNo글자 인식(스캔 쪽·그림) — 기본은 가벼운 그림 글만(PDF 의 한글 아닌 쪽 그림 몇 곳·2쪽 이하 스캔 문서, 몫에 안 셈). true 면 모든 스캔 쪽까지 읽고 쪽 수만큼 따로 셈(하루 30쪽), false 면 글자 인식 없이
maskNotrue 면 개인정보·접속 정보를 [전화번호 가림]처럼 가린 글로 받는다(올리기 관문)
indexNo뽑을 표 차례(0부터 — 꾸밈 상자까지 센 문서 차례)
preciseNo정밀 읽기(PDF) — 그림 속 글·표를 제자리에 끼워 읽음. 기본 꺼짐, 시간이 더 걸림. 열쇠 사용자만(손님은 기본 읽기). 읽은 쪽은 MCP 글자 인식 하루 몫(30쪽, ocr 과 같은 몫)과 앱 글자 인식 하루 쪽 한도(40쪽)에 함께 세고, 둘 중 하나라도 다 쓰면 그 뒤로는 기본 읽기 — MCP 로만 쓰면 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

A3.8/5.0
Behavior4/5

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

The annotations only declare readOnly/openWorld/destructive, so the description carries the rest and does add real behavior: the default silently excludes decorative one-line/one-cell boxes, each table carries a kind label, and security-graded documents are refused unless the key grants access. The remaining behavioral gap is that nothing beyond the accuracy statistics describes how large results are or how multiple tables are ordered/paginated in the response.

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 operational content is front-loaded and dense but readable, yet the closing benchmark sentence (TEDS 0.981, 98.95/99.80/99.89% cell recall, dated 2026-11-23) is marketing evidence that does not help an agent decide or invoke. The packed run-on style also makes it harder to scan than it needs to be.

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 9 optional parameters, no required fields, no output schema, and high schema coverage, the description supplies what the schema cannot: the default filtering policy, the index semantics, the kind vocabulary, and the authorization gate. It is essentially complete for correct invocation, with only response-shape/size expectations left implicit.

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 89%, so the per-parameter descriptions already do most of the work and baseline 3 applies. The description adds genuine meaning on top only for index (0-based, counted over the document order including decorative boxes, and "give it and you get only that table") and for as=rows versus the markdown/HTML default; all/as/mask are essentially restated from 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?

The first line states a specific verb and resource — extracting only the tables from a document — and the rest of the description enumerates what a "table" means here (data, layout, contact kinds) and what is returned by default. An agent can tell this apart from on_read/on_chunks by the "표만" scope. It stops short of naming those siblings as alternatives, which keeps it at 4 rather than 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?

"사용자가 표를 「모두」「전부」 달라고 하면 all: true" ties a user phrasing to a concrete parameter choice, and "index ... 주면 그 표만" explains the single-table path versus the default multi-table path. What is missing is an explicit statement of when to prefer on_read or on_chunks instead of this tool.

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.