# WritersLogic Deictic & Relative-Date Checker

> WritersLogic Deictic & Relative-Date Checker is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Scans English text for unresolvable context-dependent phrases (demonstratives, back-references, relative dates) and returns either resolved dates or clarification questions for each ambiguous span.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/deictic-check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-deictic-relative-date-checker-9788870e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LGBu_LhFeaGBJhE1bNvru

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability writerslogic-deictic-relative-date-checker-9788870e -d '<json body>'
```

Example prompt: Before you act on this customer message — 'I need the report done by end of month, same format as last time, and ship it to that address' — scan it for any phrases that are ambiguous or can't be understood without extra context, using today as the anchor (2024-01-15, America/New_York), and tell me what you'd need to clarify.

## When to prefer this

Choose this endpoint when an AI agent needs to validate that an incoming user or tool message is fully unambiguous before passing it to a downstream planner or action executor — especially when the message may contain relative dates, demonstrative references, or back-references that could cause silent misinterpretation. It is preferable to general-purpose LLM-based ambiguity detection because it is rule-based, deterministic, cheap ($0.005/call), and returns structured offsets and ready-to-use clarification questions rather than freeform prose. Best suited for English-language agentic pipelines where unresolved temporal or referential ambiguity would cause downstream failures.

## Known failure modes

- Text is empty or exceeds 20,000 characters — validation error returned
- anchor.asOf is not a valid ISO 8601 instant or YYYY-MM-DD — parse error
- anchor.timeZone is not a recognized IANA zone — error returned
- Relative weekday expressions like 'next Friday' are not resolved and become clarification questions rather than errors
- Non-English input is not analyzed and may return no detections even if ambiguous phrases exist
- Pronouns like 'it' or 'they' are intentionally out of scope and will not be flagged

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

Returns a structured result with a pass or fail status, plus an array of detected spans each containing the matched phrase, its category (demonstrative, back-reference, or relative date), character offsets, the resolved date if unambiguous, and a suggested clarification question if the phrase cannot be resolved. Candidates from the input are echoed on reference slots to help the caller formulate questions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 20000,
   "minLength": 1,
   "description": "Message to check."
  },
  "anchor": {
   "type": "object",
   "required": [
    "asOf",
    "timeZone"
   ],
   "properties": {
    "asOf": {
     "type": "string",
     "maxLength": 40,
     "description": "ISO 8601 instant with Z/offset, or a plain YYYY-MM-DD local date."
    },
    "timeZone": {
     "type": "string",
     "maxLength": 64,
     "minLength": 1,
     "description": "IANA zone, e.g. Europe/Berlin."
    }
   },
   "description": "Reference time for resolving unambiguous relative dates.",
   "additionalProperties": false
  },
  "candidates": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 200
   },
   "maxItems": 20,
   "description": "Items recently in play; echoed on reference slots for the caller to ask with. Never chosen automatically."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-deictic-relative-date-checker-9788870e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
