Skip to main content
Glama

Add knowledge from a website

add_knowledge_website

Start reading a website's pages into knowledge. It runs in the background and returns at once with status pending; check get_knowledge_website until it says completed, usually a few minutes. Only one website can be read at a time.

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": "add_knowledge_website"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPage to start from, usually the home page (https)
max_pagesNoMost pages to read (default 25)
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: asynchronous background execution, immediate 'pending' return, expected duration of a few minutes, and a concurrency limit of one website at a time. It does not say what happens if the same URL is added twice or whether partial results are retained on failure, which keeps it below 5.

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

Conciseness5/5

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

Three short sentences with the action, the async contract, and the constraint in that order. No filler or repetition of the title.

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

Completeness4/5

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

No output schema exists, and the description supplies the lifecycle an agent needs: immediate pending status, the polling tool, and the concurrency limit. Minor gap: it doesn't say where the resulting knowledge lands or how to inspect it after completion beyond the status check.

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 description coverage is 100%, so url, max_pages, and workspace_id are already fully documented in the schema. The description adds no parameter-level detail beyond the notion of reading 'a website's pages', so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Start reading a website's pages into knowledge') and frames it as an initiation rather than a completed operation, which separates it from get_knowledge_website (polling) and add_knowledge_text (text ingestion).

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?

Gives explicit follow-up guidance — poll get_knowledge_website until status is 'completed' — and warns that only one website can be read at a time. It stops short of explicitly contrasting with add_knowledge_text for non-web content, but the context is clear.

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.

Resources