Skip to main content
Glama

ingest_url

Fetch an http(s) URL, convert it to Markdown, and index it for hybrid search over a local knowledge base; use it to add web content to on-device RAG.

Instructions

Fetch an http(s) URL, convert it to Markdown, and index it.

Only http and https schemes are accepted, and the host must not be a private or local address (loopback, link-local, private, reserved) — set ALLOW_PRIVATE_URLS=1 to lift that. This is the one tool that reaches the network — every other tool works purely against local files and the local index. source defaults to the URL itself; pass one to control the index key or to update a previously ingested URL. labelProblem is as in ingest_file.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
titleNo
sourceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 burden and does substantial work: it discloses network egress as unique to this tool, the scheme/host allowlist and its environment override, and that source defaults to the URL. It does not say what happens on re-ingest (replace vs. append) or how failures surface, which keeps it below a 5.

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

Conciseness3/5

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

The core is front-loaded and the constraint paragraph earns its place, but the trailing sentence about labelProblem points at a parameter absent from the schema and is pure noise for a caller. One inaccurate sentence in a four-sentence description is a meaningful structural flaw.

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?

An output schema exists so return values need not be described, and for a three-parameter ingestion tool the description covers the risky parts (SSRF guardrails, env override, source semantics) well. The gap is the undocumented title parameter and the misleading labelProblem reference.

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 coverage is 0%, so the description must compensate and only partially does: source is explained (default to URL, use to control index key or update), and url's scheme/host constraints are covered. The title parameter is never mentioned, and the final sentence references 'labelProblem' — a field that does not exist in this tool's schema — which adds confusion rather than meaning.

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 first sentence gives a specific three-step verb chain (fetch HTTP(S) URL, convert to Markdown, index it), and the description explicitly positions it against siblings: 'This is the one tool that reaches the network — every other tool works purely against local files and the local index.' An agent can tell it apart from ingest_file/ingest_data without opening a schema.

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?

Clear guidance on accepted schemes and host restrictions, plus an explicit escape hatch (ALLOW_PRIVATE_URLS=1) and a stated use case for the source parameter (update a previously ingested URL). It stops short of naming ingest_file as the alternative for local files, deferring that to an indirect statement about the other tools.

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