JevK5 — canonical payload contracts
JevK5-2B typed decisions on CPU. Send text, questions, and the allowed answers; the model picks one answer per question. 1 credit per 10 questions.
Service id: jevk5
Docs: https://mcp.glc-rag.hu/guide/jevk5
Markdown docs: https://mcp.glc-rag.hu/guide/jevk5.md
MCP resource: docs://jevk5/payload
POST https://mcp.glc-rag.hu/mcp. Values below are type slots from the live input schema (e.g. <string, required>), not example data. Fill them from the user task.
RPC result wrapper: result.structuredContent is the object in Output schema. result.isError mirrors structuredContent.is_error.
jevk5_status
Whether JevK5-2B is loaded, plus the CPU thread budget. Free — 0 credits.
JevK5-4B load state and CPU thread budget. Free.
Required arguments: (none)
Request contract
{
"jsonrpc": "2.0",
"id": "<integer|string>",
"method": "tools/call",
"params": {
"name": "jevk5_status",
"arguments": {}
}
}
Input schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}
Output schema (structuredContent on success)
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"loaded": {
"type": "boolean"
},
"model": {
"type": "string"
},
"backend": {
"type": "string"
},
"device": {
"type": "string"
},
"cpu_threads": {
"type": "integer"
},
"max_len": {
"type": "integer"
},
"questions_per_credit": {
"type": "integer"
},
"error": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true,
"required": [
"ok",
"model",
"device"
]
}
Error object
{
"type": "object",
"required": [
"error",
"is_error"
],
"properties": {
"error": {
"type": "string"
},
"is_error": {
"type": "boolean",
"const": true
}
},
"additionalProperties": true
}
jevk5_decide — Decide
Pick one allowed answer per question with JevK5-2B. Pass text and questions (each with id, question, and options). Returns answers plus usage and latency. 1 credit per 10 questions.
text + questions[].options → one chosen answer per question (JevK5-4B). Returns usage.input_tokens, latency_ms, client_wall_ms. 1 credit per 10 questions (rounded up). is_error = 0.
Required arguments: text, questions
Request contract
{
"jsonrpc": "2.0",
"id": "<integer|string>",
"method": "tools/call",
"params": {
"name": "jevk5_decide",
"arguments": {
"text": "<string, required, minLength 1, maxLength 60000>",
"questions": [
{
"id": "<string, required, minLength 1, maxLength 64>",
"question": "<string, required, minLength 1, maxLength 500>",
"options": [
"<string, optional, minLength 1, maxLength 200>"
]
}
]
}
}
}
Input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"text",
"questions"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 60000,
"description": "Text the questions are about"
},
"questions": {
"type": "array",
"minItems": 1,
"maxItems": 32,
"description": "Questions and the answers the model may pick",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"question",
"options"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"question": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"options": {
"type": "array",
"minItems": 2,
"maxItems": 32,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
}
}
}
}
}
Output schema (structuredContent on success)
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"model": {
"type": "string"
},
"backend": {
"type": "string"
},
"device": {
"type": "string"
},
"max_len": {
"type": "integer"
},
"questions": {
"type": "integer"
},
"answers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"answer": {
"type": "string"
},
"confidence": {
"type": [
"number",
"null"
]
},
"scores": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"id",
"answer"
]
}
},
"usage": {
"type": "object",
"properties": {
"input_tokens": {
"type": "integer"
},
"output_tokens": {
"type": "integer"
}
},
"required": [
"input_tokens",
"output_tokens"
]
},
"latency_ms": {
"type": "number"
},
"client_wall_ms": {
"type": "number"
},
"error": {
"type": "string"
},
"is_error": {
"type": "boolean"
}
},
"additionalProperties": true,
"required": [
"ok"
]
}
Error object
{
"type": "object",
"required": [
"error",
"is_error"
],
"properties": {
"error": {
"type": "string"
},
"is_error": {
"type": "boolean",
"const": true
}
},
"additionalProperties": true
}