Skip to main content
Glama
encorp-io

nulabg-mcp

by encorp-io

OCR uploads and quota

nula_ocr_status
Read-only

Check OCR processing status, fetch recognized document lines, and view remaining OCR quota.

Instructions

List documents sent to OCR (newest first) with their recognition status, or get one recognised document with its lines (give document_type and id). Also reports the remaining OCR quota.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoUpload id; requires document_type
limitNoMax records (default 20)
sinceNoOnly uploads changed since this ISO 8601 time
statusNo
document_typeNobill = покупка (purchase), invoice = продажба (sale)
include_quotaNoInclude remaining scans (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already mark the operation as read-only, and the description adds useful behavioral context: results are ordered newest first, single-document retrieval returns recognised lines, and the remaining OCR quota is included. This goes beyond the annotations without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences cover the main listing behavior, the single-document mode with its required parameters, and the quota reporting. Information is front-loaded and nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description appropriately names key return concepts: recognition status, document lines, and OCR quota. Given the schema's coverage of parameters and the read-only annotation, the description is sufficiently complete for an agent to know what this tool returns and when to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is high at 83%, so the schema documents most parameters such as limit, since, id, and include_quota. The description reinforces the id/document_type pairing and the quota flag but does not add meaning for status or limit beyond the schema, keeping it at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('List documents sent to OCR'), states the sorting ('newest first'), and defines the second mode ('get one recognised document with its lines'). It leaves no ambiguity about what the tool does and is clearly distinct from the sibling tools, none of which cover OCR.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a clear conditional: use the listing mode by default, or provide 'document_type and id' to fetch a single recognised document with lines. It does not explicitly name alternatives or exclusions, but the sibling context shows no overlapping OCR tool, and the two-mode instruction is enough for an agent to choose correctly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.