Skip to main content
Glama
maxkuminov

Obsidian MCP (pgvector + Ollama, self-hosted)

by maxkuminov

import_from_url

Fetch a public https file directly into the Obsidian vault, returning path, size, and MIME type. Use for importing attachments from external URLs.

Instructions

Fetch a file from a public https URL straight into the vault. Requires a readwrite API key. Peer to write_file and request_upload — use this one when the bytes are already somewhere public.

The server does the fetching, so nothing passes through your context: a 20 MB PDF costs one tool call. Returns the path, size, sha256, MIME type and the final URL after any redirects.

Only genuinely public addresses. This server sits on a private network next to a database and other services, so the fetch is restricted: https only, no credentials in the URL, no private/loopback/link-local/metadata addresses in any spelling, and the same rules re-checked at every redirect. A refusal names the rule that was violated — that is information about the URL, not a hint to work around it. Rewriting the URL to evade the check is never the right next step; ask the user for a public link instead.

Size-capped at MAX_FILE_WRITE_BYTES, with one 30-second deadline for the whole fetch. No-clobber unless overwrite=True. Nothing is written unless the whole body arrives intact.

Args: url: Public https URL of the file. path: Vault-relative destination (e.g. "Attachments/paper.pdf"). overwrite: If True, allow replacing an existing file at path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
pathYes
overwriteNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/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 so thoroughly. It discloses the need for a readwrite API key, server-side fetching, redirect behavior, return fields, URL restrictions checked at every redirect, refusal behavior, size caps, timeout, no-clobber default, and atomic write behavior. This is exceptionally transparent for a network-triggering 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?

Though longer than typical, every sentence carries meaningful content: purpose, sibling differentiation, security constraints, failure behavior, limits, and parameter definitions. The structure is well-organized with a clear lead sentence, security warning, operational constraints, and arg list. No filler or redundancy.

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?

Given the tool's complexity—network fetch, security restrictions, overwrite behavior, size and timeout limits, and redirect handling—the description is fully complete. It even covers what is returned and the all-or-nothing write guarantee, making it self-sufficient despite the lack of annotations and schema descriptions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must define all parameters, and it does. The Args section explains url as 'Public https URL', path as 'Vault-relative destination' with an example, and overwrite as allowing replacement when True. This fully compensates for the bare schema and adds practical examples.

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?

Starts with a specific verb+resource+scope: 'Fetch a file from a public https URL straight into the vault.' It explicitly names sibling tools ('Peer to write_file and request_upload') and explains when this tool is the right choice, clearly distinguishing it from alternatives.

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?

Provides explicit usage context: 'use this one when the bytes are already somewhere public.' It also gives actionable guidance on handling refusals ('ask the user for a public link instead') and states the security restrictions that govern legitimate use, making the when-to-use/when-not-to-use boundary very clear.

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/maxkuminov/obsidian-mcp'

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