Skip to main content
Glama

canlii-mcp

CanLII 캐나다 법률 정보 API를 위한 MCP (Model Context Protocol) 서버입니다. AI 어시스턴트가 모든 연방, 주 및 준주 관할 구역의 캐나다 판례 및 법률 메타데이터에 접근할 수 있도록 합니다.

참고: CanLII API는 제목, 인용, 날짜, 키워드, 인용 관계와 같은 메타데이터만 제공합니다. 전체 문서 텍스트는 API를 통해 제공되지 않습니다.

도구

도구

설명

list_case_databases

CanLII 컬렉션의 모든 법원 및 재판소 목록

list_cases

특정 법원/재판소 데이터베이스의 판결문 탐색

get_case

특정 사건의 메타데이터(제목, 인용, 날짜, 키워드) 가져오기

get_case_citations

특정 사건이 인용한 사건, 해당 사건을 인용한 사건, 또는 참조된 법률 가져오기

list_legislation_databases

모든 법령 및 규정 데이터베이스 목록

list_legislation

특정 데이터베이스의 법령 또는 규정 탐색

get_legislation

특정 법률의 메타데이터 가져오기

Related MCP server: courtlistener-mcp

요구 사항

사용법

npx를 통한 stdio (가장 빠름)

{
  "mcpServers": {
    "canlii": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@tomilashy/canlii-mcp"],
      "env": {
        "CANLII_API": "your_api_key"
      }
    }
  }
}

stdio (소스에서 실행)

npm install
npm run build
node dist/index.js

MCP 설정에 추가:

{
  "mcpServers": {
    "canlii": {
      "command": "node",
      "args": ["/path/to/canlii-mcp/dist/index.js"],
      "env": {
        "CANLII_API": "your_api_key"
      }
    }
  }
}

HTTP 서버

PORT=3000 CANLII_API=your_api_key node dist/index.js --transport http

MCP 엔드포인트는 http://localhost:3000/mcp에서 사용할 수 있습니다. 서버는 상태 비저장(stateless) 모드로 실행되며, 각 요청은 독립적이므로 세션 ID나 초기화 핸드셰이크가 필요하지 않습니다. 클라이언트는 도구를 직접 호출할 수 있습니다:

curl -X POST http://localhost:3000/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_case_databases","arguments":{"language":"en"}}}'

Docker

docker run -e CANLII_API=your_api_key -e MCP_AUTH_TOKEN=your_secret -p 3000:3000 ghcr.io/tomilashy/canlii-mcp

또는 Docker Compose 사용:

services:
  canlii-mcp:
    image: ghcr.io/tomilashy/canlii-mcp
    environment:
      CANLII_API: your_api_key
      MCP_AUTH_TOKEN: your_secret  # optional
    ports:
      - "3000:3000"

Cloudflare Workers

서버에는 Workers 호환 진입점(src/worker.ts)이 포함되어 있습니다.

CLI 배포

npx wrangler secret put CANLII_API
npx wrangler secret put MCP_AUTH_TOKEN  # optional
npx wrangler deploy

대시보드 배포 (Git 연결)

  1. Cloudflare 대시보드 → Workers & Pages → Create → Connect to Git으로 이동합니다.

  2. tomilashy/canlii-mcp 저장소를 선택합니다.

  3. 애플리케이션 설정 페이지에서:

    • 프로젝트 이름: canlii-mcp

    • 빌드 명령어: npm install && npm run build

    • 배포 명령어: npx wrangler deploy (사전 입력됨)

  4. 고급 설정을 확장합니다:

    • 변수 이름: CANLII_API

    • 변수 값: 본인의 CanLII API 키

    • 암호화를 체크하여 비밀 값으로 저장합니다.

  5. 배포를 클릭합니다.

MCP 엔드포인트는 https://canlii-mcp.<your-subdomain>.workers.dev/mcp에 위치합니다.

설정

환경 변수

필수

기본값

설명

CANLII_API

예

—

본인의 CanLII API 키

PORT

아니오

3000

HTTP 서버 포트 (HTTP 모드 전용)

MCP_AUTH_TOKEN

아니오

—

HTTP 인증을 위한 Bearer 토큰. 설정 시 모든 HTTP 요청에 Authorization: Bearer <token>이 포함되어야 합니다. 설정하지 않으면 서버가 인증 없이 실행됩니다.

속도 제한

서버는 CanLII의 API 제한을 자동으로 적용합니다:

  • 한 번에 1개의 요청

  • 초당 2개의 요청

  • 일일 5,000개의 요청

