naulon
v1.0.2Check citations and retractions by DOI, and see the x402 price an AI agent pays to cite a source.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
naulon_discover Discover tollable sources
List candidate sources for a topic from the configured publisher (RSS_URL, PUBLISHER_URL or CATALOG_URL, or the hosted endpoint), each with its slug, title, free teaser, url and an indicative price where the source lists one. It returns no paid text and pays nothing. Call it first, then naulon_appraise to score the candidates and naulon_quote for a live price before naulon_pay_and_read. The list is the source's best matches in its own order, empty when nothing matched, and never a promise that one answers your question. Each candidate's `match` says why it is there: `title` is the strongest, `…
| Parameter | Type | Description |
|---|---|---|
topic * | string | The topic, in plain words: a subject, a phrase or a short question. |
naulon_status Check wallet, discovery, and gate status
Report whether this server can pay for a read: the buyer wallet address, where discovery looks, the budget left, and in plain language the next step to get a paid read working (fund the wallet, or point discovery or the gate at your own publisher). Call it first, and again when naulon_discover or naulon_pay_and_read returns nothing or refuses. It is free, takes no arguments and changes nothing.
naulon_appraise Appraise candidates for a topic
Score how relevant each candidate is to the topic from its free teaser alone: a relevance from 0 to 1 and a one-line rationale for each. Call it on the rows naulon_discover returned, to decide which are worth a live price from naulon_quote and a paid read. It is free: it reads the teaser and the match flags, never the text behind the toll, and it fetches nothing. Pass each row back whole, or a subset of whole rows. `matchedInBody` and `matchedSemantic` tell the scorer why the search returned a row, and without them a source matched in its body scores the same as a near miss.
| Parameter | Type | Description |
|---|---|---|
candidates * | array | Candidates to appraise — pass naulon_discover's rows through unmodified. |
topic * | string | The research topic to score relevance against. |
naulon_quote Quote the toll (free price probe)
Read the live toll for ONE source without paying it: the author's price, the buyer's total (higher when the publisher adds settlement legs such as an operator fee) and the settlement terms. Call it on a candidate from naulon_discover, whose listed price is only indicative: this one is the publisher's own answer. Quote before paying with naulon_pay_and_read so you can plan spend against real prices. It makes one request to the publisher and is free. `gated: false` means one thing only: the origin answered 2xx, so the page is a free read you may fetch. Anything else is `refused: true` with `refu…
| Parameter | Type | Description |
|---|---|---|
slug * | string | The candidate's `slug` from naulon_discover. Always required; it locates the page only when `url` is absent. |
url | string | The candidate's `url` from naulon_discover (the source's real link). When present it is probed VERBATIM; absent, the slug is reconstructed to the /essays/<slug> template. |
naulon_pay_and_read Pay the toll and read the source
Pay the x402 toll for a source and return its full content, the settlement reference, and the Citation License id (jti) — the verifiable proof this read was paid for, which you cite. This SPENDS MONEY from the server-configured wallet, debited from the session budget. It checks your held licences FIRST: if you already hold a live one for this source it serves the read free and returns reused:true with paidUsdc:0, so calling this twice in a session does not pay twice. The licence it mints is kept for later free re-reads via naulon_read_held, but it EXPIRES — `expiresAt`/`expiresInSec` in th…
| Parameter | Type | Description |
|---|---|---|
slug * | string | Source slug from naulon_discover / naulon_quote. |
format | string | `markdown` (default) returns the article itself, without the page around it. `html` returns the page exactly as the site served it. |
url | string | Canonical URL from naulon_discover / naulon_quote (the source's real link). When present the toll is paid at it VERBATIM; absent, the slug is reconstructed to the /essays/<slug> template. |
naulon_read_held Re-read a source you already licensed (free)
Re-read a source you previously paid for, FREE, using the held Citation License — no second payment. Held licences are SHORT-LIVED (typically an hour from purchase); `expiresAt` on the original pay tells you when. This also covers a source inside a SCOPE licence you bought up front: pass the url and any live licence whose scope covers that path is used. If the license is holder-of-key bound, a fresh wallet proof-of-possession is signed automatically. Returns ok:false with a `reason` when no live licence covers it: buy it with naulon_pay_and_read, which also checks held licences first. Any lo…
| Parameter | Type | Description |
|---|---|---|
slug * | string | Source slug you previously paid for with naulon_pay_and_read. |
format | string | `markdown` (default) returns the article itself, without the page around it. `html` returns the page exactly as the site served it. |
url | string | The exact url this source was paid at. Pass it whenever you have it — a held licence is matched against the ISSUER derived from this url, so a url on a different host than the one that minted the li… |
naulon_research Research a topic end-to-end (composite)
The lazy-client convenience: run the whole loop — discover → quote → appraise → decide → pay → ground — for a topic and return a grounded answer with cited, paid-for sources, the spend, the per-candidate decisions (with reasons), and the full decision log. Spend is bounded by the session budget. You MAY pass budgetUsdc to spend LESS on this run, but it is clamped to what remains in the session — you can lower the cap, never raise it. This SPENDS MONEY. Prefer the granular tools (naulon_discover, naulon_quote, naulon_pay_and_read) when you want to see prices and plan spend yours…
| Parameter | Type | Description |
|---|---|---|
topic * | string | The research topic. |
budgetUsdc | number | Optional cap for THIS run, in USDC. Clamped to the remaining session budget — lowers the cap only, never raises it. |