Server definition
- Hash
- sha256:c2ff5995953cc571ca967e8f4ce4786e239ed8995fddbdb3c46a04ea89afa6d7
- What it is
- What a remote MCP server returned when asked what it offers: 2 tools
The blob, as servednamed by its sha256
{
"instructions": null,
"tools": [
{
"description": "Extract structured data from a document (PDF or image, passed as document_base64 or as the upload_key of a staged upload) against a JSON Schema you supply. Returns a typed object and, for every field, a state (present, null, or missing), a calibrated confidence score, and an anchor (the source page and bounding box). The confidence is calibrated against published reliability curves (https://velrim.com/reliability), so a 0.9 means the field is right about 90% of the time on that document class — branch on it directly: act on a field at or above your accept threshold, escalate the fields below it and any that are missing. Use each field's anchor to check it against the source page.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"doc_class": {
"description": "Opaque tag (<=128 chars) echoed back in meta.doc_class.",
"maxLength": 128,
"type": "string"
},
"document_base64": {
"description": "The document bytes, base64-encoded. Provide exactly one of document_base64 or upload_key.",
"type": "string"
},
"hints": {
"additionalProperties": {},
"description": "Discriminator hints for union schemas.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"schema": {
"additionalProperties": {},
"description": "The JSON Schema (draft 2020-12) the extracted object must conform to (required).",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"upload_key": {
"description": "The upload_key of a staged Velrim upload. Mutually exclusive with document_base64.",
"type": "string"
}
},
"required": [
"schema"
],
"type": "object"
},
"name": "velrim_extract",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"data": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"error": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "number"
},
"top_up_url": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"fields": {
"additionalProperties": {
"additionalProperties": {},
"properties": {
"anchor": {
"additionalProperties": {},
"properties": {
"bbox": {
"description": "Corner rectangle [x0,y0,x1,y1] — NOT [x,y,w,h].",
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"type": "array"
},
"page": {
"type": "number"
},
"page_dims": {
"additionalProperties": {},
"properties": {
"height": {
"type": "number"
},
"width": {
"type": "number"
}
},
"required": [
"width",
"height"
],
"type": "object"
},
"snippet": {
"type": "string"
}
},
"required": [
"page",
"bbox",
"snippet",
"page_dims"
],
"type": "object"
},
"confidence": {
"type": "number"
},
"conflict": {
"type": "boolean"
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"present",
"null",
"missing"
],
"type": "string"
},
"value": {}
},
"required": [
"state",
"reason"
],
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"meta": {
"additionalProperties": {},
"properties": {
"batched": {
"type": "boolean"
},
"billed_pages": {
"type": "number"
},
"calibrator_version": {
"type": "string"
},
"doc_class": {
"type": "string"
},
"model": {
"type": "string"
},
"pages": {
"type": "number"
},
"request_id": {
"type": "string"
},
"routing_policy_version": {
"type": "string"
},
"tier": {
"description": "Routing tier, e.g. \"default\" | \"resampled\" | \"verify\".",
"type": "string"
},
"warnings": {
"items": {},
"type": "array"
}
},
"required": [
"model",
"tier",
"batched",
"calibrator_version",
"routing_policy_version",
"pages",
"billed_pages",
"request_id",
"warnings"
],
"type": "object"
}
},
"type": "object"
}
},
{
"description": "Poll an asynchronous extraction job by its job_id (from POST /v1/jobs on the Velrim API; velrim_extract itself is synchronous and never creates jobs). Returns the job status and, once complete, the same typed result as velrim_extract: per field a state (present, null, or missing), a calibrated confidence score, and an anchor (source page and bounding box). Confidence is calibrated against published reliability curves (https://velrim.com/reliability) — branch the same way: act on a field at or above your accept threshold, escalate the rest, and use each anchor to check a field against its source page.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"job_id": {
"description": "The job_id returned by an asynchronous Velrim extraction job (created via the Velrim API or an SDK).",
"minLength": 1,
"type": "string"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "velrim_job_status",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"error": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"retry_after": {
"type": "number"
},
"top_up_url": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"job_id": {
"type": "string"
},
"result": {
"additionalProperties": {},
"properties": {
"data": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"fields": {
"additionalProperties": {
"additionalProperties": {},
"properties": {
"anchor": {
"additionalProperties": {},
"properties": {
"bbox": {
"description": "Corner rectangle [x0,y0,x1,y1] — NOT [x,y,w,h].",
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
],
"type": "array"
},
"page": {
"type": "number"
},
"page_dims": {
"additionalProperties": {},
"properties": {
"height": {
"type": "number"
},
"width": {
"type": "number"
}
},
"required": [
"width",
"height"
],
"type": "object"
},
"snippet": {
"type": "string"
}
},
"required": [
"page",
"bbox",
"snippet",
"page_dims"
],
"type": "object"
},
"confidence": {
"type": "number"
},
"conflict": {
"type": "boolean"
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"present",
"null",
"missing"
],
"type": "string"
},
"value": {}
},
"required": [
"state",
"reason"
],
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"meta": {
"additionalProperties": {},
"properties": {
"batched": {
"type": "boolean"
},
"billed_pages": {
"type": "number"
},
"calibrator_version": {
"type": "string"
},
"doc_class": {
"type": "string"
},
"model": {
"type": "string"
},
"pages": {
"type": "number"
},
"request_id": {
"type": "string"
},
"routing_policy_version": {
"type": "string"
},
"tier": {
"description": "Routing tier, e.g. \"default\" | \"resampled\" | \"verify\".",
"type": "string"
},
"warnings": {
"items": {},
"type": "array"
}
},
"required": [
"model",
"tier",
"batched",
"calibrator_version",
"routing_policy_version",
"pages",
"billed_pages",
"request_id",
"warnings"
],
"type": "object"
}
},
"required": [
"data",
"fields",
"meta"
],
"type": "object"
},
"status": {
"description": "\"running\" | \"succeeded\" | \"failed\" (additive-tolerant).",
"type": "string"
}
},
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:c2ff5995953cc571ca967e8f4ce4786e239ed8995fddbdb3c46a04ea89afa6d7 | sha256sum