일일 제한을 초과하는 요청은 API에 도달하기 전에 오류를 반환합니다.

개발

npm install
npm run build      # compile TypeScript
npm run watch      # watch mode

릴리스

이 프로젝트는 semantic-release를 통해 시맨틱 버전 관리를 사용합니다. 커밋 메시지는 Conventional Commits 사양을 따릅니다:

커밋 접두사

릴리스 유형

fix:

패치 (1.0.0 → 1.0.1)

feat:

마이너 (1.0.0 → 1.1.0)

feat!: 또는 BREAKING CHANGE

메이저 (1.0.0 → 2.0.0)

main 브랜치에 푸시하면 릴리스 워크플로우가 트리거됩니다. 릴리스가 생성되면 Docker 이미지가 자동으로 빌드되어 ghcr.io에 게시됩니다.

라이선스

MIT

Available Tools

7 tools
get_caseGet CaseA
Read-only
Inspect

Get metadata for a specific case including title, citation, decision date, keywords, and URL.

ParametersJSON Schema
NameRequiredDescriptionDefault
caseIdYesCase ID from list_cases (e.g. "2008scc9")
databaseIdYesDatabase ID (e.g. "csc-scc")
languageNoResponse languageen

TDQS

A4/5.0
Behavior4/5

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

The annotations already provide readOnlyHint: true, so the read-only nature is known. The description adds behavioral context by specifying the type of data returned (metadata fields), which goes beyond the annotation. However, it does not mention response language behavior or potential limitations, so it's not a 5.

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 a single, well-structured sentence that leads with the verb and object, then concisely lists the returned fields. Every word is informative with no redundancy, making it easily scannable for an AI agent.

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?

With no output schema, the description carries responsibility for explaining return values, and it does so by listing the main metadata fields. It adequately covers the essential behavior for a simple read-only tool, though it omits details like response structure or error handling. Given the tool's simplicity and the provided schema, this is sufficiently 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?

The schema descriptions cover 100% of parameters, each with clear meaning (caseId from list_cases, language enum, databaseId example). The description adds no additional parameter semantics beyond what the schema already provides, so the baseline score of 3 is appropriate.

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 uses a specific verb ('Get') and clearly identifies the resource ('metadata for a specific case') while listing the key fields returned (title, citation, decision date, keywords, URL). This differentiates it from sibling tools like get_legislation (which targets legislation) and get_case_citations (which returns citations) by focusing on case metadata retrieval.

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 when you need metadata for a specific case rather than a list (list_cases) or legislation (get_legislation), but it does not explicitly state when to use this tool versus alternatives. It lacks any exclusion criteria or direct reference to sibling tools, so guidance is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_case_citationsGet Case CitationsA
Read-only
Inspect

Get citation information for a case: what it cites, what cites it, or what legislation it references. Note: the CanLII API currently only supports English for this endpoint; French requests will fall back to English.

ParametersJSON Schema
NameRequiredDescriptionDefault
caseIdYesCase ID (e.g. "1999canlii1527")
citationTypeYesType of citation data to retrieve
databaseIdYesDatabase ID (e.g. "onca")
languageNoResponse language (currently only 'en' is supported by the API)en

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true, and the description adds valuable behavioral context by noting that the API only supports English for this endpoint, with French requests falling back to English. This is beyond what annotations convey and helps set expectations.

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 consists of two succinct sentences: the first states the tool's purpose, and the second adds a critical language constraint. Every word earns its place, with no fluff or repetition.

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 read-only lookup tool, the description covers the core purpose and a key limitation. Although there is no output schema, the nature of citation data is self-explanatory, and the added language note addresses a potential edge case. A bit more detail on response structure would elevate it further, but current coverage is solid.

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?

The input schema has 100% description coverage for all four parameters, including enums and examples. The description does not add additional parameter-level meaning beyond what the schema already provides, so the baseline of 3 applies.

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 explicitly states 'Get citation information for a case' and enumerates the three types of data (what it cites, what cites it, legislation referenced), making the tool's purpose unmistakable. It clearly distinguishes from sibling tools like get_case or get_legislation by focusing solely on citation data.

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 a clear context for when to use the tool—when citation data is needed—but it does not explicitly name alternatives or when-not-to-use scenarios. This is clear guidance without exclusions, warranting a 4 rather than a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_legislationGet LegislationA
Read-only
Inspect

