Find unresolved references (that one, the former, tomorrow, next week) and return clarification questions
Scans a user or tool message for phrases that cannot be understood without context: demonstratives ('that one', 'the latter'), back-references ('as before', 'the usual'), and relative dates or times ('tomorrow', 'next Friday', 'end of month', 'soon'), each with offsets and a clarification question. Given a caller anchor (asOf instant plus IANA time zone) it resolves only unambiguous day offsets (today, tomorrow, yesterday, in N days/weeks, N days/weeks ago) and leaves everything else as a question; it never guesses a referent or a weekday. Rule-based and English only; pronouns such as 'it' are not analyzed. fail means at least one slot needs clarification.
What you get
Stops an agent acting on 'send it tomorrow' with the wrong date or the wrong 'it'. 20,000 characters per $0.005 call.
Call it
Send the JSON body below to https://agents.writerslogic.com/api/v1/deictic-check. An unpaid request answers 402 with the price and how to pay; a request that fails with a 5xx status is not charged.
curl -i -X POST https://agents.writerslogic.com/api/v1/deictic-check \
-H 'content-type: application/json' \
-d '{"text":"Send that one to finance tomorrow, same as last time.","anchor":{"asOf":"2026-11-04T09:00:00Z","timeZone":"Europe/Berlin"},"candidates":["invoice 1042","invoice 1043"]}'
Input
| Field | Type | Required | Description |
|---|---|---|---|
text | string; length 1..20000 | yes | Message to check. |
anchor | object | no | Reference time for resolving unambiguous relative dates. |
candidates | array<string; length 0..200>; max 20 items | no | Items recently in play; echoed on reference slots for the caller to ask with. Never chosen automatically. |
Example request body
{
"text": "Send that one to finance tomorrow, same as last time.",
"anchor": {
"asOf": "2026-11-04T09:00:00Z",
"timeZone": "Europe/Berlin"
},
"candidates": [
"invoice 1042",
"invoice 1043"
]
}
Result
The response is { "data": ..., "_provenance": ... }. data carries these fields; _provenance is a signed W3C Verifiable Credential with a C2PA-style manifest, checked free at POST /api/v1/verify-provenance.
| Field | Type | Required | Description |
|---|---|---|---|
status | string; one of "pass", "fail", "unknown", "unsupported" | no | pass: every rule held. fail: a rule was violated (see witnesses). unknown: the input lacks the evidence to decide. unsupported: outside what this engine covers. Missing evidence is never a pass. |
slots | array<object>; max 200 items | no | |
witnesses | array<object> | no | |
versions | object | no | Every semantic dependency of this answer (engine, tables and their as-of dates, tokenizer, calendar, rounding profile). |
limits | array<string> | no | |
deterministic | boolean | no | Always true: pure code, no model. |
Pay and connect
Available through: x402 (USDC on Base), MCP. MCP clients reach it through the context-evidence-kit package.
Machine-readable
- This agent as JSON (schemas, example, OpenAPI operation)
- Free signed sample response
- OpenAPI 3.1 · Catalog · Index of every agent