Skip to main content
Glama
lancedb

LanceDB MCP Server

Official
by lancedb

ingest_docs

Ingest document strings into a LanceDB table. Accepts a single string or list of strings as input.

Instructions

Ingests a list of documents into a LanceDB table. It is critical that the metdata must be a string literal

Args:
    docs (Union[str, List[str]]): A string or a list of strings to ingest.

Returns:
    None

example:
    ingest_docs(
        docs=["Hello world", "Hello world 2"],
    )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docsYes
Behavior2/5

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

With no annotations provided, the description carries the full burden. It states the action (ingest) and a constraint (metadata must be string literal), but omits details on side effects (e.g., append vs overwrite), required permissions, or error handling. The 'Returns: None' is minimal.

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 description is short and includes an example, which is good. However, the metadata note is out of place and interrupts flow. It could be more concise by focusing solely on the docs parameter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description should provide more context. It mentions 'LanceDB table' but doesn't specify which table or how it's identified. Behavioral details (e.g., what happens to existing data) are missing, making the tool underspecified.

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

Parameters1/5

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

Schema description coverage is 0%. The description largely restates the schema (docs can be string or list of strings) without adding meaning. The note about metadata is confusing and unrelated to the documented 'docs' parameter, failing to clarify the actual input semantics.

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?

The description clearly states the tool ingests documents into a LanceDB table, providing a specific verb and resource. While the note about metadata is tangential, it doesn't obscure the primary purpose. Sibling tools (query_table, table_details) are distinct, so the tool differentiates itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool versus alternatives (like query_table or table_details). There is no mention of prerequisites, context, or scenarios where ingestion is appropriate vs not.

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/lancedb/lancedb-mcp-server'

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