Skip to main content
Glama

Server Details

Semantic search over Polish law and case law, citing the exact in-force article.

If you are the author of this connector, you can claim ownership with GitHub, an HTTP challenge, or a DNS record. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
nalegaluorg/nalegalu
GitHub Stars
4

Available Tools

7 tools
get_articleA
Read-only
Inspect

Fetch the exact text of one article (or paragraph) of a Polish legal act.

    Use after search_law or another trusted source supplied the address and
    article key; never guess them. Deterministic lookup by act address
    (e.g. WDU19740240141) and article
    key (e.g. "133" or "Art. 133."). Optional paragraph_key (e.g. "1" or
    "§ 1.") narrows the result to a single paragraph.
    
ParametersJSON Schema
NameRequiredDescriptionDefault
addressYes
article_keyYes
paragraph_keyNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, signaling safe read operations. The description adds behavioral context by noting the lookup is deterministic and that users must have a trusted source for parameters. This goes beyond the annotations, though it stops short of explaining error handling or return edge cases.

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 compact and front-loaded, with the core purpose stated in the first sentence. Subsequent sentences add necessary detail about usage and parameters without any filler. Every line earns its place.

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 tool's moderate complexity (3 params, output schema present) and read-only nature, the description fully covers purpose, usage, and all parameter semantics. It also explains relationships to sibling tools, addressing the context in which the tool should be invoked. The output schema handles return-value details.

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?

The schema provides zero description coverage, so the description must compensate—and it does thoroughly. It explains the address with an example (WDU19740240141), the article key with formats ('133' or 'Art. 133.'), and the optional paragraph key ('1' or '§ 1.'), including its narrowing purpose.

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 begins with a specific verb and resource: 'Fetch the exact text of one article (or paragraph) of a Polish legal act.' This clearly distinguishes it from sibling tools like search_law, which searches, or get_case, which fetches cases.

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

Usage Guidelines5/5

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

The description explicitly instructs when to use the tool: 'Use after search_law or another trusted source supplied the address and article key; never guess them.' This is direct usage guidance that also serves as a safety check, and it differentiates the tool from search_law.

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

get_caseA
Read-only
Inspect

Fetch one SAOS court judgment (metadata + bounded text excerpt).

    Use only with a saos_id returned by related_cases or
    search_case_by_signature. Long judgments
    are paged: when has_more is true, call again with offset=next_offset.
    If the response has ok=false with a fallback hint, SAOS is unavailable
    or rate-limited — fetch the returned saos_url yourself with your own
    web tools instead of retrying this tool.
    
ParametersJSON Schema
NameRequiredDescriptionDefault
offsetNo
saos_idYes
max_charsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description reveals essential behaviors: paging with has_more and offset=next_offset, bounded text excerpts, and fallback to fetching saos_url when ok=false. These details are not captured in annotations and meaningfully inform agent 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 three sentences, front-loaded with purpose, and every sentence carries essential operational detail (source restriction, paging, fallback). There is no filler or redundancy.

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 that an output schema exists to document return values, the description covers all necessary contextual nuances: ID provenance, pagination, excerpt bounds, and graceful handling of SAOS unavailability. It is sufficient for an agent to invoke the tool correctly without further assumptions.

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?

With 0% schema description coverage, the description must add parameter meaning. It explains saos_id (must come from related_cases or search_case_by_signature) and offset (used for paging), but max_chars is not mentioned at all. This partial coverage is adequate but leaves a clear gap for one of the three parameters.

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: 'Fetch one SAOS court judgment (metadata + bounded text excerpt)'. The verb 'Fetch' and resource 'SAOS court judgment' are specific, and the bounded excerpt detail distinguishes it from sibling tools like get_article (articles) and search_case_by_signature (search results).

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

Usage Guidelines5/5

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

Explicit guidance is given: 'Use only with a saos_id returned by related_cases or search_case_by_signature'. This narrows usage to a specific workflow. It also provides paging instructions and a fallback action when SAOS is unavailable, fully addressing when and how to use the tool.

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

research_casesA
Read-only
Inspect

Discover related-case candidates for a natural-language legal issue.

    This tool first searches statutes, then follows local provision-to-case
    links for several distinct provisions and deduplicates by SAOS ID.
    ``rerank=false`` is the inexpensive deterministic discovery stage.
    With ``rerank=true``, it fetches at most ``rerank_fetch_limit`` public
    SAOS excerpts and reranks them only when the server has explicitly
    configured a Cohere reranker. It never decides a holding: call
    ``get_case`` for every judgment used in an answer.
    
ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes
rerankNo
candidate_limitNo
provision_limitNo
context_max_charsNo
rerank_fetch_limitNo
case_text_max_charsNo
cases_per_provisionNo
rerank_result_limitNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.3/5.0
Behavior5/5

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

