Skip to main content
Glama

List data collection connections

list_tenant_dag_connections
Read-only

Get Tenant Dag Log

When to use: 무엇이 연결돼 있는지 모르는 상태에서 시작할 때. provider별 조회와 달리 provider를 미리 알 필요가 없고, 상세·이력에 쓸 data_id를 여기서 얻습니다.

When NOT to use: 재인증·연결 수정에 사용하지 마세요. 수집을 지금 다시 돌려야 하면 trigger_connection_sync(연동 단위 최신화, 최신화를 받지 않는 연동이나 이 프로젝트에 없는 id 는 404)를 부르고, 그 응답 run_id 를 이 도구 결과의 run_id 와 대조해 진행을 확인하세요. 식별자가 없거나 지원하지 않는 축의 로그를 다른 연결에 귀속하거나 정상으로 추론하지 마세요.

Limitations: list_data_sources/get_data_source_meta는 data_connection(구형)·data_connection_v2 의 인증·연동 상태이며 이 도구의 DAG 실행 로그와 범위가 다릅니다. 광고 로그인 계정 하나를 여러 회사가 나눠 쓰는 provider(대표: FACEBOOK/Meta) 는 커넥션(/data-connection) 축이 아니라 몰(광고 로그인 계정) 축으로만 답하며, 이 테넌트가 소유한 광고계정·데이터를 수집한 run만 보여줍니다. 빈 목록, runs=[], 누락 식별자 또는 404는 정상·성공의 증거가 아닙니다. 축이 테넌트의 data_meta라 하드코딩된 provider 맵에 없는 provider도 행을 가집니다. malls[].id가 상세·이력의 data_id이며, drillable=false인 행은 그 주소가 열리지 않습니다 — 누르기 전에 이 값을 확인하세요. 몰 행의 data_connection_id는 그 몰을 만든 V2 연결 id입니다. V1 몰이거나 몰 하나에 V2 연결이 여럿이면 null이고, 그 여러 연결은 이 목록 어디에도 id로 나오지 않습니다. 구형 연결과 V2 연결 하나가 같은 몰을 쓰면 data_connection_id는 그 V2 연결이지만 id는 구형 data_id일 수 있습니다. mall_id가 비는 V2 연결(GOOGLE_ADS·CHANNEL_TALK 등)은 연결 하나가 한 원소로 나오며 name은 연결 표시명입니다. MANUAL처럼 V2 연결도 아니고 mall_id도 비는 연결은 여기에 나오지 않습니다. 목록에 없다고 연결이 없는 것이 아니며, 그 경우 provider별 조회가 커넥션 축으로 답합니다. with_state=true는 provider마다 Redis를 왕복하므로 상태 배지가 필요할 때만 켜세요. state가 비어 있는 것은 기록이 없다는 뜻이지 장애가 아닙니다.

Examples:

  • Q: 어떤 데이터 연결들이 있는지 보여줘 params: {}

  • Q: 연결 목록을 현재 실행 상태와 함께 보여줘 params: {'query': {'with_state': True}}

Output shape: list of {provider, drillable, malls: [{id: representative data_id, data_connection_id: V2 연결 id 또는 null, name: provider 원본 mall_id 또는 mall_id 없는 V2 연결의 표시명, state}]} — mall_id 라는 필드는 없습니다

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

Input Schema

NameRequiredDescriptionDefault
project-idNo
with_stateNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so this clear read tool's safety profile is covered; the description goes well beyond that. It discloses that with_state=true round-trips Redis per provider, that empty state means 'no record' rather than failure, that drillable=false rows cannot be opened, why data_connection_id can be null (V1 malls, multiple V2 connections, MANUAL), and that absence from the list does not mean the connection doesn't exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The body is a dense, multi-clause block covering many provider edge cases with no grouping or hierarchy, and the misleading 'Get Tenant Dag Log' lead line is placed before the actual purpose. Much of the mall/V2/V1 corner-case detail could be shortened or left to the output schema, so sentences do not all earn their place.

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?

An output schema exists, yet the description still restates the output shape and, more usefully, annotates non-obvious field semantics (malls[].id as the representative data_id, data_connection_id as the creating V2 connection or null, the absence of a mall_id field) plus provider-specific exceptions like FACEBOOK/Meta being mall-axis only. That is close to complete for a listing tool with tricky row semantics, with only project-id left unexplained.

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 load. It does explain with_state (per-provider Redis cost, enable only when status badges are needed) but says nothing about project-id despite it being a core scoping parameter. Partial compensation for a two-parameter schema with zero documented fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening line reads 'Get Tenant Dag Log', which names a different verb and resource than the tool's own name and title ('List data collection connections'), so an agent skimming the first sentence gets the wrong impression. The 'When to use' line recovers it by saying it enumerates what is connected without needing to know the provider in advance and that it yields data_id for detail/history. The net purpose is inferable but the lead sentence works against it.

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 gives explicit when-to-use ('when you don't know what is connected', provider-agnostic) and when-not-to-use ('do not use for re-auth or editing connections'), and routes the agent to named alternatives: trigger_connection_sync for re-running sync (with 404 semantics and run_id reconciliation) and list_data_sources/get_data_source_meta for auth/connection state. It also warns against inferring success from empty lists or missing identifiers.

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