Skip to main content
Glama

solve_record

Process case records by parsing files and generating step-by-step legal documents like inventories and briefs, with automatic or manual execution.

Instructions

사건기록 파일/폴더 → 전 단계 진행, 단계별 파일 생성(req 5).

파싱은 즉시 수행하고 00_인벤토리.md 생성. auto=False(기본)면 단계 플레이북을 반환해 호스트 LLM이 단계별로 수행(save_stage 저장). auto=True 면 ANTHROPIC_API_KEY 로 서버가 01~06 파일을 자동 생성.

brief_type: 소장|민사준비서면_원고|민사준비서면_피고|답변서|형사변론요지서|형사의견서|검토의견서|규제검토의견서 등. party_side: '원고 측'|'피고 측'|'검사'|'변호인' — 미정이면 양측 분석·권고 후 확인 요청. format_sample: 따라야 할 양식 파일 경로(있으면 역분석해 draft 에 주입).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
autoNo
engineNoauto
sourceYes
out_rootNo
brief_typeNo
party_sideNo
format_sampleNo
Behavior3/5

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

No annotations are provided, so description carries full burden. It discloses parsing behavior, inventory creation, API key dependency for auto mode, and the playbook return workflow. Missing details on side effects, error handling, and idempotency.

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 reasonably concise, containing 5 sentences that cover the main flow without excessive detail. It front-loads the purpose. Could be improved with bullet points for parameters.

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?

Given 7 parameters and no output schema, the description covers the process and key parameters but leaves uncertainty about exact output format (playbook structure) and the overall workflow integration with save_stage. Adequate but not fully complete.

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 0%, so description must explain parameters. It explains auto, brief_type, party_side, format_sample adequately, and implies source is the input. However, engine and out_root are not described, leaving some gaps.

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?

Description clearly states the tool processes case record files/folders through stages, generating step-by-step files. It distinguishes between auto mode (server auto-generates) and non-auto mode (returns playbook for host LLM). However, compared to siblings like solve_case or parse_record, the unique value is not explicitly contrasted.

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

Usage Guidelines3/5

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

Description provides guidance on when to use auto=True vs auto=False, and explains behavior for undetermined party_side. It does not explicitly state when to prefer this tool over siblings like solve_case or stage_guide, leaving usage context somewhat implicit.

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