run_mql
Execute a read-only MQL query on the BHSA Hebrew Bible database and receive the validated query along with glossed results.
Instructions
Validate and run a read-only MQL query; return the query and glossed results.
Only read-only queries (SELECT/GET) are accepted. Quoting rule (getting it wrong fails typechecking): enumeration features compare UNQUOTED (sp=verb, vs=nif); string features compare QUOTED (lex='BR>['). Verb lexemes carry a trailing '['. Call lookup_feature(name) to check a feature's kind/values.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mql": "<mql>"
},
"name": "run_mql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mql | Yes |