Skip to main content
Glama

parse_record

Extract and inventory Korean case record folders or single PDF files. Parses documents into structured chunks with page count and scan status using OCR engines.

Instructions

사건기록 폴더(또는 단일 PDF)를 추출·인벤토리화. opendataloader 우선, pymupdf 폴백.

source: 사건기록 폴더 경로 또는 PDF 경로. engine: 'auto'|'opendataloader'|'pymupdf'|'pdfplumber'. 반환: 인벤토리·청크 추출본 경로·총면수·정독모드·스캔본·경고.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
engineNoauto
sourceYes
subjectNo기록
out_rootNo
Behavior3/5

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

No annotations are provided, so the description carries the burden. It lists return fields (inventory, chunk path, total pages, etc.) which adds value, but does not disclose authorization needs, destructive potential, or rate limits.

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?

The description is concise and front-loaded with the main action. However, the inclusion of return fields in a list format could be more structured. Overall efficient.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 4 parameters and no output schema, the description lacks detail on two parameters (subject, out_root) and does not fully explain the return structure or usage context. For a parsing tool, more completeness is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%. The description briefly mentions source and engine but does not explain subject or out_root parameters. Engine values are implied but not fully documented.

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 clearly states the tool extracts and inventories case record folders or PDFs, and mentions the engine fallback. It uses a specific verb and resource, but does not explicitly distinguish from sibling tools.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. The description only mentions internal engine preference, not usage context or exclusions.

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

Install Server

Other Tools

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/kmjy98-sketch/Gyeongguk'

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