Goes far beyond the read-only annotation by disclosing the internal refinement first search of then follow provision-to-case links then deduplicate by SAOS ID. Also reveals exact runtime behavior for rerank=false versus rerank=true, including satellite conditions such as Cohere reorderer config and the rerank_fetch_limit cap. This is strong behavioral transparency.

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?

Every sentence carries unique and decision-relevant information, and the opening line front-loads the primary purpose. The three-block structure moves cleanly from what to how to important cautions, with no purely ornamental text.

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 an output schema present, the description does not need to detail return values. It covers the discovery pipeline, rerank behavior, and behavioral limits. Slightly less complete for the full parameter matrix, but overall sufficient for an agent to invoke the tool with reasonable expectations.

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

Parameters2/5

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

Schema parameter coverage is 0%, so the description must be nearly alone in explaining the 9 params. It meaningfully explains rerank, rerank_fetch_limit, and implicitly provision_limit via 'several provisions', but leaves candidate_limit, context_max_chars, case_text_max_chars, cases_per_provision, and rerank_result_limit undocumented. The star-heavy parameter semantics only partially compensates.

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?

States a specific action and object: 'Discover related-case candidates for a natural-language legal issue'. It goes beyond the name by describing the discovery scope and clarifies that the tool does not decide holdings, which separates it from judgment-deciding tools like get_case.

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?

Provides clear situational guidance: this is a discovery stage, rerank=false is the inexpensive deterministic path, and successors should call get_case for any judgment used in an answer. It does not explicitly contrast itself with the sibling related_cases tool, so the guidance is not complete across all alternatives.

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

search_case_by_signatureA
Read-only
Inspect

Verify a cited case signature (sygnatura), e.g. "II CSK 448/14".

    Use before relying on a judgment cited by a user or another agent.
    Answers from a local index of all SAOS judgments first; only on a
    local miss does it query live SAOS. Read the verdict field:
    "confirmed" (matches listed with saos_id, court, date, type —
    different courts reuse signatures, so check the court), "not_found"
    (strong evidence the citation is fabricated or wrong),
    "outside_coverage" (administrative courts NSA/WSA are not in SAOS —
    verify in CBOSA instead), "unverified" (local miss and SAOS
    unreachable; do not treat as nonexistent). Optional court_type:
    COMMON, SUPREME, CONSTITUTIONAL_TRIBUNAL, NATIONAL_APPEAL_CHAMBER.
    has_text=false on a match means SAOS stores no text for it, so
    verify_quote cannot check quotes against that judgment.
    
ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
signatureYes
court_typeNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint: it discloses the local-first then live SAOS query behavior, explains the meaning of each verdict value, and highlights the implication of has_text=false for quote verification. This is rich, non-obvious behavior that directly affects interpretation of results.

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 dense yet compact, front-loaded with the purpose and example, then organized around verdict semantics and caveats. Every sentence adds needed information; there is no filler or redundancy.

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 tool's moderate complexity and existence of an output schema, the description fully covers input expectations, output interpretation, edge cases (outside coverage, SAOS unreachable), and limitations (has_text=false). It leaves no significant question unanswered about when and how to use the tool.

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 provides zero descriptions for parameters, but the description compensates by giving a concrete example for signature and enumerating the accepted court_type values. It does not explicitly explain limit, but its role as a result count is inferable from the name and default, making the gap minor.

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 opens with a specific verb-resource pair, 'Verify a cited case signature', and provides an example format ('II CSK 448/14'). It clearly distinguishes itself from siblings like verify_quote and search_law by focusing on signature verification rather than quote checking or legal search.

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

Usage Guidelines5/5

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

Explicitly states when to use the tool ('Use before relying on a judgment cited by a user or another agent') and provides decision rules for each verdict state, including directing users to CBOSA for administrative courts and warning against treating 'unverified' as nonexistent. It also references the sibling tool verify_quote in the context of has_text=false, effectively covering alternatives.

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

search_lawA
Read-only
Inspect

Search current Polish statutes and return article-level hits.

    Start here for a natural-language legal issue or a direct citation.
    Use the user's own Polish wording, e.g. "kupiłem wadliwy towar od
    firmy jakie mam prawa". Do not add address, domain, article, act_type,
    or status filters unless the user explicitly supplied that restriction.
    Results are primary-source material, not legal advice.
    
ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
domainNo
statusNo
addressNo
articleNo
act_typeNo
top_casesNo
case_law_boostNo
retrieval_modeNo
candidate_multiplierNo
include_non_in_forceNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=true, destructiveHint=false), the description adds useful context: 'Results are primary-source material, not legal advice' and 'current Polish statutes,' clarifying scope and limitations. It does not describe pagination or rate limits, but the annotations cover safety traits.

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 compact and front-loaded. Each sentence earns its place: purpose, when to use, example, filter guidance, and disclaimer. No redundant filler.

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?

