Skip to main content
Glama

Read a page into the knowledge base

add_knowledge_from_url

Fetches a web page or a PDF at a URL and stores its text so it can be searched later. Use it for the workspace's own site, a product page, a press release. It reads the page as it is served, so a page that needs a sign-in will not work.

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_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe address to read.
titleNoA name for it. Defaults to the page title.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Adds real information beyond the annotations: the tool persists extracted text into the knowledge base (so it is a write despite being non-destructive and non-idempotent), and it reads the page as served, meaning no JavaScript rendering or authenticated sessions. That fetch limitation is exactly the kind of behavioral trait the openWorldHint flag alone cannot convey.

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, front-loaded with the action and effect, then use cases, then the limitation. No sentence is redundant and each adds a distinct decision-relevant fact.

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 two-parameter ingestion tool with no output schema, the description covers what gets fetched, what gets stored, and one important failure mode. It could go slightly further by stating what the agent gets back (e.g., confirmation or extracted metadata) or whether re-adding the same URL duplicates content, given idempotentHint=false.

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 the agent already knows url is "the address to read" and title defaults to the page title. The description contributes only indirect semantics for url (sign-in-gated pages fail) and nothing about title, so it sits at the baseline for a fully documented schema.

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 chain — fetch a web page or PDF at a URL and store its text for later search — which tells an agent exactly what the tool accomplishes. It does not, however, differentiate itself from the closely named siblings add_knowledge and add_knowledge_from_file, leaving the agent to infer that this one is the URL variant.

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 concrete when-to-use examples ("the workspace's own site, a product page, a press release") and an explicit when-not condition ("a page that needs a sign-in will not work"). It stops short of naming the sibling alternatives (add_knowledge, add_knowledge_from_file, read_source) that would complete the routing guidance.

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