Skip to main content
Glama

legal_resolver

Read-onlyIdempotent

Identify applicable laws, precedents, and interpretations for a legal situation. Submit a plain-language description to receive a comprehensive legal analysis from multiple databases.

Instructions

Find all applicable laws, precedents, and interpretations for a situation (법률 종합 분석).

Given a plain language description of a legal situation, this tool searches across multiple legal databases in one call: law articles, court precedents, legal interpretations, and citation networks.

Args: situation: Plain language description (e.g., "직원이 고객 데이터를 USB에 담아갔다") display: Results per sub-query (default 5) oc: Optional OC override type: Response format - "JSON" (default), "XML", or "HTML"

Returns: Comprehensive legal analysis with applicable laws, precedents, interpretations, and citations

Examples: >>> legal_resolver(situation="집주인이 보증금을 안 돌려줘요") >>> legal_resolver(situation="회사에서 갑자기 해고당했어요", display=3)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ocNo
typeNoJSON
displayNo
situationYes
Behavior4/5

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

Annotations already indicate readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds behavioral context by noting that it runs multiple sub-queries (via 'display: Results per sub-query') and covers specific categories of legal sources, adding value beyond the annotations.

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 well-structured with a summary, detailed explanation, parameter list, returns, and examples. It is somewhat longer than necessary but every section adds value, and the key purpose is front-loaded in the first sentence.

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?

For a tool with 4 parameters and no output schema, the description covers purpose, parameters, return type, and usage examples. It does not explain the 'oc' parameter or the exact structure of the returned analysis, leaving some gaps, but overall it is reasonably complete given the annotations.

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

Parameters4/5

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

The schema has 0% description coverage, but the description's Args section explains each parameter: situation (plain language), display (results per sub-query), type (response format). The 'oc' parameter is only described as 'Optional OC override', which is vague and not fully clarified, preventing a 5.

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 all applicable laws, precedents, and interpretations for a situation' and explicitly mentions searching across multiple legal databases (law articles, court precedents, legal interpretations, citation networks). This differentiates it from sibling tools like law_search or prec_search, which likely target single databases.

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 usage context: it accepts a plain language situation and performs a comprehensive multi-database search in one call. However, it does not explicitly state when not to use this tool or name alternative tools, though the sibling list provides implicit context.

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