Skip to main content
Glama

add_from_url

Fetch content from any URL, convert it to markdown, and add it to your knowledge base for search and retrieval.

Instructions

Fetch content from a URL and add it to the knowledge base.

Fetches the page, strips HTML, converts to markdown, and indexes.

Args:
    url: URL to fetch content from
    category: Document category (default: general)
    title: Optional title for the document (auto-detected if not provided)

Returns:
    JSON string with indexing results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
categoryNogeneral
titleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by detailing the processing steps (fetch, strip HTML, convert to markdown, index) and the return format (JSON string with indexing results), though it lacks information on error handling, rate limits, or authentication needs.

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?

The description is front-loaded with the core purpose, followed by concise bullet points for args and returns. Every sentence adds value with no redundancy, making it easy to scan and understand.

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?

Given 3 parameters with no schema descriptions and an output schema present, the description provides good coverage of inputs and hints at output format. However, as a mutation tool with no annotations, it could benefit from more behavioral details like error cases or side effects.

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 description coverage is 0%, so the description compensates by explaining each parameter's purpose: 'url' to fetch from, 'category' as document category with default, and 'title' as optional with auto-detection. It adds meaningful context beyond the bare schema.

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?

The description clearly states the specific action ('fetch content from a URL and add it to the knowledge base'), distinguishes it from siblings like 'add_document' (which likely adds local content), and explains the multi-step process (fetch, strip HTML, convert to markdown, index).

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?

The description implies usage for adding web content to the knowledge base, but doesn't explicitly state when to use this versus alternatives like 'add_document' or 'update_document', nor does it mention prerequisites or exclusions (e.g., URL accessibility, content type).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lyonzin/knowledge-rag'

If you have feedback or need assistance with the MCP directory API, please join our Discord server