With 12 parameters and no schema descriptions, the description covers the common path well but leaves many tuning parameters unexplained. The output schema exists, so return structure is available, but the description alone is not enough to fully understand all 12 parameters.

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 0%, so the description must compensate. It explains the query parameter with a Polish example and clarifies when not to use the filter parameters (address, domain, etc.). However, advanced parameters like retrieval_mode, case_law_boost, and candidate_multiplier remain undocumented, leaving gaps.

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 opens with 'Search current Polish statutes and return article-level hits,' which uses a specific verb, resource, and output granularity. This clearly distinguishes it from sibling tools like get_article, get_case, and search_case_by_signature, which target specific documents or case searches.

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?

It explicitly says 'Start here' for natural-language issues or direct citations, and instructs not to add domain, address, article, act_type, or status filters unless the user provided them. This gives strong when/when-not guidance, though it does not name alternative tools explicitly, keeping it from a 5.

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

verify_quoteA
Read-only
Inspect

Check whether a supplied quote appears in a SAOS judgment.

    Use only after resolving the judgment to a saos_id. This validates
    wording, not whether the quote supports a legal conclusion. Pass the
    saos_id (from search_case_by_signature or related_cases) and
    the fragment as quoted. One call replaces paging through the full
    text: verdict is "exact" (verbatim after normalizing whitespace,
    quote marks and dashes), "near_match" (best passage plus similarity
    score — compare it against the claim), or "not_found" (treat the
    quote as fabricated or misattributed). If ok=false with a fallback
    hint, fetch saos_url with your own web tools instead of retrying.
    
ParametersJSON Schema
NameRequiredDescriptionDefault
quoteYes
saos_idYes
min_similarityNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.9/5.0
Behavior5/5

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

Beyond readOnlyHint and destructiveHint, the description discloses the exact verdict types ('exact', 'near_match', 'not_found'), the normalization behavior, and the fallback hint logic. This gives the agent a clear picture of what to expect without contradicting 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 compact, front-loaded, and every sentence earns its place—purpose, usage prerequisites, verdicts, and failure handling. No fluff or redundancy.

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?

For a tool with an output schema and moderate complexity, the description covers what it does, when to use it, how to use it, expected verdicts, and fallback behavior. It is complete enough for an agent to invoke correctly without further context.

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?

Schema coverage is 0%, so the description carries the burden. It explains two parameters directly: 'Pass the saos_id... and the fragment as quoted.' It also implies the role of min_similarity via 'near_match (best passage plus similarity score)'. However, it doesn't explicitly explain how min_similarity is used or how to set it, which is a minor gap.

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: 'Check whether a supplied quote appears in a SAOS judgment.' It specifies the resource (SAOS judgment) and the action (verify quote), and distinguishes it from siblings by focusing on verification rather than retrieval or search.

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

Usage Guidelines5/5

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

Explicit guidance is provided: 'Use only after resolving the judgment to a saos_id' and 'Pass the saos_id (from search_case_by_signature or related_cases)'. It also tells when not to retry: 'If ok=false with a fallback hint, fetch saos_url with your own web tools instead of retrying.' This clearly defines usage context and alternatives.

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

Frequently Asked Questions

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables semantic search over Polish court judgments and legislative acts via MCP. Allows LLMs to retrieve legal documents using natural language queries.
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Verifies legal citations by fetching the exact, in-force wording of cited articles from official PL and EU legal sources, preventing hallucination by returning verbatim text.
    2
    4
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI-powered legal research and analysis of Polish legal acts from the Sejm API. Provides comprehensive search, document retrieval, metadata analysis, and content access for legal documents from Dziennik Ustaw and Monitor Polski.
    13
    19
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: search_law and get_article handle statutes, while related_cases, search_case_by_signature, get_case, and verify_quote handle case law, with health for diagnostics. No overlapping boundaries exist.

Naming Consistency4/5

Most tools follow a verb_noun pattern (get_article, get_case, search_law, search_case_by_signature, verify_quote), but related_cases and health deviate as noun phrases. The mix is minor and remains predictable.

Tool Count5/5

Seven tools is well-scoped for a legal research server, covering both statutory and case-law workflows without redundancy. Each tool earns its place.

Completeness5/5

The surface covers the full research lifecycle: searching and retrieving statutes, finding related cases, verifying citations, fetching case details, and validating quotes. No obvious gaps are present.