Rulewise
Warns developers which Sri Lankan laws apply to what they build. Legal information, not advice.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"rulewise": {
"url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
}
}
}Puntos de conexión remotos
https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (4)
🟢check_legal_risks(users_in, facts, company_in, processing_in, done)
Check a planned or new feature for legal risks. Call this whenever the user plans or builds a feature for a product used in Sri Lanka, or made by a Sri Lankan company or person, even if they didn't ask about law. If the user hasn't said where the users or company are, ask them first; never guess the country. Send country codes and facts from get_fact_questions only (no idea text, no code). Returns warnings with severity (Must / Should / Check with a lawyer), the law and section, what to do, and the areas NOT covered.
Esquema de entrada
{
"type": "object",
"properties": {
"users_in": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "ISO country codes where users are, as the user said, e.g. ['LK']",
"title": "Users In"
},
"facts": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"additionalProperties": {
"type": "boolean"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "List of the facts that are true, from get_fact_questions",
"title": "Facts"
},
"company_in": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country code where the company (or maker) is, e.g. 'LK'",
"title": "Company In"
},
"processing_in": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country codes where data is stored or processed",
"title": "Processing In"
},
"done": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "rule_id values of warnings the user says are already handled. Only when the user says so; they are listed as 'done', not verified.",
"title": "Done"
}
},
"required": [
"users_in",
"facts"
],
"title": "check_legal_risksArguments"
}Esquema de salida
{
"type": "object",
"additionalProperties": true,
"title": "check_legal_risksDictOutput"
}🟢get_fact_questions
List the facts check_legal_risks understands, grouped, each with the question it answers. Call once before check_legal_risks.
Esquema de entrada
{
"type": "object",
"properties": {},
"title": "get_fact_questionsArguments"
}Esquema de salida
{
"type": "object",
"additionalProperties": true,
"title": "get_fact_questionsDictOutput"
}🟢get_rule(rule_id)
Get one rule in full, including the exact quote from the law and its official source link. Use it to show proof for a warning.
Esquema de entrada
{
"type": "object",
"properties": {
"rule_id": {
"description": "rule_id from a check_legal_risks warning",
"title": "Rule Id",
"type": "string"
}
},
"required": [
"rule_id"
],
"title": "get_ruleArguments"
}Esquema de salida
{
"type": "object",
"additionalProperties": true,
"title": "get_ruleDictOutput"
}🟢get_checklist(users_in, facts, company_in, processing_in, law)
Get a law checklist for the product, for example the PDPA 2027 checklist: the rules of that law that apply to these facts, each with what to look for in the code (look_for) or ask the user (ask). Use it when the user asks whether their project is ready for the PDPA. Send country codes and facts only. Mark each item Found (with file and line), Missing or Can't tell from code; never give a score.
Esquema de entrada
{
"type": "object",
"properties": {
"users_in": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "ISO country codes where users are, as the user said, e.g. ['LK']",
"title": "Users In"
},
"facts": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"additionalProperties": {
"type": "boolean"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "List of the facts that are true, from get_fact_questions",
"title": "Facts"
},
"company_in": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country code where the company (or maker) is, e.g. 'LK'",
"title": "Company In"
},
"processing_in": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country codes where data is stored or processed",
"title": "Processing In"
},
"law": {
"default": "pdpa",
"description": "Which checklist: 'pdpa'",
"title": "Law",
"type": "string"
}
},
"required": [
"users_in",
"facts"
],
"title": "get_checklistArguments"
}Esquema de salida
{
"type": "object",
"additionalProperties": true,
"title": "get_checklistDictOutput"
}Comunidad
Evidencia