Skip to main content
Glama

load_source

Register data files as queryable sources by loading CSV, TSV, Parquet, JSON, or NDJSON. Handles globs and directories with format auto-detection and schema metadata.

Instructions

Load a CSV / TSV / Parquet / JSON / NDJSON file (or glob, or directory) and register it as a queryable source.

    Auto-detects format from extension; pass format= to override. For globs and
    directories, files are unioned (must share schema). Returns the new source's
    id, format, modality, schema, row count, size, and a stable fingerprint.

    Output size: small-to-medium (schema scales with column count).
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
aliasNo
formatNo
optionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It discloses format auto-detection, format override, glob/directory unioning with schema constraints, the return payload (id, format, schema, row count, etc.), and output size. It does not mention permission requirements or overwrite/alias conflict behavior, but the major behaviors are well-covered.

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 concise and front-loaded with the primary action. The format list, glob/directory note, return field list, and output size line are all useful and add no fluff. Every sentence contributes to understanding the tool.

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?

This is a complex tool with four parameters, multiple formats, and glob/directory behavior. The description covers the core functionality, edge cases (schema matching for unions), return fields, and output size. Missing alias and options semantics, but the provided output schema and structured return info help fill some gaps. Overall, it is quite complete for an agent to decide and invoke.

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 description coverage is 0%, so the description must compensate. It does explain the format parameter ('pass format= to override') and path semantics (globs/directories unioning), but it does not explain the alias or options parameters. This partial coverage is better than nothing but leaves two of four parameters opaque.

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 tool loads a CSV/TSV/Parquet/JSON/NDJSON file, glob, or directory and registers it as a queryable source. This verb+resource+scope is specific and distinguishes it from siblings like list_sources (which lists existing sources) and unload_source (which removes a source).

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?

The description provides clear context: use this when you want to load and register a source for querying. It implicitly contrasts with list_files (which likely just lists files) and describes glob/directory unioning behavior. However, it does not explicitly name alternatives or provide when-not-to-use guidance.

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/charliecpeterson/edamcp'

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