Skip to main content
Glama

Turn source sync on or off

update_data_source_status
DestructiveIdempotent

Update Data Source Status

When to use: 데이터 연결의 소스 하나에서 수집을 멈추거나(SYNC_PAUSED) 다시 켤 때(SYNC_ENABLED). 웹 「데이터 연결」 화면의 최신화 중단·재개와 같다. 멈춰도 이미 모은 데이터는 남는다.

When NOT to use: 데이터를 집계에서만 빼고 수집은 둘 때(update_data_integration), 소스 목록이나 지금 상태를 볼 때(먼저 연결 조회 도구로 data_source_id 와 상태를 확인한다).

Limitations: 멈춤은 SYNC_PAUSED 로 한다. SYNC_DISABLED 는 화면 삭제·이관·중복 계정 정리용이라 연결 일괄 재개가 되살리지 않으므로 수집 중단에 쓰지 않는다. status=INACTIVE 는 연동 해제다: 수집한 데이터를 지우는 작업이 뒤따르고 되돌릴 수 없으며, 연결 삭제 권한이 따로 필요하다. 사용자가 데이터 삭제까지 명시했을 때만 쓴다. SYNC_PAUSED 는 수집 중인 소스(SYNC_ENABLED, auto-add 연결의 ACTIVE)에만 걸 수 있고 아니면 422. 재개(SYNC_ENABLED)하면 auto-add 로 들어온 소스는 ACTIVE 로 돌아간다. 권한은 웹 화면과 같다(프로젝트의 데이터 소스 수정 권한). status 가 없으면 400, 소스가 이 프로젝트 소유자의 것이 아니면 404.

Examples:

  • Q: 2991 소스 수집을 멈춰줘(데이터는 남겨둬) params: {'path': {'data_source_id': 2991}, 'body': {'status': 'SYNC_PAUSED'}}

Output shape: single object: data { data_source_id, new_status, old_status }

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "data_source_id": "<data_source_id>"
    },
    "name": "update_data_source_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNo
project-idNo
data_source_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true and idempotentHint=true; the description goes far beyond by explaining that pausing preserves already-collected data, that SYNC_DISABLED is not revived by bulk resume, and that INACTIVE is irreversible, deletes collected data, and needs a separate delete permission. It also documents permission requirements, 422 on invalid state transitions, and 400/404 error conditions.

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 front-loaded with labeled sections (when to use, when not, limitations, example, output shape) that make scanning easy. The repeated title heading and some overlapping restatement of pause semantics across sections cost a little, but nearly every sentence carries operational value.

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?

For a destructive mutation with no output schema, the description supplies the return shape, error codes, permission requirements, and safe-vs-destructive status routing. The only omission is the optional project-id parameter's purpose, which an agent may need when the source is not in the default project.

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?

With 0% schema description coverage, the description carries the full load and does so for status, spelling out the meaning and consequences of each enum value (SYNC_PAUSED, SYNC_ENABLED, SYNC_DISABLED, INACTIVE, ACTIVE in auto-add connections) far beyond the raw enum list. data_source_id is only illustrated by the example, and the optional project-id parameter is never explained, leaving a real gap.

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?

Despite the redundant heading, the description states a precise verb and resource: start or stop collection on a single data source of a data connection (SYNC_PAUSED / SYNC_ENABLED), and explicitly says it corresponds to the web '데이터 연결' pause/resume action. It distinguishes itself from update_data_integration by scope (collection vs. aggregation inclusion), so an agent can pick it without opening another schema.

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 (update_data_integration) and the precondition of first resolving data_source_id and current state via a connection-query tool. It also gates the destructive path: INACTIVE only when the user explicitly asked for data deletion.

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