Skip to main content
Glama

Bintu Ingest

ingest
Read-onlyIdempotent

Fetch one public HTTP or HTTPS URL and return readable text sized for an LLM context window. Supports scrape, chunk, and summarize modes; scrape returns text trimmed to max_tokens, chunk splits the page into chunks that each fit max_tokens, and summarize returns leading lines and whole sentences within max_tokens (not an AI-written summary). Pages are read up to 200,000 characters; truncated=true with limiting_factor=char_cap means that ceiling was hit, while token_budget means max_tokens was. Token counts are approximate estimates, not tokenizer counts; tokens_saved_estimate reports estimated savings. low_yield=true includes yield_hint. Results may come from cache (cache_hit, cache_layer); revalidated=true means a stale memory entry was refreshed by a fresh fetch; set cache=false to bypass cache reads and persist=false to skip the persistent write. URLs with credential-like query parameters are never stored, and robots.txt is honored. render_js requires operator enablement. Failures return isError=true with stable codes such as invalid_or_unsafe_url, upstream_access_denied, blocked_by_robots, payload_too_large, unsupported_media_type, upstream_rate_limited, and upstream_http_error. Repeated story blocks are excluded (deduplicated_count); code is returned in fenced blocks; tables are pipe-delimited. For RAG ingestion and grounded citations, prefer mode="chunk" with chunk_strategy="semantic" and use each chunk's chunk_id, heading_path, char_start/char_end, and source_url/final_url as citation anchors; usage.estimated_cost_usd reports estimated per-request token cost.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "ingest"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute public HTTP or HTTPS URL to read. Private, loopback, link-local and metadata addresses, non-standard ports and URLs containing credentials are rejected with invalid_or_unsafe_url.
modeNoscrape: selected page text trimmed to max_tokens. chunk: selected page text split into chunks that each fit max_tokens. summarize: leading lines and whole sentences from selected page text within max_tokens. When sections is provided, it filters the page before mode processing; if no section matches, no page content is returned. 'chunked' is accepted as an alias for chunk.scrape
cacheNoRead from the memory and persistent caches (default true). false bypasses cache reads; a fresh result may still be written to the cache.
linksNoHow to represent hyperlinks in extracted text. inline preserves readable link URLs; footnotes uses numbered references and a link list; false omits URLs for the lowest-token output.inline
persistNoAllow a fresh result to be written to the persistent cache (default true). false skips that write; extraction and the short-lived memory cache are unchanged.
sectionsNoOptional heading selectors that filter the page before mode processing. Accepts either a newline-separated string (for example "Alpha\nBeta") or an array of strings (for example ["Alpha", "Beta"]). Whitespace and case are normalized for heading matching. When provided, scrape returns only matching sections, chunk/chunked splits only matching sections, and summarize summarizes only matching sections. If no requested section matches, the response contains no page content and reports no_match. Empty or whitespace-only selectors return invalid_arguments. Each selector must be 200 characters or fewer. When provided, persistent and memory caches are bypassed for reads; a fresh extraction may still be written when persist is true.
render_jsNoRender the page in a browser before extraction. Available only if the operator enables it; otherwise render_js_disabled is returned and you should retry with false.
max_tokensNoEstimated-token budget, enforced in every mode: scrape trims to it, chunk makes each chunk fit it, summarize returns the leading text within it. Range 100 to 50000, default 6000. A single indivisible unit in chunk mode (for example one very long table row) can exceed it. Accepted alias: chunk_token_budget.
summary_modeNoOpt-in deterministic extractive summary. none preserves the existing response; leading selects the first eligible source sentences; key_sentences selects longer eligible sentences and restores source order.none
chunk_strategyNoChunking strategy. sequential preserves the legacy token-budget behaviour. semantic uses heading-aware sections and returns retrieval metadata.sequential
compact_chunksNoOmit repeated per-chunk provenance and page-context fields to reduce chunk payload size.
overlap_tokensNoApproximate token overlap between chunks. Must be non-negative and less than max_tokens.
return_metadataNoInclude optional retrieval enrichment metadata. Core provenance and identifiers remain available.
main_content_onlyNoApply stronger main-content extraction before sections filtering and mode processing. When true, Bintu prefers the primary article or documentation container and reduces navigation, sidebars, footers, and non-article boilerplate before scrape, chunk, summarize, and sections processing. Default false preserves current extraction behavior. Cleaned requests use memory caching only.
chunk_token_budgetNoAccepted alias for max_tokens; max_tokens wins on conflict. Range 100 to 50000.
footnote_url_policyNoFor links=footnotes only: full preserves complete URL destinations; truncated replaces over-limit destinations with non-clickable abbreviated text. Default: truncated.truncated
include_heading_pathNoInclude the hierarchical heading path for each chunk.
include_page_contextNoInclude deterministic page-level context derived from the page title and heading path.
summary_sentence_countNoMaximum number of verbatim source sentences included in the opt-in extractive summary.
max_footnote_url_lengthNoFor links=footnotes only: maximum URL length for the visible label and, with the truncated policy, the destination. Positive integer. Default: 100.
exclude_terminal_sectionsNoRemove recognized terminal non-body sections, such as References, See also, External links, and Further reading, after main-content extraction. Requires main_content_only and does not apply when explicit sections are requested. Default false preserves references and other terminal sections.