Get metadata for a specific piece of legislation including title, citation, dates, and repeal status.

ParametersJSON Schema
NameRequiredDescriptionDefault
databaseIdYesLegislation database ID
languageNoResponse languageen
legislationIdYesLegislation ID from list_legislation (e.g. "rso-1990-c-a1")

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds return-field details ('including title, citation, dates, and repeal status') which is useful context beyond annotations. However, it does not disclose any potential behavioral quirks like error handling, response format, or language-specific variations.

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 a single, front-loaded sentence that states the core purpose, omits any fluff, and includes the most relevant details about the returned metadata. It is optimally concise for an agent to parse quickly.

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?

Given the tool's simplicity (3 params, no output schema), the description adequately explains the return content (title, citation, dates, repeal status). It covers the essential purpose and fields, though it could benefit from a note about using it after list_legislation, which is already hinted in the schema. The absence of an output schema makes the field enumeration valuable.

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%, with all three parameters (language, databaseId, legislationId) having clear descriptions. The tool description does not add any parameter-specific meaning beyond what the schema already provides, so it meets the baseline but does not exceed it.

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 purpose: 'Get metadata for a specific piece of legislation' with a specific verb ('Get') and resource ('legislation'), distinguishing it from sibling tools like 'list_legislation' which lists multiple items. It also enumerates the key fields returned (title, citation, dates, repeal status).

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?

Usage context is only implied by the phrase 'specific piece of legislation' and the legislationId schema description referencing 'list_legislation'. There is no explicit statement about when to use this tool versus list_legislation or get_case, nor any exclusions. The example in the schema helps but the description itself lacks clear guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_case_databasesList Case DatabasesA
Read-only
Inspect

List all courts and tribunals in the CanLII collection with their database IDs.

ParametersJSON Schema
NameRequiredDescriptionDefault
languageNoResponse languageen

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, and the description's 'List' wording is consistent. It adds scope context (all courts/tribunals, database IDs) but does not provide additional behavioral details like pagination or response format.

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?

Single sentence, starts with the verb, contains zero filler, and fully conveys the operation in a clear front-loaded manner.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Low complexity (one optional param), schema covers all params, readOnly annotation present, and description states the resource scope and output fields; no major gaps.

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 fully documents the single optional language parameter (100% coverage, enum en/fr, default en). The description adds no parameter-specific information, so baseline 3 applies.

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?

Description uses specific verb 'List' with resource 'courts and tribunals in the CanLII collection' and output 'database IDs', clearly distinguishing from sibling list_legislation_databases which covers a different resource.

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?

No explicit guidance on when to use this tool versus list_legislation_databases or list_cases; usage is only implied by the clear resource scope. No alternatives or exclusions are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_casesList CasesB
Read-only
Inspect

List decisions from a specific caselaw database. Returns case titles, citations, and IDs.

ParametersJSON Schema
NameRequiredDescriptionDefault
databaseIdYesDatabase ID from list_case_databases (e.g. "onca", "csc-scc")
decisionDateAfterNoFilter: decision date after (YYYY-MM-DD)
decisionDateBeforeNoFilter: decision date before (YYYY-MM-DD)
languageNoResponse languageen
offsetNoStarting record index
publishedAfterNoFilter: published on CanLII after this date (YYYY-MM-DD)
publishedBeforeNoFilter: published on CanLII before this date (YYYY-MM-DD)
resultCountNoNumber of results to return (max 10000)

TDQS

B3.3/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true, and the description does not contradict this. The description adds a useful behavioral detail by stating that it returns case titles, citations, and IDs, but it does not disclose pagination behavior, default ordering, or how filters and offset/resultCount affect results. With read-only safety already covered by annotations, this is adequate but not rich.

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 two short sentences with no filler. It front-loads the action and return value, making it easy to scan. Every word earns its place.

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?

For a list endpoint with 8 parameters and no output schema, the description provides only minimal return-value information and no overview of pagination or filter combinations. However, the schema's 100% parameter descriptions and readOnlyHint annotation compensate for some gaps. It is minimally adequate but could benefit from mentioning how to page through results and the role of list_case_databases.

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 coverage is 100% and all parameters have descriptions. The tool description does not add additional parameter-level meaning beyond the schema; it only restates that decisions come from a specific database, which aligns with the databaseId parameter. Baseline 3 is appropriate.

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 uses a specific verb ('List') and identifies the resource ('decisions from a caselaw database'), and it mentions the returned fields (titles, citations, IDs). It is distinguishable from siblings like get_case or list_legislation, though it does not explicitly name an alternative as in the high-calibration example.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus get_case, get_case_citations, or list_case_databases. The phrase 'specific caselaw database' hints that a databaseId is needed, but this is only fully spelled out in the schema, not in the description itself. No when-not or alternative tool is mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_legislationList LegislationA
Read-only
Inspect

