Skip to main content
Glama

source.add

Add documents, URLs, text, YouTube videos, or Google Drive files to your NotebookLM notebook for processing and indexing.

Instructions

Add a source (document, URL, text, YouTube video) to the current NotebookLM notebook.

Supported source types:

  • file: Upload a local file (PDF, DOCX, TXT, etc.)

  • url: Add a web page URL

  • text: Paste text content directly

  • youtube: Add a YouTube video URL

  • google_drive: Add a Google Drive document link

The source will be processed and indexed for use in conversations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_typeYesType of source to add
file_pathNoLocal file path (required for source_type="file")
urlNoURL (required for source_type="url", "youtube", "google_drive")
textNoText content (required for source_type="text")
titleNoOptional title/name for the source
notebook_urlNoNotebook URL. If not provided, uses the active notebook.
session_idNoSession ID to reuse an existing session

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successYesWhether the tool call succeeded.
dataNoThe tool payload on success. The exact shape depends on the tool.
errorNoHuman-readable error message, present only when success is false.
Behavior3/5

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

Annotations already indicate readOnlyHint=false and openWorldHint=true; description adds that the source is 'processed and indexed', which provides marginal extra behavior context. No contradiction, but lacks details on side effects like processing time or error states.

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?

Description is front-loaded with the main purpose and uses a bullet list for source types, making it scannable. However, the list partially duplicates the schema enum, and could be slightly more concise.

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 the complexity (7 parameters, 1 required) and presence of an output schema, the description adequately covers purpose, supported types, and processing. It does not mention prerequisites or error scenarios, but is sufficient for a typical add operation.

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?

Description adds value beyond the 100% schema-covered parameters by grouping source types and stating which parameter is required for each type (e.g., file_path for 'file'), improving understanding of parameter dependencies.

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?

Description clearly states the verb 'Add' and resource 'source to the current NotebookLM notebook', and lists supported source types (file, url, text, youtube, google_drive), distinguishing it from sibling tools like source.delete.

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?

Description implies usage context (adding different source types) but does not explicitly state when to use this tool versus alternatives (e.g., library.add or content.generate), nor provides exclusion criteria.

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/roomi-fields/notebooklm-mcp'

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