Output Schema

NameRequiredDescriptionDefault
modeYesExtraction mode: scrape returns readable text; chunk splits it into budgeted chunks; summarize selects leading text within a budget. The accepted chunked alias normalizes to chunk.
cacheNoCanonical cache-freshness metadata. fresh means the result is within Bintu's declared cache policy; it does not prove that upstream content is unchanged.
splitYesTrue when content spans multiple chunks (chunk mode only; not truncation).
usageNoMetered usage and estimated cost in USD for the request.
chunksYes
tokensYesCompatibility alias of approx_tokens.
filteredNoTrue when a sections filter was applied before mode processing.
warningsNoNon-fatal section-selection warnings.
cache_hitYesTrue when the response was served from memory or persistent cache.
low_yieldNoTrue when a large page produced very little text (often JavaScript-rendered or login-gated).
truncatedYesTrue when extracted content exceeded a limit and the returned text was shortened.
page_titleNoHuman-readable title of the source document, when available.
provenanceNoRequest and extraction provenance metadata when enabled.
source_urlYesThe requested URL with sensitive-looking query parameters removed, safe for logs and display.
yield_hintNoPresent only when low_yield is true: a short suggestion for what to try next.
cache_layerYesWhich cache served the response: none, memory, or persistent.
chunk_countYesNumber of chunks in the chunks array (1 for scrape and summarize modes when not split).
html_tokensYesApproximate token count of the fetched source HTML, computed the same way as approx_tokens.
revalidatedNoTrue when a stale memory-cache entry was refreshed by a fresh fetch after the cached fetch failed. False for fresh hits, persistent hits, and cache bypass.
extracted_atYesUTC ISO 8601 timestamp of the extraction.
token_methodYesMethod used to compute approx_tokens: ceil(characters / 4).
approx_tokensYesApproximate token count of the returned text: ceil(characters / 4). An estimate, not a tokenizer count.
content_qualityNoQuality assessment signals describing extraction usefulness and boilerplate contamination.
limiting_factorYesWhich limit bound the returned text: char_cap (extracted-text character ceiling) or token_budget (max_tokens), or none when no limit shortened the response.
content_cleaningNo
page_title_sourceNoOrigin of page_title: html_title, heading, url_fallback, or none.
available_sectionsNoHeadings and labels available in the extracted document.
deduplicated_countNoRepeated story blocks excluded from the extracted text.
requested_sectionsNoSection selectors requested by the caller.
unmatched_sectionsNoRequested section selectors that did not match a heading or label.
section_match_statusNoOutcome of section selection.
tokens_saved_estimateYesEstimated tokens saved by extraction: source-HTML approximate tokens minus returned-text approximate tokens, floored at 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (readOnly, openWorld, idempotent, non-destructive), the description discloses many behavioral traits: mode semantics, truncation flags, approximate token counts, cache layers and revalidation, robots.txt compliance, credential-URL storage policy, render_js enablement requirement, stable error codes, deduplication, code fencing, table formatting, and cost estimation. No contradictions with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose and is information-dense, with every sentence contributing operational detail. It is long but appropriate for a 21-parameter tool. Some sentences could be trimmed or split for readability, but overall it is well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (21 parameters, multiple modes, caching, error handling), the description is complete enough for an agent to call it correctly. It covers modes, caching, rendering, truncation, error codes, and citation guidance, and an output schema exists to handle return-value details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents parameters thoroughly. The description adds useful cross-parameter meaning: it clarifies that summarize is extractive (not AI-written), that cache=false bypasses reads while persist=false skips writes, and that render_js should be retried with false when disabled. These additions go beyond the schema, though many details remain schema-driven.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Fetch one public HTTP or HTTPS URL and return readable text sized for an LLM context window.' It clearly states the tool's function and scope. However, it does not differentiate this tool from its siblings ('assist' and 'knowledge'), so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit usage guidance for RAG ingestion and grounded citations, recommending mode='chunk' with chunk_strategy='semantic'. It also explains cache bypass and persist behavior. It does not state when not to use this tool or name alternative sibling tools, so it is not a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.