Granular Page & Audio Batching, Scoped API Keys, and TomeSift’s Hosted MCP Server
A useful question rarely needs every page of a book or every minute of a recording. It might need two separated methods sections, a result near the end, and a short explanation in the middle of a lecture. TomeSift now lets you select those pieces directly, then bring the same source-preserving workflow into your application through scoped API keys and a hosted MCP server. The API & MCP documentation at /docs has the copyable requests and client configurations.
Select the material that matters
Non-contiguous batching means selecting several separated ranges in one job. For a PDF, include pages 1–3 and 8–12, then exclude pages 2 and 10. The resulting selection contains six pages: 1, 3, 8, 9, 11, and 12. You can skip a cover, references you do not need extracted, or a chapter outside your current task without splitting the document into several manually edited files.
The API names these arrays include_pages and exclude_pages. Each range has start_page and end_page, both inclusive and counted from the first PDF page as page 1. Overlapping inclusions are merged and exclusions are subtracted, so overlapping ranges do not request the same page twice within that selection. Processing caps still apply. The original source remains the reference; this selection chooses which parts enter processing.
Keep the original page numbers and clock
For audio and video, include_time_ranges_ms and exclude_time_ranges_ms express intervals in milliseconds. Include 01:00–02:00 and 05:00–07:00, then exclude 05:30–06:00: that leaves 150 seconds of material. Time intervals include their start and exclude their end. Use time arrays for media and page arrays for documents; putting both on the same job is rejected instead of being silently interpreted.
A selected page 12 stays page 12. Speech at 06:15 keeps its original wall-clock timestamp rather than being presented as the beginning of a newly concatenated clip. That matters when a reader follows a claim back into the full source. Shortening the processing input should never make the resulting source anchor point to a different passage. Keep enough surrounding context to interpret a passage fairly; cutting a recording can also cut an important qualification.
Bring an academic or direct-media URL
POST /v1/assets/from-url accepts public HTTPS sources up to 100 MB: PDFs, audio, and video. An arXiv abstract URL is converted to its PDF URL. Open-access PLOS and Europe PMC PDF links, Archive.org download links, and direct podcast episode enclosures can also supply the source. The final response must serve a supported PDF or media content type; an HTML landing page or an RSS feed is not itself a downloadable recording.
Only public HTTPS files are accepted. Redirects are validated, unsafe destinations including private, loopback, and link-local addresses are blocked, and credentials embedded in URLs are rejected. A streamed byte cap bounds the download, while SHA-256 records the supplied bytes. This SSRF-hardened path returns an asset ID for a separate POST /v1/jobs request. The MCP ingestion tool combines ingestion and job creation for an agent.
The Paddle-safe URL policy rejects social scraping sources such as YouTube, Instagram, TikTok, Facebook, and X. For those clips, upload a file you have rights to process directly. Public reachability is not a license to reuse someone else’s material; choose authorized files and retain their attribution when moving results into your own application.
Give each integration a scoped key
Create a ts_live_... key inside Account → Settings → Advanced and send it in the Authorization: Bearer header. The secret is shown once, and you can revoke it from the same panel. A separate named key for each integration makes it easier to withdraw one tool’s access without disturbing another. Store the secret in private configuration rather than embedding it in a public web application.
Four scopes divide the work: jobs:read for job and balance inspection, jobs:write for assets and processing, ask:write for grounded questions, and export:read for layer artifact downloads. Keys stay within the owning account’s resources. They never access billing, OAuth, sessions, BYOK, or key management. Give an archive reader read and export scopes; add write scopes only when that integration should initiate processing or spend credits on questions.
Connect DeepTutor, Claude Desktop, Cursor, or your agent
TomeSift’s hosted MCP endpoint is https://api.tomesift.com/mcp. It accepts Streamable HTTP JSON-RPC 2.0 with protocolVersion 2025-03-26 and the same scoped Bearer key. DeepTutor and Cursor can use a remote HTTP connection; Claude Desktop’s local server configuration can connect through the mcp-remote stdio bridge. External AI agents use their SDK’s Streamable HTTP connector. The documentation linked below gives ready-to-copy JSON for these client shapes.
Six tools cover the source workflow: tomesift_credit_balance, tomesift_list_jobs, tomesift_get_job_provenance, tomesift_get_layer_artifact, tomesift_ingest_url, and tomesift_ask_source. An agent can inspect available credits, ingest an authorized paper with selected ranges, retrieve a completed job’s provenance, and ask a grounded question. Read tools cost 0 processing credits; ingestion starts a paid processing job, and Ask uses a bounded reservation. Each call enforces its required scope.
The connection lets an agent request and inspect work; it does not make its interpretation authoritative. Your application should preserve source anchors, visible repairs, citation links, and publication status when it presents an answer. Downloading only a polished brief and dropping the surrounding evidence would discard the reason to use a provenance engine in the first place.
One wallet, with explicit spending bounds
Explore all 10 real multi-domain organic showcases and the quick tour as often as you like. Stage local files and preview granular Scope & Ranges. Your account includes a one-time starter evaluation grant of 25 credits, with no recurring monthly free credits. Starter evaluation uses economical Fast/Balanced presets: Groq, Offline Docling in TomeSift’s sandboxed layout engine, and economical reasoning engines.
The Workbench, REST API, and MCP server share your existing Unified Credits wallet. Before paid processing, TomeSift calculates the exact worst-case hold for the job plan and reserves it atomically. It settles measured usage and releases the unused hold afterward. A held amount is temporarily unavailable to another job; it is not the final charge. That distinction helps when several agents share the same account.
For Ask, pass max_microcredits as a positive decimal string; 1000000 microcredits is 1 credit. MCP requires this cap, and REST supports it. A cap below the worst-case reservation is rejected before paid inference. Reuse the same request_id and payload for an Ask retry. Processing nodes also carry idempotency keys, but submitting POST /v1/jobs again creates a separate job: retain the returned job ID instead of treating a second submission as a retry.
Batch economics for commercial builders
One-time, non-expiring credits for Workbench UI, REST API, and Hosted MCP. All packs combine with the -25% Async Batch Queue discount. Starter Pack: 250 credits for $5 ($0.0200 / cr). For a focused first project. Research Pack: 650 credits for $12 ($0.0185 / cr · Save 8%). For your next reading set. Lab Pack: 2,200 credits for $35 ($0.0159 / cr · Save 20%). For shared research workloads. Department / API Scale Pack: 10,000 credits for $125 ($0.0125 / cr · Save 37.5%). Built for heavy courses & batch API/MCP pipelines. Institutional / Bulk Lab Pack: 50,000 credits for $500 ($0.0100 / cr · Save 50%). High-volume lab & commercial tier.
Selecting useful ranges reduces wasted extraction credits. Larger prepaid packs can also lower the effective price per credit, so source selection and pack size address different parts of the cost. A six-page selection from a long document can substantially reduce extraction work without changing what those pages mean. Repair, reasoning, and other stages still contribute to the total; removing half the pages does not guarantee half the final bill.
High-volume commercial API and agent builders, including study platforms, can contact support@tomesift.com for bulk prepaid batch credit rates. Bring expected page or minute volume, source types, provider requirements, and batch timing. Start with a representative source, inspect all three layers, and then scale a workflow whose costs and evidence boundaries you understand. Open the API & MCP documentation below for the full REST reference, range payloads, tool arguments, and client setup.
Sources & further reading
Provider documentation and research infrastructure behind the discussion. Pricing and terms can change; check the linked provider before choosing a service.
The TomeSift product guide explains workflows, pricing, and evidence in plain English. Answers are labeled as cached, live AI, or authored local guidance.
Free · rate-limited · helpful answers join our FAQ
Questions may be reviewed for publication. Keep personal information out.