Skip to main content
Glama

Check data collection status by connection

list_connection_dag_status
Read-only

Get Connection Dag Log

When to use: 지원되는 V2 데이터 연결들의 DAG 실행 상태를 한 번에 조회할 때. 마지막으로 끝난 실행까지 보려면 with_last_run=true를 주세요.

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는 정상·성공의 증거가 아닙니다. DAG 실행 로그를 지원하는 provider 의 V2 연결만 반환하며 전체 연동 목록이 아닙니다. 응답 id는 connection_id이며 상세·이력의 data_id로 대입하면 안 됩니다. state는 지금 돌고 있거나 끝난 지 10분 안의 실행만 담아, 어제 끝난 연결은 빈 목록입니다. with_last_run=true면 각 연결에 last_run(최근 days일, 기본 2일 안의 마지막 실행 단계, 없으면 null)이 붙습니다. 이 옵션은 실행 기록 저장소를 한 번 더 조회합니다. 그 저장소를 못 읽으면 last_run 은 null 이고 last_run_unavailable=true 와 last_run_unavailable_reason 이 함께 붙습니다 — 이때 null 은 「실행 없음」이 아니라 「못 읽음」입니다.

Examples:

  • Q: 지원되는 데이터 연결의 수집 실행 상태를 보여줘 params: {}

  • Q: 연결마다 마지막 수집이 언제 어떻게 끝났는지 보여줘 params: {'query': {'with_last_run': True}}

Output shape: list of {id: connection_id, name, state: live DAG status entries, last_run(with_last_run=true일 때만): {mall_id: null, data_id, run_id, started_at, stages, blocking_stage, failed_task, error_message, skipped_streams} | null, last_run_unavailable?: true, last_run_unavailable_reason?: str}

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

Input Schema

NameRequiredDescriptionDefault
daysNo
project-idNo
with_last_runNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds substantial context beyond that: state only holds running or recently-finished (10 min) runs, with_last_run triggers an extra storage read, and last_run_unavailable semantics. However, it does not describe pagination or result-size behavior, so it is good but not exhaustive.

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?

Well-structured with When to use / When NOT / Limitations / Examples / Output shape sections, and the key scoping constraint is front-loaded. It is dense and mixes Korean and English, which adds reading cost, but nearly every sentence carries operational 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?

No output schema exists, but the description supplies an explicit output shape including last_run fields and the last_run_unavailable flags. Combined with the edge-case warnings (empty list, 404, id vs data_id), an agent has enough to call and interpret results correctly.

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 0%, so the description must carry parameter meaning. It explains with_last_run thoroughly (default 2 days, extra storage lookup, null semantics) and implies days via '최근 days일, 기본 2일', but project-id is never mentioned. Partial compensation for a 0% coverage schema.

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 English header 'Get Connection Dag Log' is vague, but the 'When to use' line states a specific verb and resource: querying DAG execution status of supported V2 data connections in one call. It also distinguishes itself from list_data_sources/get_data_source_meta and trigger_connection_sync, so an agent can tell it apart from siblings.

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?

Explicit 'When to use' and 'When NOT to use' sections name the alternative (trigger_connection_sync) and the condition that selects it, including the run_id cross-check workflow. It also warns against misattributing logs to other connections or inferring success from empty results.

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