Skip to main content
Glama

check_precedent_odds

Read-onlyIdempotent

Analyze court precedents to assess legal odds, providing outcome statistics and key factors for any legal question.

Instructions

Find precedent statistics and key outcome factors for a legal question (판례 승률 분석).

Searches court precedents, analyzes outcomes (인용/기각/파기), and extracts key factors that influenced decisions. Useful for assessing legal odds.

Args: query: Legal question or keywords (e.g., "택배 파손 보상", "임대차 보증금 반환") display: Number of precedents to search (max 100, default 20) top_n: Number of top precedents to analyze in detail (default 5) oc: Optional OC override type: Response format - "JSON" (default), "XML", or "HTML"

Returns: Outcome statistics, key factors, and representative case summaries

Examples: >>> check_precedent_odds(query="택배 파손 보상") >>> check_precedent_odds(query="부당해고", display=50, top_n=10)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ocNo
typeNoJSON
queryYes
top_nNo
displayNo
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds valuable context about the tool's behavior: it searches precedents, analyzes outcomes (인용/기각/파기), and extracts key factors. The Returns section also clarifies what the agent can expect. No contradictions with annotations.

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?

The description is well-structured with sections for purpose, arguments, returns, and examples. It is front-loaded with a concise overview and each sentence in the Args section adds necessary detail. No redundant content, and the format is easy to scan.

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 covers the tool's purpose, parameter details, return summary, and examples. It lacks deeper details like error handling, jurisdiction, or analysis methodology, but given the tool's moderate complexity and strong annotations, this is sufficient for an agent to select and invoke it correctly.

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

Parameters5/5

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

Schema description coverage is 0%, and the description effectively compensates by explaining each parameter in the Args section: query, display, top_n, oc, and type. It provides meanings, defaults, and examples (e.g., display max 100, default 20; type options JSON/XML/HTML). This far exceeds what the schema offers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Find precedent statistics and key outcome factors for a legal question' and distinguishes it from sibling search tools by emphasizing outcome analysis and 'legal odds'. The verb 'Find' is specific, and the scope is well-defined, setting it apart from general precedent search tools.

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?

The description provides clear context: 'Useful for assessing legal odds' indicates when to use it. However, it does not explicitly mention alternatives or when not to use it, missing a bit of exclusions. This is still sufficient for an agent to identify the appropriate use case.

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/joohyukjung/LexLink-ko-mcp'

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