talonic-mcp
OfficialTalonic MCP lets an agent ingest documents, extract schema-validated structured data, and query/manage the resulting workspace end to end.
Extract structured JSON from PDFs, scans, images, DOCX, emails, and forms, with inline or saved schemas, auto-schema discovery, confidence scores, provenance, and cost data.
Upload large or connector-hosted files via a browser upload link, then poll document status and fetch document metadata.
OCR documents into clean markdown text.
Search the workspace by literal keyword and filter documents by extracted field values using comparison, text, presence, and range operators.
List and save reusable extraction schemas.
Check credit balance, pricing catalog, and usage breakdowns.
Explore the Field Registry: list fields, get concept cards, read current field values across documents, and resolve natural-language concepts to underlying data.
List and invoke read-only platform agent tools, including SQL-style data queries and document/workspace retrieval primitives.
Work with Agent tasks: list, inspect, claim, heartbeat, and submit declared outputs to resume parked documents.
Manage Spec pipelines: list specs, inspect structure, run a spec over workspace documents or public file URLs, poll progress, and read structured results.
Ask natural-language questions over documents and poll for cited, verified answers.
Handle External-mode app decision tasks when authorized: list, claim, read frozen packages, heartbeat, submit decisions, release tasks, or mark them undecidable.
Integrates with JetBrains IDEs through the Continue extension, enabling AI agents to perform document data extraction and management using Talonic's tools.
@talonic/mcp
Official Talonic MCP server. Give any AI agent the ability to extract structured, schema-validated data from any document — PDFs, scans, invoices, contracts, forms — via the Model Context Protocol.
Status: stable, listed on the official MCP Registry as
io.github.talonicdev/talonic-mcp. Thirty-six public tools and two resources, including seven decision-task tools for External-mode Talonic Apps (not yet production-verified, running at the platform'sdecidetier — atlnc_key with a per-appdecidegrant, or an OAuth session with theapps:decidescope and asenior_memberrole or above); the rest are verified end-to-end against production (including the Claude.ai hosted connector), each tool rendering its own ChatGPT Apps SDK widget card. Runs as a local stdio process for desktop/IDE clients or as the hosted Streamable HTTP server atmcp.talonic.comfor Claude.ai connectors.
What you get
One install gives an agent the whole document-extraction workflow:
Tool | What it does |
| Extract schema-validated JSON from a document, with per-field confidence scores. The primary tool. |
| Get a browser upload link for files too large to pass through a hosted connector (e.g. Claude.ai). The robust path for real-world documents. |
| OCR a document to clean markdown. |
| Omnisearch across documents, fields, sources, and schemas. |
| Filter documents by extracted field values ( |
| Fetch a document's metadata, processing status, and links. |
| List saved schemas (with definitions). |
| Save a reusable schema to the workspace. |
| Read credit balance, EUR value, burn rate, and runway for budget-aware behaviour. |
| Read the public per-unit credit pricing catalog and multipliers to predict spend before running a job. |
| Break down credit consumption per function over a trailing window (default 30 days). |
| List the Field Registry — every canonical concept with a stable id, maturity ( |
| Concept card for one field (by id or by NAME): definition, aliases, maturity, occurrence stats, value distribution with examples, schema usage, identity links. |
| One concept's current values across all documents, with provenance (document, source text, resolution band). |
| Resolve a concept in the user's words to the fields, values, documents and passages that carry it — by meaning, not by name. |
| The platform's agent tool registry ( |
| Run one platform agent tool directly with your own arguments — no model in the loop. |
| Metadata worklist for documents parked at Agent stages. |
| Audited fetch of one Agent task's immutable input snapshot and output contract. |
| Acquire or reclaim a leased Agent task and its execution epoch. |
| Extend the current claim lease on an Agent task using its epoch. |
| Submit an Agent task's declared typed outputs transactionally and resume the document. |
| List the workspace's configured Specs (pipelines) — name, schema, version, field/node counts. |
| Get one Spec's full structure: nodes, compiled phases, fields, and (optionally) its version history. |
| Run a Spec over documents already in the workspace or public file URLs — one call, either backend. |
| Poll a Spec run's status and progress until it completes. |
| Read a Spec run's structured rows, one per document, with column definitions. |
| Ask a natural-language question over the workspace's documents and get a cited, verified answer. |
| Poll a long-running |
| One External-mode App's decision inbox: runs parked for an outside agent to decide ( |
| Lease a decision task; the claim returns the output contract, precedents and the input-package descriptor. |
| Page through the claimed run's frozen input package with its provenance locators. |
| Extend a decision-task lease, never past its SLA deadline. |
| Submit the decision: |
| Give a decision task back to |
| Declare a decision task undecidable: raises a Human Review and applies the app's fallback policy. |
Plus two resources for clients that browse them (Claude Desktop, Cowork render these in-UI):
talonic://schemas— the saved-schemas list.talonic://webhooks/reference— webhook event types, delivery semantics, signature verification, and retry policy.
Every tool description is written for an LLM, with explicit USE WHEN / DO NOT USE WHEN guidance, so agents pick the right tool without extra prompting.
Related MCP server: sahmk-mcp
Why use it
When an agent needs structured data out of a PDF, scan, or messy document, the usual approach is raw OCR plus an LLM call — and the results drift: tables get mangled, dates get misread, totals come out wrong. talonic_extract instead returns schema-validated JSON with per-field confidence scores, a detected document type, and stable IDs for follow-up calls. The full pipeline (upload → OCR → extraction → validation) runs server-side in one request.
Quick start
1. Get an API key (30 seconds)
Each user runs against their own isolated Talonic workspace — your documents and schemas are private to you.
Sign up at app.talonic.com — free tier, 50 extractions/day, no credit card.
Settings → API Keys → Create New Key.
Copy the
tlnc_…value into your MCP client config (snippets below).
You don't need an API key for Claude.ai. The hosted connector uses OAuth — Claude.ai handles auth via PKCE and stores its own short-lived tokens. The API key is only needed for local-stdio installs (Claude Desktop, Cursor, Cline, Continue, Cowork) and the API-key URL fallback.
2. Install
Every local client launches the server the same way — a one-line npx invocation with your key in the env block. No clone, no build:
{
"command": "npx",
"args": ["-y", "@talonic/mcp@latest"],
"env": { "TALONIC_API_KEY": "tlnc_..." }
}Version pinning. @latest is fine for trying things out. For production and CI, pin a version (e.g. @talonic/mcp@0.1.52) so a release can't silently change tool descriptions, validation rules, or response shapes your agent depends on. Bump the pin after reviewing the CHANGELOG.
Client setup
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"talonic": {
"command": "npx",
"args": ["-y", "@talonic/mcp@latest"],
"env": { "TALONIC_API_KEY": "tlnc_your_key_here" }
}
}
}Fully restart Claude Desktop (Cmd+Q on macOS — not just close the window). Talonic appears in the connected-servers list with all thirty-eight public tools.
Edit ~/.cursor/mcp.json (or Cursor settings → MCP → edit config):
{
"mcpServers": {
"talonic": {
"command": "npx",
"args": ["-y", "@talonic/mcp@latest"],
"env": { "TALONIC_API_KEY": "tlnc_your_key_here" }
}
}
}Open the Cline panel → settings (gear) → MCP Servers → Edit. Add the entry above. Save and restart the panel.
Edit ~/.continue/config.json, add to the mcpServers array:
{
"name": "talonic",
"command": "npx",
"args": ["-y", "@talonic/mcp@latest"],
"env": { "TALONIC_API_KEY": "tlnc_your_key_here" }
}Open Cowork settings → MCP Servers → Add. Use the same shape as Claude Desktop above.
Claude.ai (hosted connector)
Claude.ai's "Add custom connector" flow uses a remote MCP URL instead of a local process. We host one at mcp.talonic.com. OAuth is the recommended path — no API key in the config.
Recommended — OAuth (no API key):
Open claude.ai/settings/connectors → Add custom connector.
URL:
https://mcp.talonic.com/mcp(no query string, no headers).Click Connect → you're redirected to Talonic → sign in (Google, Microsoft, or SSO).
Approve the consent screen (scopes:
extract:write,documents:read,schemas:read, andapps:decidefor the decision-task tools). Connectors added beforeapps:decideexisted keep working; the seven decision tools show as not invocable until you remove and re-add the connector. Pick a workspace if you have multiple.You're returned to Claude.ai. All thirty-eight public tools appear.
The flow uses PKCE (RFC 7636) and dynamic client registration (RFC 7591). Claude.ai stores a 1-hour access token + 30-day refresh token and refreshes automatically. No API key ever touches the connector config or any URL. Revoke by removing the connector or revoking the OAuth client in your Talonic dashboard.
Alternative — API key in URL (firewalled environments, automation, static credential):
https://mcp.talonic.com/mcp?apiKey=tlnc_your_key_hereTrade-off: the key is persisted in Claude.ai's connector store and may appear in Anthropic-side logs. Rotate it if you remove or share the connector.
Uploading files in Claude.ai? Use
talonic_request_upload— see the next section. Dragging a real file straight into the chat does not work through hosted connectors (a platform limit, explained below).
File uploads: the browser-handoff flow
This is the most important thing to understand about running Talonic inside a hosted connector (Claude.ai web, ChatGPT).
The constraint
Hosted AI platforms cap the size of a single tool-call argument. On Claude.ai the effective ceiling is ~32 KB of decoded payload (~43 KB of base64) — measured directly against production. A real PDF is hundreds of KB to several MB, so passing it as base64 file_data gets silently truncated: the server receives a clean-but-incomplete prefix, the API registers a stub document, and extraction returns null fields. The agent never sees the truncation. Separately, the agent's sandbox cannot upload the bytes out-of-band either — egress is allowlisted, so a direct PUT to storage is blocked.
These are deliberate, structural properties of hosted/sandboxed agent platforms — not a Talonic bug, and not something we can configure away. The same limits apply to ChatGPT connectors and similar surfaces.
The solution: talonic_request_upload
Route the file transfer onto the user's own browser, which has neither the tool-call cap nor the egress allowlist:
1. Agent calls talonic_request_upload(filename)
→ { document_id, upload_url: "https://app.talonic.com/u/<token>", expires_at }
2. Agent shows the upload_url to the user.
3. User opens it in a browser tab and drops the file.
4. Agent polls talonic_get_document(document_id) until status === "completed".
5. Agent calls talonic_extract(document_id, schema) — structured data comes back.Cost to the user: one click. It's the same pattern as a Slack/Stripe "open in browser" link, and it works on every hosted agent. Verified end-to-end in production Claude.ai.
For the agent: a user saying "done" or "uploaded" only confirms the browser-side upload finished — server-side OCR + processing take another ~10–30 s. Poll
talonic_get_documentuntilstatusis"completed"before callingtalonic_extract. Calling early returns errors that look like the file is missing. (The tool descriptions enforce this; you generally don't need to prompt for it.)
When you don't need it
Local-stdio installs (Claude Desktop, Cursor, Cline, Continue, Cowork) have no tool-call cap. Drop a file in and the agent passes
file_datadirectly —talonic_request_uploadisn't needed.The file is already at a public URL → pass
file_urltotalonic_extract.The file was already uploaded at app.talonic.com → pass its
document_id.
Agent decision guide
Pick the right tool before calling — the wrong one returns the wrong data, costs credits, and slows the conversation.
User has a file
Local client (Desktop, Cursor, …), small-to-medium file →
talonic_extractwithfile_data+filename.Hosted connector (Claude.ai) →
talonic_request_upload, then poll, thentalonic_extractbydocument_id. (See browser-handoff.)File is at a public URL →
talonic_extractwithfile_url.They want specific fields → pass a
schemaorschema_id. They want full text →talonic_to_markdown. Both →talonic_extractwithinclude_markdown: true.
User is asking about existing documents
Conceptual/fuzzy ("any docs about indemnification") →
talonic_search.Value-based ("invoices over 1000 EUR") →
talonic_filter.They reference a
document_id→talonic_get_document(metadata),talonic_to_markdown(text), ortalonic_extract(re-extract with a new schema). Re-using adocument_idis cheaper than re-uploading.
Working with schemas
One-off → pass the schema inline. Reused across many docs →
talonic_save_schemaonce, thentalonic_extractwithschema_id. Discover existing →talonic_list_schemas.
Confidence & human review
confidence.overall< ~0.7 → tell the user the extraction may be unreliable; surface low-confidence fields; confirm before downstream actions.Per-field confidence < ~0.7 → mark "needs review"; don't use silently in calculations or external calls.
Critical fields (amounts, legal terms, names, dates) → confirm with the user even at high confidence.
Need to cite sources? Pass
include_provenance: truefor per-field page/section/source-text.
When not to call Talonic
General-knowledge or chat questions — don't pre-emptively extract.
The data is already in the conversation from a prior call — reuse it.
For cost/balance questions →
talonic_get_balance. Per-call cost is on everytalonic_extract/talonic_to_markdownresponse undercost.
How it works
Agent (Claude Desktop / Cursor / Claude.ai / …)
│ MCP protocol — stdio (local) or Streamable HTTP (hosted)
▼
Talonic MCP server (this package)
│ HTTPS, Bearer auth (API key or OAuth token)
▼
api.talonic.comEach tool call is one HTTP request to the Talonic API. The server handles auth, retries on transient failures (429, 5xx), MIME-type detection, multipart serialisation, and structured error formatting. It is a thin, stateless client — see Privacy.
Configuration
Set via the env block in your MCP client config:
Variable | Required | Description |
| yes (local installs) | Your Talonic API key. Starts with |
| no | Override the API base URL. Default: |
Troubleshooting
Error: TALONIC_API_KEY environment variable is required.
The env block is missing or unread. Check the JSON shape, then fully restart the client (not just the conversation).
Talonic doesn't appear in the connected-servers list.
Confirm command is npx and args are exactly ["-y", "@talonic/mcp@latest"]. Sanity check in a terminal: npx -y @talonic/mcp@latest --version should print a version.
talonic_extract returns a validation error with no schema.
By design — the call needs to know which fields to pull. The error hands back a ready-to-paste minimal schema (tailored to your instructions) so the retry succeeds immediately. Three ways forward: provide an inline schema (full JSON Schema recommended), pass a schema_id from talonic_list_schemas, or set auto_schema: true for open capture — Talonic discovers the fields and returns a suggested schema you can refine.
Dragging a file into Claude.ai gives empty/null fields.
The hosted-connector tool-call cap (~32 KB) truncated file_data. Use talonic_request_upload — the browser-handoff flow is the supported path. Local-stdio installs are unaffected.
talonic_request_upload worked but talonic_extract errors right after.
You extracted before processing finished. Poll talonic_get_document until status === "completed", then extract. A user's "done" only means the browser upload landed, not that OCR is done.
talonic_filter returns nothing when you expect data.
Two causes: (1) the field isn't extracted/filterable yet — call talonic_search and check filterable: true; (2) schema-typing — numeric operators (gt, gte, lt, lte, between) need the field typed as number. A string field holding numeric content silently returns zero. Gate on field.dataType === "number" (from talonic_search) before constructing numeric filters.
Tool descriptions look stale after an update. Some clients cache tool lists. For Claude.ai, remove and re-add the connector. For local clients, restart.
Known limitations (v0.1)
talonic_extractneeds the fields specified. Pass aschema(full JSON Schema recommended) or aschema_id— or setauto_schema: truefor open capture, which discovers the fields and returns a suggested schema. A call giving none of the three returns a validation error that hands back a ready-to-paste minimal schema. If a flat key-type map ({ vendor_name: "string" }) yields a "no fields" error, use full JSON Schema:{ "type": "object", "properties": { "vendor_name": { "type": "string", "title": "Vendor Name" }, "total_amount": { "type": "number", "title": "Total Amount" } }, "required": ["vendor_name", "total_amount"] }Hosted-connector tool-call cap (~32 KB). Real files can't pass through
file_dataon Claude.ai/ChatGPT — usetalonic_request_upload. Local installs are unaffected.Filter requires
filterable: truefields. Calltalonic_searchfirst; only entries withfilterable: trueare usable ontalonic_filter.Numeric filter operators need
number-typed fields. Numbers stored as strings (currency symbols, locale formatting) silently return zero. Type schema fields appropriately at design time; gate ondataTypeat query time.Per-call cost is extract-only.
talonic_extractandtalonic_to_markdown(file-input path) return acostblock (costCredits,costEur,balanceCredits,cellsResolvedRegistry,cellsResolvedAi) from the API'sX-Talonic-Cost-*headers. Read tools don't consume credits and carry nocost;talonic_to_markdownon thedocument_idpath returnscost: null. For balance any time →talonic_get_balance.
Develop
git clone https://github.com/talonicdev/talonic-mcp.git
cd talonic-mcp
npm install
npm run build
npm test
node dist/server.js --versionContributing to docs or adding a tool? Read AGENTS.md and docs/architecture/docs-pipeline.md first — there are two parallel docs surfaces and it's easy to edit the wrong one.
Privacy
This MCP server is a thin client. It does not collect, store, log, or transmit any data on its own. Every tool call is forwarded directly to api.talonic.com using your credential, and the response is returned verbatim. The server does not persist API keys, inputs, outputs, or document contents beyond a single tool call; sends no analytics or telemetry; and reads/writes files only at the file_path you explicitly pass, only for that call's duration.
What Talonic does with uploaded data is governed by talonic.com/privacy: documents are processed for OCR + extraction, results live in your isolated workspace at app.talonic.com, and workspace data is not shared with third parties. To delete state, remove documents/schemas in the dashboard or revoke the API key. Privacy questions specific to this integration: info@talonic.ai.
License
MIT © Talonic GmbH
Available Tools
40 toolstalonic_askAsk your documentsA
Ask a natural-language question over the workspace's documents and get a cited, verified answer (markdown). The Talonic agent plans over the workspace's extracted fields, runs read-only SQL over extracted cells, reads document text, and grounds every load-bearing claim in a source span. Consumes credits.
USE WHEN (the default for questions): the user asks anything about what their documents contain — counts, totals, duplicates, comparisons, anomalies ('which vendors invoiced us twice in May?'), or a summary across documents. One call replaces exploring fields, schemas, specs and SQL yourself; skip that exploration.
NOT FOR: reading a known field's values (talonic_field_values, free) or filtering documents by a known value (talonic_filter, free); locating which field holds a concept (talonic_find_data).
ARGS: question; optional scope { document_ids[], schema_id, pipeline_id, data_product_id, document_type, source_id, tags[], ingested_after, ingested_before } (ANDed), conversation_id (continue a thread), output_format { instruction, template }, wait_seconds (0–55, default 45).
RETURNS: { ask_id, status ('completed'|'processing'|'error'), conversation_id, answer (markdown), citations[] { quote, document_id, kind, filename, app_url }, verification { verdict, checks_total, checks_unsupported, correction }, usage { tokens, credits_charged }, tool_calls, artifacts[], waited_ms }. If status is still 'processing' after the wait, call talonic_get_answer with the ask_id.
Inputs: question (required), scope, wait_seconds, output_format, +1 more.
talonic_claim_agent_taskClaim Agent TaskA
Claim an available Agent-stage task, or reclaim it after its lease expires.
USE WHEN: ready to process a task. Save the returned execution_epoch and lease_expires_at. NOT FOR: merely inspecting work (use talonic_get_agent_task) or extending an active lease (use talonic_heartbeat_agent_task). A conflicting live claim returns HTTP 409. A successful claim returns the task payload: input_snapshot, instructions, and output_contract, whose entries carry each field's Spec rules (description) and allowed codes (enumValues). Review the documents against those rules.
Inputs: task_id (required).
talonic_claim_decision_taskClaim Decision TaskA
Claim an available decision task (or reclaim one whose lease expired) and receive the decision bundle: task metadata with the new execution_epoch, output_contract, precedents, and a package descriptor { package_kind, record_count, page_size, first_cursor, documents }.
USE WHEN: ready to decide a listed task. There is no separate get: claiming IS the payload fetch. Save execution_epoch and lease_expires_at; then read the records with talonic_read_decision_package starting at first_cursor (null means the package has no records). NOT FOR: extending a live lease (talonic_heartbeat_decision_task) or returning a decision (talonic_submit_decision_task). A conflicting live claim returns HTTP 409. AUTH: a tlnc_ key needs a per-app 'decide' grant; an OAuth connector session needs the apps:decide scope (consented at connect) and a live workspace role of senior_member or above. A 403 (decide_grant_required, insufficient_scope, insufficient_tier) names what is missing — tell the user, do not retry.
Inputs: task_id (required).
talonic_create_accountAdd a companyA
Create an account: a company whose documents the workspace keeps apart, so answers about it never mix in another company's files.
USE WHEN: the user is about to add files for a company that talonic_list_accounts does not show yet. NOT FOR: tagging single documents · a company that already exists (reuse its name). ARGS: name; optional aliases[] (other names it appears under, e.g. its legal name), description. RETURNS: { id, name, aliases[], description, created_at }. 409 when the name is taken.
Inputs: name (required), aliases, description. Returns: id, name, aliases, created_at, +1 more
talonic_extractExtract dataA
Extract structured, schema-validated JSON from a document: PDF, scan, image, DOCX, email, or photo. Returns the requested fields with per-field confidence scores and, with include_provenance, the page and source text each value came from.
USE WHEN: the user asks to extract data from a document, turn a PDF into JSON, pull fields from a file, or parse a scan / form / statement / receipt / report, for common (invoice, contract) or unusual document types.
NOT FOR: full plain text (use talonic_to_markdown) · finding documents (use talonic_search / talonic_filter).
BY NAME: if the user names a file, call talonic_search first to get its document_id, then call this.
ARGS: define the fields you want with inline schema (JSON Schema, e.g. {type:'object',properties:{vendor_name:{type:'string'}}}) OR a saved schema_id, not both. Don't know the fields yet? Set auto_schema:true to let Talonic discover them (open capture) and return a suggested schema you can refine. Provide EXACTLY ONE document source: document_id (cheapest, a workspace doc), file_url (public URL), or file_data+filename (small local files only).
COST: each call uses credits; talonic_get_balance shows the remaining balance.
RETURNS: data (the JSON), confidence.overall and confidence.fields (treat <0.7 as needs review), provenance per field when include_provenance is set, document metadata, extraction_id.
Inputs: schema, file_url, filename, file_data, +7 more. Returns: cost, data, links, schema, +8 more
talonic_fail_decision_taskFail Decision TaskADestructive
Report that the claimed decision task cannot be decided: raises a Human Review with your reason AND applies the app's declared fallback policy (rules decide, hold for review, or fail the run).
USE WHEN: the package is insufficient or contradictory and no claimant could decide it. This ends the task (status 'failed'). NOT FOR: temporary give-backs (talonic_release_decision_task) or a decision you can make with low confidence (submit it with confidence set). ARGS: task_id, execution_epoch, reason (up to 2,000 characters). Stale epoch is HTTP 409. AUTH: a tlnc_ key needs a per-app 'decide' grant; an OAuth connector session needs the apps:decide scope (consented at connect) and a live workspace role of senior_member or above. A 403 (decide_grant_required, insufficient_scope, insufficient_tier) names what is missing — tell the user, do not retry.
Inputs: reason (required), task_id (required), execution_epoch (required).
talonic_field_valuesRead a field's valuesARead-onlyIdempotent
Read a field's CURRENT VALUES across documents, with provenance — one row per bound occurrence: document id + filename + type, the value, confidence, the raw name it was captured under, the verbatim source text, and how confidently the raw name was matched to this concept (resolved_by).
USE WHEN: the user asks 'what are all the X across my documents', you need to tabulate or aggregate one concept across the corpus, or you want the evidence (source text + document) behind a value. NOT FOR: multi-field row-shaped queries over documents (talonic_filter) or one document's full field set (talonic_get_document).
ARGS: exactly one of field_id or name; optional document_id (one document), value (case-insensitive contains filter), limit (max 100), cursor.
RETURNS: { field_id, canonical_name, concept_ids, data[] of { occurrence_id, document_id, document_filename, value, confidence, provenance{ raw_field_name, source_text, resolved_by, needs_confirmation, via_redirect }, links }, pagination }. Only rows from documents the caller may see are returned.
Inputs: name, limit, value, cursor, +2 more.
talonic_filterFilter documentsARead-only
Find documents by their extracted field VALUES using composable conditions (e.g. 'invoices where total > 1000').
USE WHEN: value-based criteria on extracted fields — numeric/date/text comparisons or presence checks.
NOT FOR: free-text / concept search (use talonic_search) · a single document by id (use talonic_get_document).
ARGS: conditions[] (AND-ed). Each = EXACTLY ONE of field (canonical name) or field_id (UUID), an operator, and usually a value. Operators: eq, neq, gt, gte, lt, lte, between (needs value AND value_to), contains, is_empty / is_not_empty (no value). value/value_to are string|number|boolean matching the field type (ISO YYYY-MM-DD for dates).
TEXT FILTERS: for eq/contains/is_not_empty on a text field, just TRY a natural field name ('currency', 'vendor_name') — names resolve server-side and an unresolved field surfaces in warnings[] rather than erroring. Do NOT block on discovering the field first; search-first is only required for numeric operators.
NUMERIC GUARD: gt/gte/lt/lte/between only work when the field's dataType is 'number'. Call talonic_search first and check dataType; a numeric op on a string field returns zero matches. If the response has warnings[], surface them to the user — do not silently retry.
RETURNS: data[] (matching documents with field values), total, warnings[].
Inputs: conditions (required), page, sort, limit, +2 more. Returns: data, page, total, warnings, +1 more
talonic_find_dataFind where data livesARead-onlyIdempotent
Locate the REAL data behind a natural-language concept before querying anything: semantic + lexical retrieval that resolves a phrase ('payment volume per transaction', 'counterparty', 'Vertragslaufzeit') to the registry fields, values, documents and text passages that carry it — even when the field is captured under a different name.
USE WHEN: the user asks about a concept and you are not sure which field holds it, when talonic_list_fields / talonic_search came back empty or ambiguous, or when the answer may live in document prose rather than a captured cell. NOT FOR: reading a known field's values (talonic_field_values) or filtering by a known field (talonic_filter).
ARGS: query (the concept, in the user's words), optional top_k (1–25, default 10), document_ids (hard scope).
RETURNS: four ranked groups — FIELDS (canonical_name, field ids/keys, maturity/tier, occurrence_count, sample values with their documents), VALUES, DOCUMENTS and PASSAGES — every item a ready handle for the next call. Read-only, no LLM cost.
Inputs: query (required), top_k, document_ids.
talonic_get_agent_taskGet Agent TaskARead-only
Fetch one Agent-stage task's immutable input snapshot, instructions, and declared output contract. This disclosure is audited.
USE WHEN: inspecting a listed task before deciding whether to process it. NOT FOR: acquiring the task (use talonic_claim_agent_task) or returning results (use talonic_submit_agent_task). ARGS: task_id. RETURNS: metadata, input_snapshot, output_contract, instructions, and timeout_fallthrough.
Inputs: task_id (required).
talonic_get_answerGet the answerARead-onlyIdempotent
Poll an ask started by talonic_ask that was still processing when the wait ended.
USE WHEN: talonic_ask returned status 'processing' with an ask_id — poll every few seconds until 'completed' or 'error'.
NOT FOR: asking a new question (talonic_ask).
ARGS: ask_id.
RETURNS: the same answer envelope as talonic_ask (answer, citations[], verification, usage) or { status: 'processing', poll_hint }.
Inputs: ask_id (required).
talonic_get_balanceCheck credit balanceARead-only
Read the workspace's Talonic credit balance, EUR value, tier, 30-day burn, and projected runway.
USE WHEN: the user asks about credits/budget, or before a large batch when you want to confirm headroom. NOT FOR: the per-call cost of a single extraction (that is on the talonic_extract response). ARGS: none. RETURNS: balance_credits, balance_eur, tier, burn_rate_30d_credits, projected_runway_days (-1 = no recent usage), tier_resets_at.
Inputs: no named parameters. Returns: tier, balance_eur, tier_resets_at, balance_credits, +2 more
talonic_get_documentLook up a documentARead-only
Fetch a single document's metadata and processing status from the workspace.
USE WHEN: 'tell me about document X', or to poll status after talonic_request_upload until the file is ready.
NOT FOR: full text (use talonic_to_markdown) · extracted fields (use talonic_extract).
BY NAME: if the user names a file, call talonic_search first to get its document_id, then call this.
ARGS: document_id.
RETURNS: filename, pages, type_detected, language, and status. Status lifecycle: pending_upload -> uploading -> queued -> extracting -> completed. Wait for completed before calling talonic_extract on a freshly uploaded doc. Terminal failure statuses: ocr_failed, extraction_failed, error — stop polling and report the failure to the user if any of these appear. To read the document's text, call talonic_to_markdown with this id.
Inputs: document_id (required). Returns: id, links, pages, source, +12 more
talonic_get_fieldLook up a fieldARead-onlyIdempotent
Get the CONCEPT CARD for one Field Registry field: what it means (curated description + extraction instruction), its synonyms and aliases, maturity, where it occurs (document/occurrence counts, first/last seen, document-type spread), its value distribution (top values with counts, distinct count, examples), schema usage, and identity links (superseded_by, absorbed concepts).
USE WHEN: you must decide whether a field is the right concept for a question, need example values or the value shape before writing a filter, or hold a field NAME from the user and need the live concept behind it. NOT FOR: listing many fields (talonic_list_fields) or reading every value (talonic_field_values).
ARGS: exactly one of field_id or name. Names are resolved through canonical name → spelling fold → merge aliases → synonyms (then case-insensitive fallbacks) and followed to the live concept; the response says which arm matched. include_history: true appends the curation trail (merges, renames, maturity moves).
RETURNS: the card { id, canonical_name, maturity, data_type, definition, identity, occurrence, values, usage, links } plus resolution when a name was given and history when requested.
Inputs: name, field_id, include_history.
talonic_get_pricingCheck pricingARead-only
Read Talonic's machine-readable credit pricing catalog: fixed per-unit rates so you can predict spend BEFORE running anything.
USE WHEN: estimating the cost of a planned extraction/structuring/matching job, or answering a pricing question. Public — works without spending credits. NOT FOR: the workspace's current balance (use talonic_get_balance) or what it has already spent (use talonic_get_usage). ARGS: none. RETURNS: currency, credits_per_eur, multipliers (e.g. batch 0.5x), and units[] — each { unit, label, credits, eur, free }.
Inputs: no named parameters. Returns: units, currency, multipliers, credits_per_eur
talonic_get_runCheck run progressARead-onlyIdempotent
Poll a Spec run started by talonic_run_spec: normalised status plus document-level progress and, for pipelines, per-phase progress.
USE WHEN: waiting for a run to finish — poll every 5–10 s; stop on completed or failed.
NOT FOR: reading the structured rows (talonic_get_run_results) or starting a run (talonic_run_spec).
ARGS: exactly one of pipeline_id (run_kind 'pipeline') or run_id (run_kind 'run'), from the RunEnvelope.
RETURNS: { run_kind, run_id, pipeline_id, spec_id, status, raw_status, input_count?, progress { total_documents, completed_documents, error_documents, phases?[] }, documents?[], error_message?, created_at, updated_at }.
Inputs: run_id, pipeline_id.
talonic_get_run_resultsRead run resultsARead-onlyIdempotent
Read a Spec run's structured rows — one row per document with the Spec's fields as clean values (held/pending-review cells serialize null), plus the column definitions.
USE WHEN: talonic_get_run reports completed (partial rows are also readable while processing).
NOT FOR: progress (talonic_get_run) or per-field provenance of a single value (include: ['provenance'] here, or talonic_field_values).
ARGS: exactly one of pipeline_id (run_kind 'pipeline', optionally with the envelope's run_id to scope to that submission) or run_id alone (run_kind 'run'); optional document_id (one document), include (['cells','provenance'] — heavier payload), limit (1–200, default 50), cursor.
RETURNS: { run_kind, status, columns[] of { field_key, display_name, data_type }, data[] of { document_id, filename, record_id, status ('complete'|'partial'|'error'|'processing'), completed_at, fields { field_key: value }, cells?, provenance? }, pagination, pending_review_count, links }.
Inputs: limit, cursor, run_id, include, +2 more.
talonic_get_schemaRead a schema's fieldsARead-onlyIdempotent
Get one saved schema with its full field definition (field names, types, descriptions).
USE WHEN: the user asks what a saved schema extracts, or before extracting with a schema_id to know which fields will come back.
NOT FOR: listing schemas (talonic_list_schemas) or creating one (talonic_save_schema).
ARGS: schema_id (the id or short_id from talonic_list_schemas).
RETURNS: the schema with definition (JSON Schema of the fields), version and timestamps.
Inputs: schema_id (required).
talonic_get_specLook up a pipelineARead-onlyIdempotent
Get one Spec's structure: identity and version state, the schema its output rows follow, nodes[] (the processing steps as the user configured them, in editing order), phases[] (the steps as they actually run, in run order; one configured validation step can run as several phases, so the two lists can differ), and fields[] (Spec field ↔ schema field).
USE WHEN: you need to explain what a run will do, confirm a Spec is published (version non-null) before talonic_run_spec, or map field names to keys.
NOT FOR: listing Specs (talonic_list_specs) or starting a run (talonic_run_spec).
ARGS: spec_id (UUID from talonic_list_specs); optional include_versions (adds versions[] — published versions newest first, each { version, content_hash, created_at, is_materialized }).
RETURNS: the Spec object { id, name, description, schema_id, version, materialized_version, materialized_at, field_count, node_count, schema, nodes[], phases[], fields[], links } plus optional versions[].
Inputs: spec_id (required), include_versions.
talonic_get_usageCheck credit usageARead-only
Read the workspace's per-function credit consumption over a trailing window: where the credits actually went.
USE WHEN: the user asks what they have spent credits on, or you want to see which function (extraction, structuring, intelligence ops) dominates spend. NOT FOR: the remaining balance (use talonic_get_balance) or per-unit rates (use talonic_get_pricing). ARGS: days (optional, default 30, clamped 1-365). RETURNS: period_days, total_credits, and by_function[] — each { operation_type, operations, credits }, highest spend first.
Inputs: days. Returns: by_function, period_days, total_credits
talonic_heartbeat_agent_taskHeartbeat Agent TaskA
Extend the lease on a claimed Agent-stage task.
USE WHEN: processing may continue past lease_expires_at; heartbeat before expiry using the epoch from claim. NOT FOR: acquiring a task (use talonic_claim_agent_task) or submitting finished outputs (use talonic_submit_agent_task). ARGS: task_id and execution_epoch. Stale or foreign claims return HTTP 409.
Inputs: task_id (required), execution_epoch (required).
talonic_heartbeat_decision_taskHeartbeat Decision TaskA
Extend the lease on a claimed decision task, never past its sla_deadline_at.
USE WHEN: deciding may run past lease_expires_at; heartbeat before expiry using the epoch from claim. NOT FOR: acquiring a task (talonic_claim_decision_task) or finishing one (talonic_submit_decision_task / talonic_release_decision_task / talonic_fail_decision_task). ARGS: task_id and execution_epoch. A stale or foreign epoch returns HTTP 409: stop, discard the work, and re-list. AUTH: a tlnc_ key needs a per-app 'decide' grant; an OAuth connector session needs the apps:decide scope (consented at connect) and a live workspace role of senior_member or above. A 403 (decide_grant_required, insufficient_scope, insufficient_tier) names what is missing — tell the user, do not retry.
Inputs: task_id (required), execution_epoch (required).
talonic_invoke_agent_toolQuery workspace dataARead-only
Invoke ONE named tool from the platform's agent tool registry directly, with no model in the loop (e.g. query_data for a read-only SQL SELECT over the extracted data, describe_data for the queryable field list, get_document_markdown to read a document's text).
READ-ONLY FOR EVERY CREDENTIAL: the platform runs each caller of this route, API key or OAuth session alike, as its least-privilege viewer role, which grants only the registry's read-only tools (capability data.read). Write-capable registry tools are never invocable here, however you connected, so this tool reads and never changes workspace data.
Target API: Talonic agent tool registry — https://talonic.com/docs/api (POST /v1/agent/tools/{name}/invoke; input schemas from talonic_list_agent_tools).
USE WHEN: talonic_list_agent_tools showed a tool with can_invoke: true that does what you need. Pass exactly the args its input_schema declares.
NOT FOR: answering a question about the documents (talonic_ask runs these tools server-side and returns one cited answer). Use this only for a query the user asked for, or when talonic_ask could not answer.
ARGS: name (tool name), args (object matching the tool's input_schema), optional document_ids (hard scope for scope-aware tools).
RETURNS: { tool, result (the tool's parsed output), citations?, artifacts?, cards? }. Denied capabilities come back as an error naming the capability required; the platform re-checks every call.
Inputs: name (required), args, document_ids.
talonic_list_accountsList companiesARead-only
List the workspace's accounts: the companies (portfolio companies, clients, entities) whose documents it keeps apart.
USE WHEN: before uploading a company's files (pass its name as account on talonic_request_upload), or to see which companies exist.
NOT FOR: listing documents (talonic_search / talonic_filter) · creating an account (talonic_create_account). Not a warm-up before answering a question about the documents: call talonic_ask for that.
ARGS: none.
RETURNS: data[] of { id, name, aliases[], description, created_at }.
Inputs: no named parameters. Returns: data
talonic_list_agent_tasksList Agent TasksARead-only
List Agent-stage tasks visible to this Talonic workspace credential.
USE WHEN: looking for external-agent work to process; begin with status 'available'. To take a batch of one pipeline (e.g. 'take 10 tasks of pipeline X'), list with pipeline_id and status 'available', then claim each with talonic_claim_agent_task; a task another agent took returns HTTP 409, so skip it and take the next. NOT FOR: reading the immutable task payload (use talonic_get_agent_task) or taking a lease (use talonic_claim_agent_task). ARGS: optional status, pipeline_id, limit, and cursor. RETURNS: metadata only plus pagination.next_cursor.
Inputs: limit, cursor, status, pipeline_id.
talonic_list_agent_toolsList data toolsARead-onlyIdempotent
List the platform's agent tool registry — every retrieval, provenance and analysis primitive the in-product Talonic agent runs on (find_data, describe_data, query_data for read-only SQL over the extracted data, get_document_markdown, workspace_overview, …) with its input schema and whether THIS credential may invoke it. Target API: https://talonic.com/docs/api (GET /v1/agent/tools).
USE WHEN: you want a capability talonic_* tools do not cover directly (e.g. SQL over the structured data, a workspace overview, cohort discovery) — list here, then call talonic_invoke_agent_tool with the tool name and its args. NOT FOR: answering the user's question about their documents — call talonic_ask, which runs these same tools server-side in one call and returns a cited answer. Also not for discovering fields (talonic_find_data) or documents (talonic_search).
ARGS: only_invocable (default true — hide tools this credential cannot run), include_schemas (default true — include each tool's JSON input schema).
RETURNS: { tools[] of { name, description, impact, capability, can_invoke, input_schema? }, invocable_count, totalCount }. Registry tools that already have their own talonic_* tool (find_data) are left out; call the dedicated tool.
Inputs: only_invocable, include_schemas.
talonic_list_appsList appsARead-onlyIdempotent
List the Talonic Apps in the user's workspace: id, slug, name, one-line description, mode and whether each is enabled.
USE WHEN: the user asks which apps or automations the workspace has, or another tool needs an app_id (talonic_list_decision_tasks needs the id of an app whose mode is 'external'). NOT FOR: documents (talonic_search) or pipelines/Specs (talonic_list_specs). ARGS: enabled_only (default true). RETURNS: { apps: [{ id, slug, display_name, description, mode, enabled, standard }] }. mode 'external' means the app hands its decisions to an outside agent through the decision-task tools; other modes decide inside Talonic.
Inputs: enabled_only.
talonic_list_decision_tasksList Decision TasksARead-only
List one External-mode app's decision tasks (runs parked for an outside agent to decide), newest first.
USE WHEN: looking for decisions to make for an app; begin with status 'available'. This is the polling alternative to the app.decision_task.offered webhook. NOT FOR: Agent-stage document tasks (use talonic_list_agent_tasks), reading a task's input package (claim it, then talonic_read_decision_package), or taking a lease (talonic_claim_decision_task). ARGS: app_id, optional status, limit, cursor. RETURNS: task metadata only (id, run_id, status, execution_epoch, lease and sla_deadline_at timing) plus pagination.next_cursor. AUTH: a tlnc_ key needs a per-app 'decide' grant; an OAuth connector session needs the apps:decide scope (consented at connect) and a live workspace role of senior_member or above. A 403 (decide_grant_required, insufficient_scope, insufficient_tier) names what is missing — tell the user, do not retry.
Inputs: app_id (required), limit, cursor, status.
talonic_list_fieldsList fieldsARead-onlyIdempotent
List the workspace's Field Registry — the canonical concepts Talonic has discovered across every ingested document, each with a stable id, maturity level, data type, synonyms and occurrence count.
USE WHEN: you need to know WHAT data exists before querying it, want to pick the right concept for a question, or need the exact field id for talonic_get_field / talonic_field_values. NOT FOR: locating a specific document (talonic_search) or filtering documents by a value (talonic_filter). Not a warm-up before answering a question about the documents: call talonic_ask for that. The registry holds many one-off candidate fields; pass maturity core or proven unless the user asks for candidates.
ARGS: search (case-insensitive contains on name), maturity (core | proven | candidate — prefer core/proven for anything you will build on), include_superseded (default false: rows merged into another concept are hidden so you never see two ids for one concept), limit, cursor.
RETURNS: data[] of { id, canonical_name, display_name, data_type, maturity, tier, synonyms, description, occurrence_count, superseded_by, links } plus cursor pagination.
Inputs: limit, cursor, search, maturity, +1 more.
talonic_list_schemasList saved schemasARead-only
List the saved schemas in the workspace as compact summaries (id, short_id, name, description, version, field_count).
USE WHEN: 'what schemas do I have', or to find a reusable schema before extracting.
NOT FOR: a one-off extraction with an inline schema (call talonic_extract directly). Not a warm-up before answering a question about the documents: call talonic_ask for that.
ARGS: none.
RETURNS: data[] of schema summaries. Field definitions are omitted here; call talonic_get_schema with an id to see a schema's fields. Pass a schema's id/short_id to talonic_extract as schema_id.
Inputs: no named parameters. Returns: data, pagination
talonic_list_specsList pipelinesARead-onlyIdempotent
List the workspace's Specs. A Spec is a saved extraction pipeline: an ordered list of processing steps plus the fields it produces; talonic_run_spec runs it over documents. Each row: id, name, description, schema_id (the schema the run's output rows follow — a DIFFERENT id from the Spec's), version / materialized_version (the published version runs use; null = never published), field_count, node_count, timestamps.
USE WHEN: the user wants to run 'their pipeline' / 'the invoice Spec', or you need a spec_id for talonic_run_spec / talonic_get_spec.
NOT FOR: ad-hoc extraction schemas (talonic_list_schemas) or discovering fields (talonic_list_fields). Not a warm-up before answering a question about the documents: call talonic_ask for that.
ARGS: optional search (name contains, case-insensitive), limit (1–100, default 20), cursor (from pagination.next_cursor), order (asc|desc by updated_at).
RETURNS: { data[] of { id, name, description, schema_id, version, materialized_version, materialized_at, field_count, node_count, created_at, updated_at, links }, pagination { total, limit, has_more, next_cursor } }.
Inputs: limit, order, cursor, search.
talonic_read_decision_packageRead Decision PackageARead-only
Read one page of a claimed decision task's frozen input package: the records the decision must be made from, with their provenance locators. Only the current claimant may read it; each page read is journaled onto the run.
USE WHEN: after a successful claim, walking pages from package.first_cursor while pagination.has_more is true. The first page also carries the source documents list. A mining_round package is one record { system_prompt, first_turn, tools }. NOT FOR: unclaimed tasks (HTTP 409; claim first) or listing tasks (talonic_list_decision_tasks). ARGS: task_id, optional cursor and limit (1 to 2000). Copy evidence locators verbatim from these records for the submit. AUTH: a tlnc_ key needs a per-app 'decide' grant; an OAuth connector session needs the apps:decide scope (consented at connect) and a live workspace role of senior_member or above. A 403 (decide_grant_required, insufficient_scope, insufficient_tier) names what is missing — tell the user, do not retry.
Inputs: task_id (required), limit, cursor.
talonic_release_decision_taskRelease Decision TaskA
Release a claimed decision task back to 'available' without deciding it; the next claim bumps the epoch.
USE WHEN: you cannot finish within the lease or SLA but another claimant could decide it. NOT FOR: declaring the task undecidable (talonic_fail_decision_task, which raises a review and applies the app's fallback) or keeping the lease (talonic_heartbeat_decision_task). ARGS: task_id and execution_epoch. Stale epoch is HTTP 409. AUTH: a tlnc_ key needs a per-app 'decide' grant; an OAuth connector session needs the apps:decide scope (consented at connect) and a live workspace role of senior_member or above. A 403 (decide_grant_required, insufficient_scope, insufficient_tier) names what is missing — tell the user, do not retry.
Inputs: task_id (required), execution_epoch (required).
talonic_request_uploadGet an upload linkA
Get a browser upload link the user opens to add a file to their workspace. Returns the link plus a pre-allocated document_id.
USE WHEN: the user wants to upload a document and you cannot pass it directly: the client cannot attach file bytes to a tool call, or the file is too large for tool-call arguments. NOT FOR: a document already in the workspace (use its document_id) · a file already on a public URL (use file_url on talonic_extract). ARGS: filename (with extension); optional account (company name or id from talonic_list_accounts) so the file stays with that company; optional add_to_workspace (true = process it fully into workspace data for later questions and SQL; default false = text only, for a following talonic_extract). RETURNS: upload_url, document_id, expires_at. After the user uploads, poll talonic_get_document on that document_id until status is 'completed' (or 'extracted' when add_to_workspace is false), then call talonic_extract if you need fields. If status becomes ocr_failed, extraction_failed, or error, stop polling and report the failure to the user.
Inputs: filename (required), account, add_to_workspace. Returns: expires_at, upload_url, document_id
talonic_run_specRun a pipelineA
Run a Spec — the customer's configured pipeline — over documents, in one call. Two inputs: document_ids (documents already in the workspace; for a new file, first talonic_request_upload → poll talonic_get_document until completed) OR file_urls (public https files, max 20; Talonic ingests them first). Consumes credits.
USE WHEN: the user wants to 'run the invoice pipeline on these documents', process files through their Spec, or produce the Spec's structured rows.
NOT FOR: one-off extraction with an ad-hoc schema (talonic_extract), or checking progress (talonic_get_run) / reading rows (talonic_get_run_results).
ARGS: spec_id (talonic_list_specs); exactly one of document_ids[] (1–500) or file_urls[] (1–20, https); optional name, pipeline_mode (new default | append to the Spec's existing pipeline); batch_id and flat metadata only with file_urls.
RETURNS: RunEnvelope { run_kind ('pipeline'|'run'), run_id, pipeline_id, spec_id, status ('processing'|'completed'|'failed'), raw_status, input_count, documents?, message?, links }. Then poll talonic_get_run with the pipeline_id when run_kind is 'pipeline', or with the run_id when it is 'run', every 5–10 s until status is completed/failed, then talonic_get_run_results.
Inputs: spec_id (required), name, batch_id, metadata, +3 more.
talonic_save_schemaSave a schemaA
Save a reusable schema to the workspace for use across future extractions.
USE WHEN: the user confirms a schema/template they want to reuse across documents.
NOT FOR: a single one-off extraction (pass the schema inline to talonic_extract instead).
ARGS: name; definition — a JSON Schema ({type:'object',properties:{...}}) or a flat {field:'type'} map.
RETURNS: the saved schema with id and short_id. Pass either to talonic_extract as schema_id.
Inputs: name (required), definition (required), description. Returns: id, name, links, version, +6 more
talonic_searchSearch documentsARead-only
Find documents, fields, schemas, or sources in the workspace. One call returns ranked results across all types.
MATCHING IS LITERAL KEYWORD, not semantic. Query with ONE short SINGULAR term or an exact filename: 'invoice', 'bank statement', 'sample-invoice.pdf'. Sentences ('documents related to invoices') and plurals ('invoices') return empty. If a search comes back empty, retry with a shorter singular keyword before concluding the workspace has nothing.
USE WHEN: the user names or describes a document without an id, or you need a document_id or a filterable field name before extract / to_markdown / get_document / filter.
NOT FOR: structured field-value filters like 'amount > 1000' (use talonic_filter).
ARGS: query (short literal keyword); optional limit.
RETURNS: documents[], fields[]/fieldMatches[] (only filterable: true entries work in talonic_filter), schemas[], sources[]. Use the id from documents[] to act on a named file.
Inputs: query (required), limit. Returns: hint, fields, schemas, sources, +2 more
talonic_submit_agent_taskSubmit Agent TaskA
Submit declared output fields for a claimed Agent-stage task and resume the parked document.
USE WHEN: processing is complete and every required output in output_contract is ready. NOT FOR: undeclared fields or partial lease maintenance (use talonic_heartbeat_agent_task). ARGS: task_id, execution_epoch, outputs keyed exactly by declared field key, and optional summary. The platform validates all fields and types transactionally before writing anything.
Inputs: outputs (required), task_id (required), execution_epoch (required), summary.
talonic_submit_decision_taskSubmit Decision TaskA
Submit the decision for a claimed decision task; the platform verifies it transactionally and resumes the run.
USE WHEN: the decision is final. outcome must satisfy output_contract from the claim (plain JSON Schema, or the verdict_matrix / record_set envelope), evidence lists the package locators relied on (verbatim; [] only if the app allows unevidenced decisions), rationale is a short summary. Rejections are HTTP 422 with the reason and change nothing; the task stays claimed under your epoch, so fix and resubmit before the lease ends. NOT FOR: giving the task back undecided (talonic_release_decision_task) or declaring it undecidable (talonic_fail_decision_task). Stale epoch is HTTP 409. ARGS: task_id, execution_epoch, outcome, evidence, rationale, optional confidence and service_version. AUTH: a tlnc_ key needs a per-app 'decide' grant; an OAuth connector session needs the apps:decide scope (consented at connect) and a live workspace role of senior_member or above. A 403 (decide_grant_required, insufficient_scope, insufficient_tier) names what is missing — tell the user, do not retry.
Inputs: outcome (required), task_id (required), evidence (required), rationale (required), +3 more.
talonic_to_markdownRead document textA
Get the OCR-converted markdown text of a document.
USE WHEN: the user wants the full text — 'what does it say', summarise, or translate a document.
NOT FOR: specific structured fields (use talonic_extract with a schema).
BY NAME: if the user names a file, call talonic_search first to get its document_id, then call this.
ARGS: prefer document_id (a workspace doc — one cheap call). Otherwise file_url, or file_data+filename for small local files — provide exactly one. A file input ingests the document first and consumes credits; document_id does not.
RETURNS: document_id and markdown (the full text).
Inputs: file_url, filename, file_data, file_path, +1 more. Returns: cost, markdown, document_id
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 40 tools
Descriptions are unusually disciplined: nearly every tool carries explicit USE WHEN / NOT FOR clauses that route agents away from the near-neighbour (e.g. talonic_ask vs talonic_find_data vs talonic_field_values vs talonic_list_agent_tools, and talonic_search vs talonic_filter). The main residual overlaps are the two parallel task-queue families (Agent-stage tasks vs External-mode app decision tasks) and the ask-vs-invoke-agent-tool path, which share vocabulary and require careful reading to separate. Boundaries exist, but the set is dense enough that a misselection is still plausible for a less careful agent.
Everything is snake_case under a uniform `talonic_` prefix and the dominant shape is verb_noun (list_schemas, get_document, claim_agent_task, submit_decision_task, get_run_results). Deviations are minor and readable: bare verbs (ask, search, filter, extract), a prepositional form (to_markdown), a noun phrase (field_values), and a nested-noun registry pair (list_agent_tools / invoke_agent_tool). The lifecycle verbs themselves are consistent across the two task families (list/get/claim/heartbeat/submit).
40 tools is heavy, but the server genuinely spans several distinct product surfaces — document ingest/query, schemas, field registry, Specs and runs, the agent-tool registry, Agent-stage tasks, decision tasks, and billing — so most tools do earn their place. The cost is a large, flat namespace in which closely named lifecycle tools (heartbeat/submit/release/fail per task family) compete for attention. This would be cleaner split into two or three servers or namespaced groups.
Read and lifecycle coverage is strong: upload → poll → extract → ask → results is a closed loop, and both task queues have complete claim/heartbeat/submit/release/fail cycles. But write coverage is asymmetric across resources — schemas, accounts, and Specs can be listed, fetched, and created but never updated or deleted, and documents have no delete or explicit list operation (only search/filter). Agents will hit dead ends for cleanup and edit workflows.
Maintenance
Related MCP Connectors
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Official MCP server for subfeed.app — the cloud for agents. 15+ tools for AI agents to register, build, and deploy other agents. Zero human required. Start here: subfeed.app/skill.md
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceOfficial MCP server for PostIdentity - Generate AI-powered social media posts, threads, and replies from any MCP-compatible AI assistant with identity management and refinement capabilities.1MIT
- AlicenseAqualityCmaintenanceOfficial MCP server for interacting with Saudi market data (Sahmk) via natural language queries, enabling stock quotes, company info, and market summaries inside AI agents like Cursor and Claude Desktop.1556 PyPI15MIT
- AlicenseBqualityBmaintenanceOfficial MCP server for Shipmail, enabling agents to manage domains, mailboxes, messages, threads, webhooks, and suppressions via natural language.100126 npm1MIT
- AlicenseAqualityDmaintenanceOfficial MCP server for FormaCV, enabling AI-powered CV formatting, anonymization, tailoring, and ATS push-back from AI agents like Claude Desktop and Cursor.840 npm7MIT