@talonic/mcp 0.1.68 → 0.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/content.js +261 -7
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +4 -2
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/server.js +4 -2
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/content.js
CHANGED
|
@@ -297,7 +297,7 @@ var sections = [
|
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
type: "paragraph",
|
|
300
|
-
text: "The
|
|
300
|
+
text: "The eleven tools are designed for distinct use cases with minimal overlap. **`talonic_extract`** is for structured field extraction with a schema, **`talonic_request_upload`** hands the user a browser link for files too large to pass through a hosted connector (Claude.ai), **`talonic_to_markdown`** is for full-text conversion, **`talonic_search`** handles fuzzy discovery, **`talonic_filter`** handles precise field-value queries, **`talonic_get_document`** returns metadata, the schema tools (**`talonic_list_schemas`**, **`talonic_save_schema`**) manage reusable extraction templates, and the billing tools (**`talonic_get_balance`** for the remaining balance, **`talonic_get_pricing`** for per-unit rates, **`talonic_get_usage`** for per-function spend) let the agent stay budget-aware before and after large batches."
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
type: "paragraph",
|
|
@@ -574,7 +574,7 @@ var sections2 = [
|
|
|
574
574
|
"Click **Connect**. You are redirected to Talonic to sign in.",
|
|
575
575
|
"Sign in with Google, Microsoft, or your company SSO.",
|
|
576
576
|
"Approve the consent screen. The requested scopes are `extract:write`, `documents:read`, and `schemas:read`. Pick a workspace if you have multiple.",
|
|
577
|
-
"You are returned to Claude.ai with the connector live. All
|
|
577
|
+
"You are returned to Claude.ai with the connector live. All eleven tools are available in any new conversation."
|
|
578
578
|
]
|
|
579
579
|
},
|
|
580
580
|
{
|
|
@@ -626,7 +626,7 @@ var sections2 = [
|
|
|
626
626
|
},
|
|
627
627
|
{
|
|
628
628
|
type: "paragraph",
|
|
629
|
-
text: "All three install paths expose the same
|
|
629
|
+
text: "All three install paths expose the same eleven tools and two resources. The hosted server runs the latest version of `@talonic/mcp` automatically; the local `npx` install picks up the latest version on next client restart when pinned to `@latest`."
|
|
630
630
|
},
|
|
631
631
|
{
|
|
632
632
|
type: "heading",
|
|
@@ -636,7 +636,7 @@ var sections2 = [
|
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
638
|
type: "paragraph",
|
|
639
|
-
text: "After adding the config and restarting your MCP client, verify the connection by asking the agent to list your schemas. This is a lightweight read-only call that confirms the API key is valid and the server is reachable. If the call succeeds, all
|
|
639
|
+
text: "After adding the config and restarting your MCP client, verify the connection by asking the agent to list your schemas. This is a lightweight read-only call that confirms the API key is valid and the server is reachable. If the call succeeds, all eleven tools are ready to use."
|
|
640
640
|
},
|
|
641
641
|
{
|
|
642
642
|
type: "code",
|
|
@@ -721,7 +721,7 @@ var sections2 = [
|
|
|
721
721
|
{ type: "code", language: "json", code: MCP_CONFIG_SNIPPET },
|
|
722
722
|
{
|
|
723
723
|
type: "paragraph",
|
|
724
|
-
text: "Fully restart Claude Desktop (Cmd+Q on macOS, not just close the window). Talonic appears in the connected servers list with all
|
|
724
|
+
text: "Fully restart Claude Desktop (Cmd+Q on macOS, not just close the window). Talonic appears in the connected servers list with all eleven tools."
|
|
725
725
|
},
|
|
726
726
|
{
|
|
727
727
|
type: "paragraph",
|
|
@@ -1028,7 +1028,7 @@ var sections2 = [
|
|
|
1028
1028
|
},
|
|
1029
1029
|
{
|
|
1030
1030
|
type: "paragraph",
|
|
1031
|
-
text: "After saving the config, reload your IDE window to pick up the changes. Continue discovers Talonic's
|
|
1031
|
+
text: "After saving the config, reload your IDE window to pick up the changes. Continue discovers Talonic's eleven tools and two resources automatically. You can verify the connection by asking the agent to call `talonic_list_schemas` \u2014 it should return your saved schemas or an empty list."
|
|
1032
1032
|
},
|
|
1033
1033
|
{
|
|
1034
1034
|
type: "paragraph",
|
|
@@ -1111,7 +1111,7 @@ var sections2 = [
|
|
|
1111
1111
|
{ type: "code", language: "json", code: MCP_CONFIG_SNIPPET },
|
|
1112
1112
|
{
|
|
1113
1113
|
type: "paragraph",
|
|
1114
|
-
text: "Cowork is a chat-style MCP client that supports drag-and-drop file uploads and resource browsing. After adding the Talonic config, the
|
|
1114
|
+
text: "Cowork is a chat-style MCP client that supports drag-and-drop file uploads and resource browsing. After adding the Talonic config, the eleven tools appear in the tool picker and the `talonic://schemas` and `talonic://webhooks/reference` resources are browseable in the resources panel."
|
|
1115
1115
|
},
|
|
1116
1116
|
{
|
|
1117
1117
|
type: "paragraph",
|
|
@@ -2540,6 +2540,260 @@ Payment terms: Net 30`
|
|
|
2540
2540
|
],
|
|
2541
2541
|
mentions: ["credits", "balance", "EUR", "burn rate", "runway", "tier", "budget"]
|
|
2542
2542
|
},
|
|
2543
|
+
{
|
|
2544
|
+
slug: "talonic-get-pricing",
|
|
2545
|
+
parentSlug: "tools",
|
|
2546
|
+
title: "talonic_get_pricing",
|
|
2547
|
+
seoTitle: "talonic_get_pricing Tool \u2014 Talonic MCP",
|
|
2548
|
+
description: "MCP tool that returns the machine-readable Talonic credit pricing catalog: fixed per-unit credit rates, EUR equivalents, the credits-per-EUR conversion, and processing-mode multipliers, so an agent can predict spend before running anything.",
|
|
2549
|
+
content: [
|
|
2550
|
+
{
|
|
2551
|
+
type: "paragraph",
|
|
2552
|
+
text: "Returns the credit pricing catalog: fixed per-unit credit rates, their EUR equivalents, the credits-per-EUR conversion rate, and processing-mode multipliers (such as batch at 0.5x). Because the rates are fixed rather than token-based, an agent can read them and compute the exact cost of a planned job before spending a credit. The endpoint is public, so it works even before an API key is provisioned."
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
type: "heading",
|
|
2556
|
+
level: 3,
|
|
2557
|
+
id: "use-when",
|
|
2558
|
+
text: "When to use"
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
type: "list",
|
|
2562
|
+
items: [
|
|
2563
|
+
"Estimating the cost of a planned extraction, structuring, or matching job before running it.",
|
|
2564
|
+
"Answering a user question about how much Talonic costs per page or per operation.",
|
|
2565
|
+
"Deciding whether a workload fits a budget, especially before signing up."
|
|
2566
|
+
]
|
|
2567
|
+
},
|
|
2568
|
+
{
|
|
2569
|
+
type: "heading",
|
|
2570
|
+
level: 3,
|
|
2571
|
+
id: "do-not-use",
|
|
2572
|
+
text: "When not to use"
|
|
2573
|
+
},
|
|
2574
|
+
{
|
|
2575
|
+
type: "list",
|
|
2576
|
+
items: [
|
|
2577
|
+
"For the workspace's remaining credit balance: use `talonic_get_balance`.",
|
|
2578
|
+
"For what the workspace has already spent and on what: use `talonic_get_usage`."
|
|
2579
|
+
]
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
type: "heading",
|
|
2583
|
+
level: 3,
|
|
2584
|
+
id: "response-shape",
|
|
2585
|
+
text: "Response shape"
|
|
2586
|
+
},
|
|
2587
|
+
{
|
|
2588
|
+
type: "list",
|
|
2589
|
+
items: [
|
|
2590
|
+
"`currency`: billing currency for the EUR equivalents (always `EUR`).",
|
|
2591
|
+
"`credits_per_eur`: conversion rate between credits and EUR (1,000 credits = 1 EUR at the standard rate).",
|
|
2592
|
+
"`multipliers`: processing-mode multipliers keyed by mode (e.g. `realtime: 1`, `batch: 0.5`).",
|
|
2593
|
+
"`units`: array of catalog lines, each with `unit`, `label`, `credits`, `eur`, and `free`."
|
|
2594
|
+
]
|
|
2595
|
+
},
|
|
2596
|
+
{
|
|
2597
|
+
type: "code",
|
|
2598
|
+
language: "json",
|
|
2599
|
+
title: "Tool input",
|
|
2600
|
+
code: `{}`
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
type: "code",
|
|
2604
|
+
language: "json",
|
|
2605
|
+
title: "Tool response",
|
|
2606
|
+
code: `{
|
|
2607
|
+
"currency": "EUR",
|
|
2608
|
+
"credits_per_eur": 1000,
|
|
2609
|
+
"multipliers": { "realtime": 1, "batch": 0.5 },
|
|
2610
|
+
"units": [
|
|
2611
|
+
{ "unit": "page_ingest", "label": "Document page ingestion", "credits": 100, "eur": 0.1, "free": false },
|
|
2612
|
+
{ "unit": "structuring_cell", "label": "Structuring cell (LLM-reasoned)", "credits": 20, "eur": 0.02, "free": false },
|
|
2613
|
+
{ "unit": "registry_resolved_cell", "label": "Structuring cell (Field Registry resolved)", "credits": 0, "eur": 0, "free": true },
|
|
2614
|
+
{ "unit": "intelligence_op", "label": "Intelligence operation (matching, cases, reconciliation)", "credits": 100, "eur": 0.1, "free": false },
|
|
2615
|
+
{ "unit": "delivery", "label": "Delivery (webhook / export)", "credits": 0, "eur": 0, "free": true },
|
|
2616
|
+
{ "unit": "validation", "label": "Validation / quality check", "credits": 0, "eur": 0, "free": true }
|
|
2617
|
+
]
|
|
2618
|
+
}`
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
type: "heading",
|
|
2622
|
+
level: 3,
|
|
2623
|
+
id: "pricing-estimate-example",
|
|
2624
|
+
text: "Example: quote a workload before running it"
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
type: "code",
|
|
2628
|
+
language: "json",
|
|
2629
|
+
title: "Agent estimates the cost of a 20-page batch extraction",
|
|
2630
|
+
code: `// User: "How much will it cost to extract this 20-page contract in batch mode?"
|
|
2631
|
+
// Agent reads pricing:
|
|
2632
|
+
// talonic_get_pricing \u2192 {}
|
|
2633
|
+
|
|
2634
|
+
// page_ingest = 100 credits, batch multiplier = 0.5
|
|
2635
|
+
// 20 pages * 100 credits * 0.5 = 1000 credits = 1.00 EUR
|
|
2636
|
+
|
|
2637
|
+
// Agent: "Extracting 20 pages in batch mode costs about 1,000 credits
|
|
2638
|
+
// (1.00 EUR). Realtime would be 2,000 credits (2.00 EUR). Proceed in batch?"`
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
type: "paragraph",
|
|
2642
|
+
text: "Cost-aware agents call `talonic_get_pricing` to turn a workload into a concrete quote before committing to it. Multiply the relevant per-unit rate by the expected unit count, then apply the processing-mode multiplier. Because the catalog also returns the credits-per-EUR rate, the agent can present the estimate in either credits or euros without hardcoding any number."
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
type: "paragraph",
|
|
2646
|
+
text: "The catalog distinguishes billable units from free ones. Document page ingestion, structuring cells filled by fresh model reasoning, and intelligence operations carry a cost; Field Registry resolved cells, delivery, and validation are free. A document whose fields are answered entirely from the Field Registry therefore incurs only its page-ingestion cost, which an agent can surface as a reason to reuse schemas across similar documents."
|
|
2647
|
+
}
|
|
2648
|
+
],
|
|
2649
|
+
related: [
|
|
2650
|
+
{ label: "talonic_get_usage", slug: "talonic-get-usage" },
|
|
2651
|
+
{ label: "talonic_get_balance", slug: "talonic-get-balance" }
|
|
2652
|
+
],
|
|
2653
|
+
faq: [
|
|
2654
|
+
{
|
|
2655
|
+
question: "Does talonic_get_pricing require an API key?",
|
|
2656
|
+
answer: "No. The pricing catalog is public, so an agent can read rates before signing up or provisioning a key. Call it with no arguments; it is read-only and safe to call at any time."
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
question: "How does an agent compute the cost of a job from the catalog?",
|
|
2660
|
+
answer: "Multiply the per-unit credits by the number of units (pages, cells, or operations), then apply the processing-mode multiplier (1 for realtime, 0.5 for batch). Divide by credits_per_eur to express the result in euros."
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
question: "Which operations are free in the catalog?",
|
|
2664
|
+
answer: "Field Registry resolved cells, delivery, and validation cost zero credits. Only fresh ingestion, fresh model-reasoned structuring cells, and intelligence operations (matching, cases, reconciliation) are billable."
|
|
2665
|
+
}
|
|
2666
|
+
],
|
|
2667
|
+
mentions: [
|
|
2668
|
+
"pricing",
|
|
2669
|
+
"credit catalog",
|
|
2670
|
+
"cost estimation",
|
|
2671
|
+
"per-page pricing",
|
|
2672
|
+
"batch discount",
|
|
2673
|
+
"credits per EUR",
|
|
2674
|
+
"budget"
|
|
2675
|
+
]
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
slug: "talonic-get-usage",
|
|
2679
|
+
parentSlug: "tools",
|
|
2680
|
+
title: "talonic_get_usage",
|
|
2681
|
+
seoTitle: "talonic_get_usage Tool \u2014 Talonic MCP",
|
|
2682
|
+
description: "MCP tool that returns per-function credit consumption for the workspace over a trailing window, so an agent can see where credits went across extraction, structuring, and intelligence operations.",
|
|
2683
|
+
content: [
|
|
2684
|
+
{
|
|
2685
|
+
type: "paragraph",
|
|
2686
|
+
text: "Returns the workspace's credit consumption grouped by platform function over a trailing window, plus the total. Where `talonic_get_balance` reports what is left, this tool reports where the credits went: how much each function (page ingestion, structuring cells, intelligence operations) cost over the period. The breakdown is ordered by spend, highest first, so the dominant cost driver is the first row."
|
|
2687
|
+
},
|
|
2688
|
+
{
|
|
2689
|
+
type: "heading",
|
|
2690
|
+
level: 3,
|
|
2691
|
+
id: "use-when",
|
|
2692
|
+
text: "When to use"
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
type: "list",
|
|
2696
|
+
items: [
|
|
2697
|
+
"The user asks what they have spent credits on, or which function dominates their spend.",
|
|
2698
|
+
"Reviewing burn by function to decide whether to shift work to batch mode or trim an operation.",
|
|
2699
|
+
"Producing a spend report for the last N days."
|
|
2700
|
+
]
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
type: "heading",
|
|
2704
|
+
level: 3,
|
|
2705
|
+
id: "do-not-use",
|
|
2706
|
+
text: "When not to use"
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
type: "list",
|
|
2710
|
+
items: [
|
|
2711
|
+
"For the remaining balance and runway: use `talonic_get_balance`.",
|
|
2712
|
+
"For per-unit rates before running a job: use `talonic_get_pricing`."
|
|
2713
|
+
]
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
type: "heading",
|
|
2717
|
+
level: 3,
|
|
2718
|
+
id: "arguments",
|
|
2719
|
+
text: "Arguments"
|
|
2720
|
+
},
|
|
2721
|
+
{
|
|
2722
|
+
type: "list",
|
|
2723
|
+
items: [
|
|
2724
|
+
"`days` (optional): trailing reporting window in days. Default 30, clamped between 1 and 365."
|
|
2725
|
+
]
|
|
2726
|
+
},
|
|
2727
|
+
{
|
|
2728
|
+
type: "heading",
|
|
2729
|
+
level: 3,
|
|
2730
|
+
id: "response-shape",
|
|
2731
|
+
text: "Response shape"
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
type: "list",
|
|
2735
|
+
items: [
|
|
2736
|
+
"`period_days`: length of the reporting window in days.",
|
|
2737
|
+
"`total_credits`: total credits consumed across all functions in the window.",
|
|
2738
|
+
"`by_function`: array of `{ operation_type, operations, credits }`, highest spend first."
|
|
2739
|
+
]
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
type: "code",
|
|
2743
|
+
language: "json",
|
|
2744
|
+
title: "Tool input",
|
|
2745
|
+
code: `{ "days": 30 }`
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
type: "code",
|
|
2749
|
+
language: "json",
|
|
2750
|
+
title: "Tool response",
|
|
2751
|
+
code: `{
|
|
2752
|
+
"period_days": 30,
|
|
2753
|
+
"total_credits": 48200,
|
|
2754
|
+
"by_function": [
|
|
2755
|
+
{ "operation_type": "page_ingest", "operations": 412, "credits": 41200 },
|
|
2756
|
+
{ "operation_type": "structuring_cell", "operations": 300, "credits": 6000 },
|
|
2757
|
+
{ "operation_type": "intelligence_op", "operations": 10, "credits": 1000 }
|
|
2758
|
+
]
|
|
2759
|
+
}`
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
type: "paragraph",
|
|
2763
|
+
text: "Agents use `talonic_get_usage` to attribute spend to the functions that caused it. Pairing it with `talonic_get_balance` gives a full picture: balance shows how much is left, usage shows what consumed it, and pricing shows the rate of each function. An agent noticing that page ingestion dominates spend might suggest batch mode for the 0.5x discount, or reusing schemas so more cells resolve from the Field Registry for free."
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
type: "paragraph",
|
|
2767
|
+
text: "The figures read from the credit transaction ledger, so they reconcile exactly with the balance and history reported elsewhere. The `operation_type` values match the unit identifiers in the pricing catalog, which lets an agent join usage to rates and explain not just how many credits a function consumed but why. To express any figure in euros, divide by the credits-per-EUR rate from the pricing catalog."
|
|
2768
|
+
}
|
|
2769
|
+
],
|
|
2770
|
+
related: [
|
|
2771
|
+
{ label: "talonic_get_pricing", slug: "talonic-get-pricing" },
|
|
2772
|
+
{ label: "talonic_get_balance", slug: "talonic-get-balance" }
|
|
2773
|
+
],
|
|
2774
|
+
faq: [
|
|
2775
|
+
{
|
|
2776
|
+
question: "How is talonic_get_usage different from talonic_get_balance?",
|
|
2777
|
+
answer: "Balance reports what is left (and runway); usage reports what was spent, grouped by function. Use balance to check headroom and usage to attribute spend to extraction, structuring, or intelligence operations."
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
question: "What window does talonic_get_usage cover?",
|
|
2781
|
+
answer: "The last 30 days by default. Pass days to change it, anywhere from 1 to 365. The response echoes period_days so the agent can confirm the window it summarized."
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
question: "Why is the breakdown empty?",
|
|
2785
|
+
answer: "Per-function rows populate as billable operations are charged. While metering runs in shadow mode the ledger records what each operation would cost without deducting, so the breakdown can be empty until enforcement is enabled. Pricing still returns the rates in the meantime."
|
|
2786
|
+
}
|
|
2787
|
+
],
|
|
2788
|
+
mentions: [
|
|
2789
|
+
"credit usage",
|
|
2790
|
+
"per-function spend",
|
|
2791
|
+
"credit consumption",
|
|
2792
|
+
"burn rate",
|
|
2793
|
+
"operation type",
|
|
2794
|
+
"spend report"
|
|
2795
|
+
]
|
|
2796
|
+
},
|
|
2543
2797
|
{
|
|
2544
2798
|
slug: "talonic-request-upload",
|
|
2545
2799
|
parentSlug: "tools",
|