Skip to main content
Glama

Ask the Private Law wiki

ask
Read-onlyIdempotent

Answer a question by quoting a published wiki article. The answer is extracted verbatim, never generated, and always carries the URL it came from. Returns confident=false with suggested reading when the corpus does not cover the question or when context genuinely conflicts. Bare MSO means the Hong Kong Money Service Operator licence; use Management Services Organization or regulated-practice context for the broader platform concept. Ask in the language you want answered — Russian and English are both first-class.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoCorpus language; inferred from the question when omitted.
questionYesA natural-language question, up to 2000 characters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
answerYes
localeNo
citationsYes
confidentYes
thresholdNo
topDistanceNo
refusalReasonNo
suggestedReadingYes
queryInterpretationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / citations / items / properties / provenance / properties / version / description
      Previous value: -"Revision of exactly the material served: for an article the snapshot content hash (the HTML ETag value); for a dataset record the dataset revision it was published in, since the published file is named by the hash of its own content and meta.version plus datasets/index.json resolve that filename. Null when unknown."New value: +"Revision of exactly the material served: for an article the snapshot content hash (the HTML ETag value); for a dataset record the dataset revision it was published in, not the published filename. Null when unknown."
    • changedOutput schema / properties / suggestedReading / items / properties / provenance / properties / version / description
      Previous value: -"Revision of exactly the material served: for an article the snapshot content hash (the HTML ETag value); for a dataset record the dataset revision it was published in, since the published file is named by the hash of its own content and meta.version plus datasets/index.json resolve that filename. Null when unknown."New value: +"Revision of exactly the material served: for an article the snapshot content hash (the HTML ETag value); for a dataset record the dataset revision it was published in, not the published filename. Null when unknown."
  2. Changed2 schema fields changed
    • changedOutput schema / properties / citations / items / properties / provenance / properties / version / description
      Previous value: -"Revision of exactly the material served: article snapshot content hash (the HTML ETag value) or dataset version. Null when unknown."New value: +"Revision of exactly the material served: for an article the snapshot content hash (the HTML ETag value); for a dataset record the dataset revision it was published in, since the published file is named by the hash of its own content and meta.version plus datasets/index.json resolve that filename. Null when unknown."
    • changedOutput schema / properties / suggestedReading / items / properties / provenance / properties / version / description
      Previous value: -"Revision of exactly the material served: article snapshot content hash (the HTML ETag value) or dataset version. Null when unknown."New value: +"Revision of exactly the material served: for an article the snapshot content hash (the HTML ETag value); for a dataset record the dataset revision it was published in, since the published file is named by the hash of its own content and meta.version plus datasets/index.json resolve that filename. Null when unknown."
  3. Changed4 schema fields changed
    • addedOutput schema / properties / citations / items / properties / provenance
      Added value: +{
      +  "description": "Origin of one record: stable id, clean canonical URL, publisher, the exact published revision served, a ready citation, primary sources and review status.",
      +  "properties": {
      +    "canonical_url": {
      +      "description": "Published location without tracking parameters.",
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "cite_as": {
      +      "type": "string"
      +    },
      +    "contract": {
      +      "const": "wiki-provenance/1",
      +      "type": "string"
      +    },
      +    "id": {
      +      "description": "<locale>:<slug> for an article, <dataset>:<record id> for a dataset row.",
      +      "type": "string"
      +    },
      +    "primary_sources": {
      +      "items": {
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "publisher": {
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "format": "uri",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "url"
      +      ],
      +      "type": "object"
      +    },
      +    "verification_status": {
      +      "enum": [
      +        "verified",
      +        "pending",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "version": {
      +      "description": "Revision of exactly the material served: article snapshot content hash (the HTML ETag value) or dataset version. Null when unknown.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "contract",
      +    "id",
      +    "canonical_url",
      +    "publisher",
      +    "version",
      +    "cite_as",
      +    "primary_sources",
      +    "verification_status"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / citations / items / required
      Previous value: -[
      -  "slug",
      -  "url"
      -]New value: +[
      +  "slug",
      +  "url",
      +  "provenance"
      +]
    • addedOutput schema / properties / suggestedReading / items / properties / provenance
      Added value: +{
      +  "description": "Origin of one record: stable id, clean canonical URL, publisher, the exact published revision served, a ready citation, primary sources and review status.",
      +  "properties": {
      +    "canonical_url": {
      +      "description": "Published location without tracking parameters.",
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "cite_as": {
      +      "type": "string"
      +    },
      +    "contract": {
      +      "const": "wiki-provenance/1",
      +      "type": "string"
      +    },
      +    "id": {
      +      "description": "<locale>:<slug> for an article, <dataset>:<record id> for a dataset row.",
      +      "type": "string"
      +    },
      +    "primary_sources": {
      +      "items": {
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "publisher": {
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "format": "uri",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "url"
      +      ],
      +      "type": "object"
      +    },
      +    "verification_status": {
      +      "enum": [
      +        "verified",
      +        "pending",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "version": {
      +      "description": "Revision of exactly the material served: article snapshot content hash (the HTML ETag value) or dataset version. Null when unknown.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "contract",
      +    "id",
      +    "canonical_url",
      +    "publisher",
      +    "version",
      +    "cite_as",
      +    "primary_sources",
      +    "verification_status"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / suggestedReading / items / required
      Previous value: -[
      -  "slug",
      -  "url"
      -]New value: +[
      +  "slug",
      +  "url",
      +  "provenance"
      +]
  4. Changed4 schema fields changed
    • changedOutput schema / properties / citations / items / properties / distance / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • addedOutput schema / properties / queryInterpretation
      Added value: +{
      +  "properties": {
      +    "ambiguous": {
      +      "type": "boolean"
      +    },
      +    "choices": {
      +      "items": {
      +        "properties": {
      +          "description": {
      +            "type": "string"
      +          },
      +          "locale": {
      +            "type": "string"
      +          },
      +          "sense": {
      +            "enum": [
      +              "hong_kong_money_service_operator",
      +              "regulated_practice_management"
      +            ],
      +            "type": "string"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "sense",
      +          "slug",
      +          "locale",
      +          "title",
      +          "description",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "sense": {
      +      "enum": [
      +        "hong_kong_money_service_operator",
      +        "regulated_practice_management",
      +        "comparison",
      +        "ambiguous"
      +      ],
      +      "type": "string"
      +    },
      +    "term": {
      +      "enum": [
      +        "MSO"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "term",
      +    "sense",
      +    "ambiguous",
      +    "message",
      +    "choices"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / suggestedReading / items / properties / distance / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "confident",
      -  "answer",
      -  "citations",
      -  "suggestedReading"
      -]New value: +[
      +  "confident",
      +  "answer",
      +  "citations",
      +  "suggestedReading",
      +  "queryInterpretation"
      +]
  5. Changed3 schema fields changed
    • addedInput schema / properties / locale
      Added value: +{
      +  "description": "Corpus language; inferred from the question when omitted.",
      +  "enum": [
      +    "ru",
      +    "en",
      +    "ko",
      +    "zh-hant"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / question / description
      Previous value: -"Question in English, <= 2000 chars"New value: +"A natural-language question, up to 2000 characters."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "answer": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "citations": {
      +      "items": {
      +        "properties": {
      +          "distance": {
      +            "type": "number"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "confident": {
      +      "type": "boolean"
      +    },
      +    "locale": {
      +      "type": "string"
      +    },
      +    "refusalReason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "suggestedReading": {
      +      "items": {
      +        "properties": {
      +          "distance": {
      +            "type": "number"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "threshold": {
      +      "type": "number"
      +    },
      +    "topDistance": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "confident",
      +    "answer",
      +    "citations",
      +    "suggestedReading"
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources