Agent access
An AI agent, such as your bookkeeper's, can read the count history of the locations on your account through the API or the MCP server, with the same filters as the web app: for example, every count that was short last week at one location. Agents read; counting, staff and settings stay in the web app.
Discover the product
https://blindtill.tenhatch.com/llms.txt: a plain-text summary written for language models.https://blindtill.tenhatch.com/.well-known/product.json: a machine-readable description of the feature, its inputs and outputs, prices and endpoints.https://blindtill.tenhatch.com/api/v1/openapi.json: the OpenAPI 3.1 document, generated from the same schemas the server validates with.
Call the API
Authenticate with an API key and send X-Usage-Source: agent so the account's usage meter attributes the queries to agents rather than to plain API calls. The header is advisory: it changes reporting, never the price.
POST /api/v1/counts
Authorization: Bearer blindtill_live_…
X-Usage-Source: agent
Content-Type: application/json
{"differencesOnly": true, "from": "2026-11-01", "limit": 50}
Every amount comes twice: minor (cents, or whole yen) and decimal (a string such as "12.50"), so an agent never has to know a currency's digits.
MCP server
The product ships an MCP server that exposes the feature as one tool. It runs on the agent's side and calls the API with the agent's key:
{
"mcpServers": {
"blindtill": {
"command": "npm",
"args": ["run", "mcp", "--prefix", "/path/to/blindtill"],
"env": {
"PRODUCT_API_URL": "https://blindtill.tenhatch.com",
"PRODUCT_API_KEY": "blindtill_live_…"
}
}
}
}
The tool is named counts and its input schema matches the API: locationId, staffId, from, to, differencesOnly and limit, all optional. Each answer lists the locations and staff on the account, the counts newest first, and totals per person and per location. Queries are metered exactly like API calls, with source agent.
Prices for agents
One query counts once against the plan's monthly allowance, however many counts it returns. When the allowance is used up, queries from an account with a card on file are billed at $0.01 each. Free accounts get 100 queries a month and HTTP 402 afterwards, with a link to the pricing page.
Rules for agents
- Respect
Retry-Afteron 429 responses. - Do not create more API keys than you need; key management is deliberately session-only.
- Read
error.message; it is written to be acted on.