Skip to main content
Glama

add-website-knowledge

Adds an entire website to an agent's knowledge base as one source, read in the background within page and character budgets. Starts pending; check readiness with list-knowledge.

Instructions

Add a whole website to an agent's knowledge base. The site is read in the background (pages within the plan's page and character budgets) and becomes one knowledge source; it starts as "pending" — call list-knowledge to see when it is "ready". One source per site: to read a site again, use resync-knowledge.

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": {
      "agentId": "<agentId>",
      "url": "<url>"
    },
    "name": "add-website-knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesWebsite address, e.g. "https://example.com" or "example.com"
agentIdYesThe agent ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses that ingestion is asynchronous and backgrounded, that it is bounded by the plan's page and character budgets, and that the source enters a "pending" state before "ready". It stops short of describing failure modes (invalid URL, budget already exhausted, duplicate call behavior), which is the main remaining gap for a mutation tool.

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 sentences, each doing distinct work: what it does, how it behaves, and how to follow up. The asynchronous caveat and the status-check pointer are front-loaded where an agent will see them before calling.

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?

For a two-parameter async ingestion tool with no output schema and no annotations, the description supplies everything needed to call it correctly and to know what to do afterward. The pending/ready lifecycle plus the list-knowledge pointer substitutes well for the absent output schema.

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 baseline is 3; the description adds real meaning by establishing that the URL denotes a whole site to be crawled rather than a single page, which is not evident from the schema's "Website address" text. agentId is left to the schema, which documents it adequately.

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 ("Add a whole website to an agent's knowledge base") and immediately clarifies the unit of ingestion ("one knowledge source"). It distinguishes itself from resync-knowledge by scoping itself to first-time addition of a site.

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

Usage Guidelines5/5

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

Explicitly names two alternatives and the conditions that select them: call list-knowledge to poll readiness, and use resync-knowledge to re-read a site that already exists. It also states the constraint ("One source per site") that would otherwise lead an agent to call this tool redundantly.

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