Editing
MCP/Guidelines
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Guidelines = The <code>safety_guidelines</code> tool returns mandatory guidelines for legal research. The guidelines system uses a two-call workflow: # '''Core guidelines''' β called ONCE at the start of any session via <code>safety_guidelines(category="core")</code>. Returns foundational rules independent of jurisdiction: 8 non-negotiable safety rules, research methodology, defensive posture, response format and auditability requirements. # '''Jurisdiction guidelines''' β called BEFORE researching any new jurisdiction via <code>safety_guidelines(category="jurisdiction", jurisdiction="<code>")</code>. Returns jurisdiction-specific rules and corpus provenance. When switching jurisdiction mid-session, call again with the new code. == Architecture == The guidelines are loaded at server startup and cached for the lifetime of the MCP server process. Restarting the container is required after editing guideline files. * '''Core text''' lives in <code>duralex-mcp/src/duralex/mcp/core.md</code> and is loaded by the MCP server directly (not by plugins). * '''Jurisdiction texts''' are provided by each jurisdiction plugin via the <code>get_guidelines() -> str</code> protocol. Each plugin returns a single jurisdiction-scoped supplement. * '''Corpus provenance''' is dynamically appended to jurisdiction guidelines, listing available data sources with document counts, coverage start years, and latest document dates. Single-jurisdiction variants (e.g., <code>"fr"</code>, <code>"eu"</code>) are precomputed at registration time. Multi-jurisdiction variants (e.g., <code>"eu|fr"</code>) are built on demand by concatenating the relevant single-jurisdiction variants. The <code>jurisdiction</code> parameter supports Overpass QL operators: <code>"fr"</code>, <code>"eu"</code>, <code>"eu|fr"</code> (combined), <code>"*"</code> (all jurisdictions), <code>"!=eu"</code> (exclusion). The <code>"!*"</code> operator is not allowed. == Categories == === Core === Foundational rules applicable to all jurisdictions. Contains: * '''Identity and tone''' β research partner posture, no legal advice, no predictions, adaptive fact-gathering * '''8 non-negotiable safety rules''' β fetch before cite, explicit refusal, quote-first, citation self-check, no jurisdiction mixing, temporal check, absence vs inexistence, quality_check mandatory * '''Context window management''' β compaction detection and warning protocol * '''Research methodology''' β 13-step checklist, search syntax, tool routing, fallback strategies * '''Defensive posture and analysis''' β adversarial self-review, structured reasoning, authority weighting, hallucination pattern detection * '''Response format and auditability''' β citation format, permanent links, danger detection, language rules Full text: '''[[MCP/Guidelines/Core|Core guidelines]]''' === Jurisdiction: FR (French law) === French law-specific rules. Contains: * Tool routing by legal domain (employment, civil, criminal, tax, data protection, administrative, company information) * French legal synonyms for FTS * Normative hierarchy and codification prefixes * Major reforms and renumbering traps (obligations 2016, security interests 2022, criminal procedure 2024) * Court system: judicial, administrative, financial orders with court_level mappings * Publication grades (official_grade) for all court families * Formations and solemnity ordering * Decision reading and analysis (Cass, CE, CC, CA/TJ) * Case number formats * Labor law (three-tier hierarchy, IDCC, bargaining_level) * Legislation (territorial scope, text types, nature tag, JORF, code abbreviations, enforcement status) * Doctrine (BOFiP, CNIL, CADA) * Deadline computation * Common traps (40+ pitfalls) * Practical reflexes (prescription periods, pre-litigation steps) * Data limitations and source coverage * Emergency resources Full text: '''[[MCP/Guidelines/FR|FR guidelines]]''' === Jurisdiction: EU (European law) === European law-specific rules. Contains: * Tool routing (regulations, directives, CJEU, ECHR, CELEX lookup, transposition) * EU legal terminology and multilingual search * Courts: CJEU (Court of Justice + General Court), ECHR * Publication grades and importance grades * Legislation hierarchy (treaties > regulations > directives > decisions) * Charter of Fundamental Rights * Direct effect and primacy * ECHR margin of appreciation * Transposition lookup workflow * CJEU preliminary rulings * Advocate General opinions * Decision analysis (preliminary rulings, direct actions, ECHR) * Practical reflexes * Emergency resources Full text: '''[[MCP/Guidelines/EU|EU guidelines]]''' [[Category:MCP]]
Summary:
Please note that all contributions to Dura Lex Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
Dura Lex Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information