Skip to main content
Glama

collections_add_website

Add a website to a knowledge collection. Its pages are indexed in the background (sitemap first, else links on the same host) and kept current.

Pass path_prefix (e.g. '/help') to index only one section. Check progress with collections.list_websites.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesWebsite address, e.g. 'https://example.com'
max_pagesNoMaximum pages to index (1-500, default 100)
path_prefixNoOnly index pages under this path, e.g. '/help'. OMIT for the whole site.
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.
collection_idYesID of the knowledge collection
refresh_intervalNoHow often to re-index automatically (default weekly)weekly

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Adds substantive behavior beyond the annotations: indexing happens in the background, sitemap is tried first with same-host links as fallback, and the index is kept current. Annotations already cover the safety profile (non-read-only, non-idempotent, non-destructive), and the description usefully supplements them rather than contradicting them.

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?

Two short paragraphs, front-loaded with the action and its effect, then the scoping hint and progress-check pointer. No filler sentences, though the second paragraph could be folded more tightly.

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?

For a mutation tool with no output schema, the description covers what happens after the call (background indexing), how to vary scope, and where to monitor progress. It omits error/duplicate handling and expected timing, but is otherwise adequate for correct invocation.

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 both required and optional parameters are already documented, including `path_prefix` and `refresh_interval`. The description largely restates the path_prefix semantics already in the schema and adds no format or boundary detail beyond it, so baseline 3 applies.

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?

States a specific verb and resource ('Add a website to a knowledge collection') and explains the indexing consequence, which distinguishes it from collections_add_file and collections_remove_website nearby. It does not, however, explicitly contrast itself with sibling tools such as collections_refresh_website.

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 clear operational context: use `path_prefix` to scope indexing to one section, and check progress with collections.list_websites. It lacks any explicit when-not-to-use guidance, such as what to do if the site is already added.

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.