List statutes or regulations from a specific legislation database.

ParametersJSON Schema
NameRequiredDescriptionDefault
databaseIdYesLegislation database ID from list_legislation_databases (e.g. "ons" for Ontario statutes)
languageNoResponse languageen

TDQS

A3.8/5.0
Behavior3/5

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

The readOnlyHint annotation already communicates that this is a safe read operation. The description adds that it returns statutes or regulations, providing basic output context. It does not disclose pagination, ordering, or filtering behavior, but for a simple listing with annotations, this is adequate. No contradiction 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 a single clear sentence, front-loaded with the verb and resource. It contains no redundant words and efficiently conveys the core purpose.

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 simple listing tool with two parameters, a clear description, and a readOnlyHint, the provided context is sufficient. The lack of an output schema is not critical since the name and description indicate a list return. The workflow dependency on list_legislation_databases is captured in the schema description, helping completeness.

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 both language and databaseId are already well-documented. The description's phrase 'from a specific legislation database' aligns with the databaseId parameter but does not add new semantic information beyond the schema. Baseline 3 applies.

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 specifies the action (list) and the resource (statutes or regulations from a specific legislation database), clearly distinguishing it from sibling tools like list_legislation_databases (which lists databases) and get_legislation (which retrieves a single item). The phrase 'specific legislation database' signals the required databaseId.

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?

Usage context is implied by the required databaseId and the schema's reference to list_legislation_databases as the source of IDs. However, the description itself does not explicitly state when to use this tool versus alternatives like get_legislation, nor does it mention any exclusions. The guidance is present but only implicitly via schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_legislation_databasesList Legislation DatabasesA
Read-only
Inspect

List all legislation and regulation databases in the CanLII collection.

ParametersJSON Schema
NameRequiredDescriptionDefault
languageNoResponse languageen

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds the behavioral detail that it lists 'all' databases, indicating a comprehensive response. It also specifies the collection scope ('CanLII'), giving the agent context about the data source, but does not detail output format or pagination behavior.

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 a single, specific sentence with no filler, front-loads the action verb, and earns its place by clarifying the resource scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the low complexity, presence of readOnly annotation, and complete schema coverage, the description sufficiently defines the tool's behavior for an agent. It lacks an output schema but listing tools typically return a simple list, and the description sufficiently scopes the return value.

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?

The schema provides full coverage for the single 'language' parameter, including enum values, default, and description. The tool description itself does not address the parameter, which is acceptable since the schema carries all necessary semantic information.

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 uses the specific verb 'List' and clearly identifies the resource as 'legislation and regulation databases in the CanLII collection,' which distinguishes it from sibling tools like 'list_legislation' and 'list_case_databases.' It unmistakably conveys the tool's function.

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?

While it lacks explicit references to alternatives or exclusions, the description clearly implies usage when one needs to enumerate legislation/regulation databases, making the context of use transparent. No specific 'when not to use' is stated, but the tool's name and description draw a clear boundary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 7 tool updatesv1.0.3
    • First observedget_case
    • First observedget_case_citations
    • First observedget_legislation
    • First observedlist_case_databases
    • First observedlist_cases
    • First observedlist_legislation
    • First observedlist_legislation_databases

TDQS

A3.8/5.0

Scored across 7 tools

Disambiguation5/5

Each tool targets a distinct operation: retrieving specific case metadata, case citations, legislation, or listing various databases and documents. No functional overlap exists.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case, e.g., get_case, list_cases, get_legislation, making the API predictable.

Tool Count4/5

7 tools is well-scoped for a legal database API, covering core retrieval and listing operations. Slightly on the smaller side but still appropriate.

Completeness3/5

The set covers basic CRUD-like read operations for cases and legislation, but lacks search/full-text query capabilities, which are common in legal research APIs.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    MCP server giving AI agents structured access to Canadian federal, provincial, and municipal government data.
    5
    60
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    LegalMCP is a comprehensive US legal MCP server that enables AI assistants to search over 4 million US court opinions, manage Clio practice data, and access PACER federal filings through natural language.
    18
    68
    MIT