Server definition
- Hash
- sha256:4e9e5a241aef27bce89ced6e3049f3472966f043fa11dc28179982e78f05005f
- What it is
- What a remote MCP server returned when asked what it offers: 5 tools
The blob, as servednamed by its sha256
{
"instructions": "Official legal texts fetched from the institutions that publish them: legislation with its past versions, and decisions of the highest courts. Use search to find passages (a citation such as \"art. 6:162 BW\" or an ECLI is answered with that text), get_document to read a document or one article (optionally as it stood on a date), get_outline for the structure of a long law, get_citations for what cites a document or article and what it cites, list_sources for what is loaded. Every result carries an id in square brackets, written id#element: pass it to the other tools. Texts are the official wording, not a summary; quote them with the id and the url.",
"tools": [
{
"description": "What cites a document or one of its articles (direction \"in\": the leading ones first, those the other citing documents cite most, each with the passage that cites it), or what it cites (direction \"out\"), with the places where. Targets we do not hold are listed as written. To search inside the citing passages, use search with cites.",
"inputSchema": {
"properties": {
"direction": {
"description": "in (default): documents that cite it. out: what it cites.",
"enum": [
"in",
"out"
],
"type": "string"
},
"element": {
"description": "Only citations of, or from, this element.",
"type": "string"
},
"id": {
"description": "An id from a result, or an identifier or citation.",
"type": "string"
},
"limit": {
"description": "Lines to return, 1–60. Default 15.",
"type": "integer"
},
"max_tokens": {
"description": "Size of the answer in tokens, 200–8000. Default 1500.",
"type": "integer"
},
"order": {
"description": "For direction in. leading (default): those the other citing documents cite most. newest: by date.",
"enum": [
"leading",
"newest"
],
"type": "string"
},
"relation": {
"description": "Only one relation: cites, amends, repeals, implements, consolidates, appeals, joins.",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "get_citations",
"outputSchema": null
},
{
"description": "Read a document or one part of it in its official wording: a whole short text, one article (element), everything under a chapter, or the text as it stood on a date. One article of a law comes with the leading decisions on it: those cited most by the decisions that cite the article. Long documents come in pieces; the answer says how to continue.",
"inputSchema": {
"properties": {
"at": {
"description": "Read the text in force on this day, YYYY-MM-DD. Default: the current text.",
"type": "string"
},
"cases": {
"description": "With one article of a law: the leading decisions on it. Default true.",
"type": "boolean"
},
"element": {
"description": "The part to read: an element id from a result or outline (art_6:162, par_823, chp_2) or its number as written (\"6:162\", \"823\").",
"type": "string"
},
"from": {
"description": "Continue reading from this element id (given by a previous answer).",
"type": "string"
},
"history": {
"description": "With element: also list the periods of every version of it.",
"type": "boolean"
},
"id": {
"description": "An id from a result, or an identifier or citation: an ECLI, a CELEX number, \"BGB\", \"art. 6:162 BW\".",
"type": "string"
},
"lang": {
"description": "Two-letter language, for texts that exist in several.",
"type": "string"
},
"max_tokens": {
"description": "Size of the answer in tokens, 200–8000. Default 1500.",
"type": "integer"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "get_document",
"outputSchema": null
},
{
"description": "The structure of a document: its parts, chapters and articles with their headings and element ids. Use it to find the right article of a long law before reading it.",
"inputSchema": {
"properties": {
"at": {
"description": "The structure as it stood on this day, YYYY-MM-DD.",
"type": "string"
},
"id": {
"description": "An id from a result, or an identifier or citation.",
"type": "string"
},
"lang": {
"description": "Two-letter language, for texts that exist in several.",
"type": "string"
},
"max_tokens": {
"description": "Size of the answer in tokens, 200–8000. Default 1500.",
"type": "integer"
},
"under": {
"description": "Only the structure below this element (a part or chapter).",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "get_outline",
"outputSchema": null
},
{
"description": "The sources that are loaded, per jurisdiction: what each one holds, its languages, how many documents and as of which day. With a jurisdiction: also its institutions (courts, legislators), what is held of each and what is not.",
"inputSchema": {
"properties": {
"jurisdiction": {
"description": "Only these jurisdictions, comma-separated.",
"type": "string"
}
},
"type": "object"
},
"name": "list_sources",
"outputSchema": null
},
{
"description": "Find passages of legislation and court decisions. Answers with the passages themselves (an article, a paragraph of a judgment), each with its document, date, id and url. A query that names a text (\"art. 6:162 BW\", \"§ 823 BGB\", \"ECLI:NL:HR:2019:2006\", \"32016R0679 art 17\") is answered with that text first. Write the query in the language of the documents; set jurisdiction when you know it.",
"inputSchema": {
"properties": {
"cites": {
"description": "Only passages that cite this document or article: an id, id#element, or a citation.",
"type": "string"
},
"court": {
"description": "Words from the court's name, e.g. \"Hoge Raad\", \"Bundesgerichtshof\", \"Grand Chamber\".",
"type": "string"
},
"date_from": {
"description": "Earliest document date, YYYY-MM-DD.",
"type": "string"
},
"date_to": {
"description": "Latest document date, YYYY-MM-DD.",
"type": "string"
},
"doc_type": {
"description": "A document type as shown in results, e.g. regulation, directive, act, judgment, opinion.",
"type": "string"
},
"facets": {
"description": "Also count the passages that hold every word by jurisdiction, source and year.",
"type": "boolean"
},
"jurisdiction": {
"description": "One or more of: eu, coe (European Court of Human Rights), nl, fr, de, at, ch, lu, gb. Comma-separated.",
"type": "string"
},
"kind": {
"description": "Only laws, only court decisions, or only treaties.",
"enum": [
"legislation",
"decision",
"treaty"
],
"type": "string"
},
"lang": {
"description": "Two-letter language to match and answer in (texts that exist in several languages). Default: the query's language.",
"type": "string"
},
"limit": {
"description": "Passages to return, 1–20. Default 5.",
"type": "integer"
},
"max_tokens": {
"description": "Size of the answer in tokens, 200–8000. Default 1500.",
"type": "integer"
},
"mode": {
"description": "hybrid (default) matches words and meaning; text only words; meaning only meaning.",
"enum": [
"hybrid",
"text",
"meaning"
],
"type": "string"
},
"offset": {
"description": "Results to skip, for the next page: the answer says the offset of the next one.",
"type": "integer"
},
"query": {
"description": "Words, a question, or a citation. Put a phrase in double quotes to require it literally.",
"type": "string"
},
"sort": {
"description": "relevance (default); date: newest first; date_asc: oldest first; cited: most cited first. The last three order the passages that hold every word.",
"enum": [
"relevance",
"date",
"date_asc",
"cited"
],
"type": "string"
},
"source": {
"description": "Source ids from list_sources, comma-separated.",
"type": "string"
},
"within": {
"description": "Only passages of this document: an id or a citation.",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "search",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:4e9e5a241aef27bce89ced6e3049f3472966f043fa11dc28179982e78f05005f | sha256sum