legalize-kr MCP
Server Quality Checklist
Latest release: v1.0.0
- Disambiguation5/5
Each tool targets a distinct operation: reading current files, listing law directories, diffing files, searching, viewing git history, and retrieving historical versions. The only slight overlap between kr_read_file and kr_file_at_date is clearly differentiated by temporal focus.
Naming Consistency4/5All tools share the 'kr_' prefix, and most follow a verb_noun pattern (read_file, list_laws, git_log, file_at_date). However, kr_diff and kr_search are verb-only, creating a minor inconsistency in naming style.
Tool Count5/5With 6 tools, the set is well-scoped for a legal document browsing server. Each tool serves a clear purpose without unnecessary redundancy, fitting comfortably within the ideal 3-15 range.
Completeness4/5The server covers core read-only workflows: discovering laws, reading current and historical content, searching, diffing, and viewing git history. A notable gap is the lack of a tool to list individual files within a law directory, which prevents agents from enumerating files without guessing.
Average 3.6/5 across 6 of 6 tools scored.
See the Tool Scores section below for per-tool breakdowns.
- No community issues in the last 6 months
- 0 commits in the last 12 weeks
- No stable releases found
- No critical vulnerability alerts
- No high-severity vulnerability alerts
- No code scanning findings
- CI status not available
Add a LICENSE file by following GitHub's guide. Once GitHub recognizes the license, the system will automatically detect it within a few hours.
If the license does not appear after some time, you can manually trigger a new scan using the MCP server admin interface.
MCP servers without a LICENSE cannot be installed.
This repository includes a README.md file.
No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.
Tip: use the "Try in Browser" feature on the server page to seed initial usage.
Add a glama.json file to provide metadata about your server.
If you are the author, simply .
If the server belongs to an organization, first add
glama.jsonto the root of your repository:{ "$schema": "https://glama.ai/mcp/schemas/server.json", "maintainers": [ "your-github-username" ] }Then . Browse examples.
Add related servers to improve discoverability.
How to sync the server with GitHub?
Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.
To manually sync the server, click the "Sync Server" button in the MCP server admin interface.
How is the quality score calculated?
The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).
Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.
Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).
Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.
Tool Scores
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotation readOnlyHint=true already indicates this is a read-only operation, so the bar for behavioral disclosure is lower. The description adds context on the internal workflow (git log to find the commit, optionally git show to fetch content), which explains what the tool does under the hood. However, it does not disclose potential edge cases like invalid dates, missing commits, or how maxChars affects output, which would add further transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, compact sentence with no filler. It is front-loaded with the core operation, though it leans on git jargon that may reduce clarity for some users. Overall, it is concise and avoids redundancy, earning a high but not perfect score due to the technical phrasing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness2/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no output schema and moderate complexity (5 params, 3 required), so the description should compensate by explaining what the tool returns and when to use it. It only describes the internal git steps and does not mention return values, error behavior, or the practical difference between includeContent true/false. This leaves the agent underinformed for effective invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema covers 60% of parameters with descriptions, including date, lawDir, fileName, and maxChars. The tool description adds a bit of semantic value by implying that 'date' is used for the commit lookup and that content retrieval is optional (i.e., includeContent). However, it does not systematically explain each parameter, and the coverage is moderate, so the description only partially compensates for the gaps.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose4/5Does the description clearly state what the tool does and how it differs from similar tools?
The description explains a specific action: finding the commit before a given date and optionally retrieving the content at that time. It identifies the resource (law file at a specific date) and the operation, which is more than a tautology. However, it uses git implementation details rather than a clear functional statement like 'retrieve the text of a law file as of a specific date,' and it does not explicitly distinguish itself from sibling tools like kr_read_file.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines2/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It does not mention that it is for historical/dated lookups, nor does it name kr_read_file or kr_git_log as alternatives. The only implicit hint is the date parameter and the phrase '당시 본문' (text at that time), but no explicit when/when-not context is given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The readOnlyHint annotation already covers safety, and the description adds minimal context (path scope and a README reference). It does not disclose behavioral details such as default limit/format behavior or how fileName granularity works, which remain in the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that efficiently conveys the core purpose without unnecessary details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness3/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple read-only nature and lack of output schema, the description is minimally adequate but omits context about return value structure or when to use it relative to siblings. It relies heavily on the tool name and schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters2/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 50% (lawDir and fileName) but limit and format lack descriptions. The tool description does not compensate by explaining these parameters, leaving their semantics to the schema's defaults and enums.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool returns a git log for a specified law path, using a specific verb and resource. It distinguishes itself from siblings like kr_diff (which deals with diffs) and kr_read_file (which reads content) by naming 'git log' explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines2/5Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like kr_diff or kr_file_at_date. The description only mentions 'README의 git log' without explaining contexts, exclusions, or relative advantages.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safe-read nature is covered. The description adds useful context: UTF-8 encoding and the working-tree scope. However, it claims to read the 'full text' (전문) while the schema allows truncation via maxChars, a behavioral trait not disclosed in the description. This is not a contradiction with annotations but is an omission.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, focused sentence that includes the core operation and a helpful README reference ('cat example'). It is concise, front-loaded, and contains no unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness4/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity, the readOnlyHint annotation, and complete parameter schema, the description covers the essential purpose and mode (UTF-8, working tree). It falls slightly short by not mentioning the truncation behavior tied to maxChars, but the schema already explains that, so the gap is minor.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, with each parameter already well-described (e.g., lawDir, fileName enum, maxChars with default and maximum). The description only repeats the placeholders {lawDir}/{fileName}, adding minimal value beyond what the schema already provides. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose4/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool reads the full text of a specified file from the working tree, with a specific verb ('읽습니다') and resource (kr/{lawDir}/{fileName}). It distinguishes itself from siblings by emphasizing '워킹 트리' (current content), though it does not explicitly name alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines2/5Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance is provided on when to use this tool versus alternatives such as kr_file_at_date. The working-tree reference implies current content, but the description lacks any when/when-not statements or mention of sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the agent knows it is a safe read operation. The description adds that it uses git diff and requires files in the same folder, which is useful context. However, it does not describe the output format, edge cases, or any side effects beyond the annotation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that front-loads the core operation (git diff) and the key constraint (same law folder). It contains no redundant information, and the README reference is a minor but acceptable addition. It is highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness4/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple diff tool with fully documented parameters and a read-only annotation, the description is largely complete. It states what it does and the folder constraint, and references the README for examples. Since there is no output schema, a direct statement about the return value would improve completeness, but the action and constraints are sufficiently clear for an agent to invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema fully describes all three parameters with 100% coverage, including enums for fileA and fileB and lawDir's meaning. The description adds that files are Markdown and in the same folder, but this is already inferable from the schema enum values and lawDir description. The description does not significantly enhance parameter understanding beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool runs git diff on two Markdown files within the same law folder, which is a specific verb and resource. It distinguishes itself from sibling tools like kr_read_file (single file reading) and kr_git_log (history) by focusing on comparing two files. The title "두 법령 파일 비교" reinforces this purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines3/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage: when you need to compare two files in the same law folder. However, it does not explicitly mention alternatives or when not to use this tool, such as when reading a single file would suffice. The context is clear but lacking explicit exclusions or contrasts with sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotation readOnlyHint=true already covers the safety profile. The description adds the search scope (kr/**/*.md) and the note about using ripgrep if available, which is some behavioral context, but does not disclose output format, pagination, or other potential side effects. This is a minimal addition.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that includes the core purpose and a key behavioral detail (ripgrep). Every word earns its place with no redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness3/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (5 parameters, no output schema), the description is minimal. It conveys the core search behavior and scope, but does not clarify the return format beyond a grep analogy. The schema covers parameter details, but the lack of an output schema and richer description leaves some uncertainty for the agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 80%, leaving only maxResults without a description. The description itself does not elaborate on parameter meanings beyond the schema, though it does imply recursive search similar to grep -r. The schema already provides sufficient detail for most parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool searches for strings in kr/**/*.md, with a specific verb and resource. This clearly distinguishes it from sibling tools such as kr_read_file, kr_list_laws, and kr_diff, all of which have different purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines4/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage as a full-text search over Korean law markdown files, similar to grep -r. It provides clear context but does not explicitly name alternatives or exclusions, though the sibling tools are obviously different in function.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The readOnlyHint annotation already declares the tool is safe for reads. The description adds useful behavioral context by specifying the result is sorted and limited to immediate subdirectories (직계 하위). This goes beyond the annotation without contradicting it, though it omits details like error handling or hidden files.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence in Korean that immediately states the return type and scope. It is front-loaded and contains no filler, making it highly concise and efficient for an agent to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness4/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple listing tool with no input parameters and no output schema, the description provides sufficient information about what is returned (sorted folder names) and the scope (direct children of kr/). It could mention the exact format (e.g., array) but this is implied by '디렉터리 이름을 반환합니다'. Overall, it is complete enough for an agent to invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters4/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has zero parameters, and schema coverage is 100%. The baseline for no parameters is 4, and the description correctly does not invent parameter details. Since there are no parameters to explain, the description is adequate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool returns sorted names of direct sub-law directories under 'kr/'. It specifies the verb '반환합니다' (returns), the resource '법령 디렉터리 이름' (law directory names), and the scope 'kr/ 직계 하위' (immediate subdirectories). This distinguishes it from sibling tools like kr_read_file or kr_diff, which operate on file contents or changes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines3/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool should be used to list law categories, but it does not explicitly state when to use it versus alternatives like kr_search or kr_file_at_date. No exclusions or alternative tool references are provided, leaving the usage context to inference rather than direct guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
GitHub Badge
Glama performs regular codebase and documentation scans to:
- Confirm that the MCP server is working as expected.
- Confirm that there are no obvious security issues.
- Evaluate tool definition quality.
Our badge communicates server capabilities, safety, and installation instructions.
Card Badge
Copy to your README.md:
Score Badge
Copy to your README.md:
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/santarosalia/legalize-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server