Nalegalu MCP
Server Details
Semantic search over Polish law and case law, citing the exact in-force article.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- nalegaluorg/nalegalu
- GitHub Stars
- 4
Available Tools
7 toolsget_articleARead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| article_key | Yes | ||
| paragraph_key | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_caseARead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| saos_id | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_casesARead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| rerank | No | ||
| candidate_limit | No | ||
| provision_limit | No | ||
| context_max_chars | No | ||
| rerank_fetch_limit | No | ||
| case_text_max_chars | No | ||
| cases_per_provision | No | ||
| rerank_result_limit | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_signatureARead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| signature | Yes | ||
| court_type | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_lawARead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| domain | No | ||
| status | No | ||
| address | No | ||
| article | No | ||
| act_type | No | ||
| top_cases | No | ||
| case_law_boost | No | ||
| retrieval_mode | No | ||
| candidate_multiplier | No | ||
| include_non_in_force | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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_quoteARead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| quote | Yes | ||
| saos_id | Yes | ||
| min_similarity | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
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.
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.
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.
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.
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.
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
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user or an account that owns the GitHub organization, then choose Claim with GitHub.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Connectors
Polish law: search statutes (ISAP), court rulings, verify citations. Free tier + paid plans + x402.
Polish law via Ansvar Gateway. Cited, OAuth + paid tier.
Search 18M+ legal documents worldwide — case law, legislation, and doctrine across 110+ countries.
Latvian law search: in-force statutes, verbatim articles, verified Q&A. Anonymous, read-only.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables semantic search over Polish court judgments and legislative acts via MCP. Allows LLMs to retrieve legal documents using natural language queries.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search and retrieve Polish statutes, provisions, and EU law cross-references with verified citations, supporting legal research and compliance checks.72Apache 2.0
- AlicenseAqualityBmaintenanceVerifies 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.24Apache 2.0
- AlicenseAqualityBmaintenanceEnables 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.1319MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.
TDQS
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.
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.
Seven tools is well-scoped for a legal research server, covering both statutory and case-law workflows without redundancy. Each tool earns its place.
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.