Skip to main content
Glama

nworks_setup

Configure authentication for NAVER WORKS API by storing client ID and optional parameters, using environment variables for secure credential management.

Instructions

NAVER WORKS API 인증 정보를 설정합니다.

■ 사전 준비 (사용자가 직접 해야 함):

  1. https://dev.worksmobile.com 에서 앱 생성 후 Client ID와 Client Secret을 발급받습니다.

  2. MCP 설정 파일(예: claude_desktop_config.json)의 nworks 서버에 env 필드를 추가합니다: { "env": { "NWORKS_CLIENT_SECRET": "<발급받은 Client Secret>" } }

  3. MCP 클라이언트(예: Claude Desktop)를 재시작합니다.

■ 이 tool의 역할:

  • clientId(필수)와 serviceAccount, botId, domainId(선택)를 파라미터로 받아 저장합니다.

  • Client Secret은 보안을 위해 파라미터로 받지 않으며, 환경변수 NWORKS_CLIENT_SECRET에서 자동으로 읽습니다.

  • Service Account 사용 시 환경변수 NWORKS_PRIVATE_KEY_PATH도 필요합니다.

■ 설정 후 다음 단계:

  • 캘린더/메일/드라이브/할일/게시판 → nworks_login_user tool로 브라우저 로그인 필요

  • 메시지/구성원조회 → Service Account 인증 (serviceAccount + botId + NWORKS_PRIVATE_KEY_PATH)

■ 환경변수 NWORKS_CLIENT_SECRET이 없으면 이 tool은 실패합니다. 실패 시 사용자에게 위 사전 준비 단계를 안내하세요.

OAuth Redirect URI: http://localhost:9876/callback

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clientIdYesClient ID (Developer Console에서 발급)
serviceAccountNoService Account ID (예: xxxxx.serviceaccount@domain)
botIdNoBot ID (메시지 전송 시 필요)
domainIdNoDomain ID
Behavior4/5

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

With no annotations provided, the description carries full burden and succeeds well. It discloses security-sensitive behavior (Client Secret read from env var, not parameters), state mutation (saves configuration), external dependencies (environment variables), failure modes, and the OAuth redirect URI. Minor gap: could mention idempotency or whether calling twice overwrites previous config.

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

Conciseness5/5

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

Excellent structure with clear visual sections (■ 사전 준비, ■ 이 tool의 역할, ■ 설정 후 다음 단계). Despite length, every sentence serves a purpose: prerequisites, security constraints, failure handling, and sibling tool references. Well front-loaded with the core purpose statement.

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?

For a setup tool with 4 parameters and no output schema, the description is comprehensive. It covers prerequisites, parameter semantics, security constraints, failure scenarios, OAuth details, and post-setup workflow. No gaps identified for this tool type.

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?

While schema has 100% coverage (baseline 3), the description adds valuable context: security rationale for excluding Client Secret from params, format example for serviceAccount ('xxxxx.serviceaccount@domain'), and functional grouping (clientId required vs optional serviceAccount/botId/domainId). It explains the 'why' behind the parameter design.

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 explicitly states it 'sets up NAVER WORKS API authentication information' and distinguishes itself from nworks_login_user by clarifying that this tool only stores configuration while login_user handles browser authentication for specific features. It clearly identifies the specific resource (API credentials) and action (configure/store).

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?

Exceptional guidance with explicit prerequisites (developer console setup, env variable configuration), clear failure conditions ('fails if NWORKS_CLIENT_SECRET env var is missing'), and specific next-step routing (use nworks_login_user for calendar/mail vs Service Account for messages). It explicitly names sibling tools and when to use each authentication flow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yjcho9317/nworks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server