Skip to main content
Glama
AskBase

AskBase

Official

ingest_website

Crawl a website from a start URL and add its pages to a collection so AskBase can search and grow a knowledge base.

Instructions

Crawl a website from a start URL and add its pages to a collection.

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": {
      "start_url": "<start_url>",
      "collection_id": "<collection_id>"
    },
    "name": "ingest_website"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_pagesNo
start_urlYesPublic http(s) URL to start crawling from
url_patternNoOptional regex: only crawl matching URLs
collection_idYesCollection ID

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and mostly fails it. For a crawler it says nothing about whether the operation is long-running or asynchronous, how deep or broad the crawl goes, whether already-ingested pages are skipped, or what permissions the collection requires.

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?

A single sentence with no wasted words, and the action is front-loaded before the destination. It is efficient, though the terseness contributes to the behavioral gaps noted above.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but a four-parameter crawling tool with no annotations needs more than one sentence. Missing are crawl scope, expected duration/async behavior, and how the result interacts with an existing collection.

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

Parameters3/5

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

Schema coverage is 75%, with start_url, url_pattern, and collection_id already described in the schema, so the schema does the heavy lifting. The description adds only that the URL is a crawl starting point and the collection receives the pages, without clarifying max_pages semantics or crawl scope.

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 names a specific verb (crawl) and resource (a website starting from a start URL) plus the outcome (pages added to a collection). This clearly separates it from the sibling ingest_url, which by name implies a single page, though the description never says so explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: 'crawl a website' suggests multi-page ingestion versus a single-URL tool, and 'add its pages to a collection' implies an existing collection is the target. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g., ingest_url for one page).

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