Skip to main content
Glama

List connected data sources

list_data_sources
Read-only

Get User Connection States

When to use: 사용자가 현재 Analytics 에 연동된 판매처·광고·CS 툴 목록과 각 연동의 상태를 확인해야 할 때. 데이터 쿼리 tool 을 호출하기 전 어떤 provider 가 사용 가능한지 파악하는 cold-start inspection 용.

Limitations: is_include_conn_state='false' 로 상태 체크를 생략하면 훨씬 빠름. provider 쿼리 파라미터로 특정 플랫폼만 필터링 가능(V2 에만 있는 provider 이름도 받음). 구형 연결은 connections, 신규(V2) 연결은 v2_connections 에 나오며 두 목록의 id 는 서로 다른 번호 체계라 같은 숫자가 다른 연결일 수 있음.

Examples:

  • Q: 현재 연동된 모든 플랫폼 목록 보여줘 params: {'query': {'is_include_conn_state': 'true'}}

  • Q: 페이스북·구글 광고 연동 상태만 확인해줘 params: {'query': {'provider': ['facebook', 'google'], 'is_include_conn_state': 'true'}}

Related resources: analytics://schema/connection, analytics://schema/data_source

Output shape: UserConnState: connections (구형 연결, per-provider Connection states authenticated / expired / error / paused) + v2_connections (신규 연결, auth_state_info 와 data_sources 를 가진 V2 data-connection 형태).

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_data_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerNo
project-idNo
is_include_conn_stateNotrue

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/closed-world, so the safety profile is covered; the description adds real behavior the annotations cannot: the performance tradeoff of skipping conn state, that provider names existing only in V2 are still accepted, and crucially that old 'connections' and new 'v2_connections' use different id numbering where the same number can mean a different connection.

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 sectioned layout (When to use / Limitations / Examples / Related resources / Output shape) front-loads the decision-relevant facts, and the Q+params examples are efficient. The English header is a slightly noisy restatement of the Korean body rather than new information.

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?

Even though an output schema exists, the description summarizes the return shape (UserConnState with connections vs v2_connections and their auth states), and it flags the id-collision hazard, related schema URIs, and the filtering options. An agent can call this correctly without opening the schema.

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 carry the parameter burden. It explains provider filtering (including V2-only names) and the speed implication of is_include_conn_state, plus shows both in the examples, but it never mentions the third parameter project-id at all, leaving one of three parameters undocumented anywhere.

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 header 'Get User Connection States' plus the 'When to use' sentence make clear this returns the list of connected sales/ad/CS providers and each connection's state. That is a specific verb+resource, though it never contrasts itself with the similarly named sibling list_analytics_data_sources, leaving the agent to infer the difference.

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?

Guidance is explicit about the use case: cold-start inspection before calling any data-query tool, to learn which providers are usable. It also states a when-not variant ('skip state checks with is_include_conn_state=false for speed'), but names no alternative sibling tool for the case where you want actual data rather than connections.

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