Skip to main content
Glama

analyze_document

Analyze contracts and agreements to identify legal risks per clause, classify document type, and receive hints for relevant laws.

Instructions

[문서분석] 계약서/약관/협정서 텍스트의 조항별 법적 리스크 분석. 문서 유형 자동 분류, 위험 조항 식별, 관련 법령 검색 힌트 제공.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes분석할 계약서/약관 전문 텍스트
maxClausesYes분석할 최대 조항 수 (기본:15)
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It mentions outputs (classification, risk identification, hints) but does not disclose behavioral traits such as whether the tool is read-only, any side effects, rate limits, or behavior with large texts.

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

Conciseness5/5

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

A single sentence front-loads the purpose and lists key features. No redundant words; every phrase adds value.

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?

The description mentions three output types (classification, risk clauses, law hints), which is helpful given no output schema. However, it lacks details on output structure, error handling, or any prerequisites. Still, it provides a reasonable overview.

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 100%, so baseline is 3. The description adds minimal context beyond the schema (e.g., 'text' is the full text, 'maxClauses' defaults to 15). No further elaboration on format or constraints.

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 performs clause-by-clause legal risk analysis on contract/terms/agreement text, which distinguishes it from sibling tools that analyze regulations or other documents. However, it does not explicitly differentiate from siblings like analyze_alio_regulation.

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?

The description implies usage for analyzing contracts or agreements, but does not explicitly state when to use this tool vs alternatives (e.g., for regulations use analyze_alio_regulation). No when-not-to-use or exclusion criteria are provided.

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/workbookbulb863/korean-law-alio-mcp'

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