Skip to main content
Glama

Check connection authentication status

get_data_source_meta
Read-only

Get Connection State

When to use: 특정 Connection ID 의 OAuth·인증 상태 및 소속 DataSource 진행 상황을 상세 조회해야 할 때. 재인증 필요 여부 판단용.

When NOT to use: 다른 사용자 소유의 connection_id 조회 시도 — 권한 체크에서 거부됨. 전체 연동 목록은 list_data_sources 사용 (이 도구는 단일 connection 상세용).

Limitations: connection_id 는 양의 정수. 소유자 본인의 Connection 만 조회 가능 (권한 체크).

Examples:

  • Q: 이 연동이 지금 정상인지 확인해줘 params: {'path': {'connection_id': 101}}

Related resources: analytics://schema/connection

Output shape: 구형 연결이면 single ConnectionAuthState object with auth/sourcing detail, 그 id 의 구형 연결이 없고 신규(V2) 연결이 있으면 list_data_sources 의 v2_connections 원소와 같은 형태.

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": {
      "connection_id": "<connection_id>"
    },
    "name": "get_data_source_meta"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerNo
project-idNo
connection_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description only needs to add context, and it does: owner-only permission checking, rejection of other users' connection IDs, and the legacy (single ConnectionAuthState) vs. V2 (shape matching `list_data_sources` v2_connections element) return variation. It stops short of mentioning rate limits or pagination, but adds real value beyond the annotations.

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?

Labeled sections (When to use / When NOT to use / Limitations / Examples / Output shape) make it easy to scan, and the sample call is useful. It is somewhat verbose and mixes Korean with English headings, but there is no filler sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only lookup with an output schema, coverage is nearly adequate: purpose, exclusions, permissions, and the legacy-vs-V2 return distinction are all present. The main gap is the two undocumented optional parameters (`provider`, `project-id`), whose semantics are unavailable anywhere in the definition.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 explain all three parameters. It only mentions `connection_id` (positive integer), which the schema already enforces via exclusiveMinimum 0; the `provider` array and nullable `project-id` parameters are never explained in either place.

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 names a specific verb and resource: detailed retrieval of OAuth/authentication state and DataSource progress for one connection ID. It explicitly distinguishes itself from `list_data_sources` (single connection detail vs. full integration list), so an agent can choose between them without opening either 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?

It has explicit 'When to use', 'When NOT to use', and a named alternative (`list_data_sources`) for the list case. It also states the reauthorization-decision context and the owner-only permission restriction, leaving little to infer.

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