Skip to main content
Glama

List data sources

layerz_list_integrations
Read-only

List every data source feeding a model: API connectors (Qonto, Pennylane, Stripe, Airtable, Metabase) AND file imports (kind csv | fec — a staged upload from the web wizard or layerz_import_branch { file_id }). Each row carries kind, display_name, branch_ids (the branches it feeds), sync status and last_synced_at. A row with legacy_import_id set is a materialized pre-staging import: it owns input rows in the model but staged no transactions — layerz_list_transactions derives its detail from those rows, and layerz_delete_integration purges its values. Never returns stored credentials. Browse a source's staged rows with layerz_list_transactions; mutate it with layerz_manage_integration (a file source supports sync/update/rebind too — its sync replays the projection over the staged rows) or disconnect it with layerz_delete_integration. Connect a new API key from the web app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idNoTarget model UUID. Required for user-scoped API keys; ignored (or validated against scope) for model-scoped keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark readOnlyHint=true, but the description goes beyond by detailing that it 'Never returns stored credentials', explains the `legacy_import_id` special row semantics, and notes the sync/update/rebind capabilities of file sources. It also clarifies the distinction between materialized pre-staging imports and newly staged ones, giving the agent deep behavioral context.

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?

The description is detailed and slightly long, but every sentence adds value. It front-loads the core purpose and then layers in distinctions and related-tool routing. One redundant phrase: 'a staged upload from the web wizard or layerz_import_branch { file_id }' – the reference to `layerz_import_branch` is useful, but the parenthetical could be trimmed. Overall, it is well-structured and information-dense.

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 moderate complexity (one optional parameter), the description covers purpose, usage, related tools, security implications, and edge cases (legacy imports). There is no output schema to explain, but the return row content is described in detail. An agent would know exactly when and how to call it, and what to expect back.

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?

Schema coverage is 100%, so the parameter is fully documented. The description adds contextual value by explaining that model_id is required for user-scoped keys but ignored for model-scoped keys, which is useful beyond the schema's formulation. However, this is incremental rather than essential, and the baseline is already high.

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 'List every data source feeding a model' and enumerates the types (API connectors and file imports), distinguishing it from siblings like layerz_list_branches or layerz_list_transactions. It is a specific verb+resource definition that leaves no ambiguity about what is returned.

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?

It explicitly contrasts with related tools: 'layerz_list_transactions' for browsing staged rows, 'layerz_manage_integration' for mutating, and 'layerz_delete_integration' for disconnecting. It also explains the difference between legacy imports and new staging imports, and explicitly says 'Connect a new API key from the web app' – a clear when-not-to-use signal. This is excellent guidance.

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