Skip to main content
Glama

List file sources

list_sources
Read-only

Where import_file can bring a file from in this workspace: whether files from links are switched on, the warehouse tables and storage folders the Owner connected and listed for AMT to read. With connection_id and table, the columns of one warehouse table (to choose what a model reads and which column holds the answers).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableNoThe table, as list_sources names it.
connection_idNoA warehouse connection id, to see one of its tables' columns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. Beyond that the description adds real context: results are workspace-scoped, depend on whether link imports are switched on, and reflect what the Owner connected and exposed for AMT to read — i.e. an empty or partial list is a configuration state, not an error. It stops short of describing pagination, ordering, or behavior on an unknown connection_id.

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?

It is a single long sentence fragment with a heavy embedded clause ('the warehouse tables and storage folders the Owner connected and listed for AMT to read') that is hard to parse, and the secondary column mode is appended after the primary purpose rather than clearly separated. There is no filler, but the structure obscures rather than front-loads the main action.

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

Completeness3/5

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

With no output schema, the description must carry return-value meaning; it does partially, indicating the tool returns available source locations and, in the two-parameter mode, a table's columns. It does not say what a source entry looks like (does it include the connection_id needed for the column mode?) or how the two result shapes differ, which is a meaningful gap for a tool with a dual output mode.

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 100%, so the per-parameter baseline is 3. The description does add one thing the schema cannot: the pair connection_id + table together switch the tool into a different mode (returning that table's columns), which an agent could not infer from two independently described optional strings. It adds no further detail on formats, id discovery, or what happens if only one of the two is supplied.

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 identifies the resource concretely: the set of places import_file can pull from in this workspace (link imports, warehouse tables, storage folders), and names the sibling it feeds into. It also discloses a second mode (listing one table's columns when connection_id and table are given), which is useful but makes the tool's identity slightly split between 'list sources' and 'describe a table'. An agent can still tell what it does without opening the schema.

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?

Usage is only implied: it is framed as the answer to 'where can import_file bring a file from', and the column mode is framed as 'to choose what a model reads and which column holds the answers', which hints at pre-import and pre-model setup. There is no explicit when-to-use/when-not, and no routing away from plausible alternatives such as the sibling 'columns' tool, leaving overlap unresolved.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources