Skip to main content
Glama
jun7680

Kakao Moment MCP

by jun7680

get_ad_account_info

Retrieve Kakao Moment ad account information including name, status, business details, and balance shortage status.

Instructions

카카오모먼트 광고계정 정보(이름, 상태, 사업자, 잔액부족 여부 등)를 조회합니다.

이런 질문에 사용하세요: • "광고계정 상태 어때?" / "광고계정 정보 보여줘" • "지금 광고계정 잘 돌아가고 있어?" • "광고계정에 문제 있어?" / "잔액부족 상태야?" • "내 광고계정 ID/이름 뭐였지?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler: calls KakaoMomentClient.get('/openapi/v4/adAccounts/{ad_account_id}') and returns a dict with id, name, status, owner, summary, and raw body.
    async def get_ad_account_info(client: KakaoMomentClient) -> dict[str, Any]:
        """광고계정 정보 (이름, 상태, 멤버 권한 등)."""
        data = await client.get(f"/openapi/v4/adAccounts/{client.ad_account_id}")
        body = data.get("data") if isinstance(data, dict) and "data" in data else data
        if not isinstance(body, dict):
            return {"raw": data, "summary": "광고계정 정보를 해석할 수 없습니다."}
        name = body.get("name") or "(이름 미상)"
        status = body.get("status") or body.get("config") or "-"
        return {
            "id": body.get("id") or body.get("adAccountId"),
            "name": name,
            "status": status,
            "owner": body.get("masterUserId") or body.get("ownerId"),
            "summary": f"광고계정 「{name}」 상태: {status}",
            "raw": body,
        }
  • Imports and module-level docstring for the tools/account module which contains get_ad_account_info. Uses KakaoMomentClient from kakao/client and _unwrap_metrics from reports.
    """광고계정/비즈머니/오늘 상태 조회 도구."""
    from __future__ import annotations
    
    from datetime import date, datetime, timedelta
    from typing import Any
    
    from ..kakao.client import KakaoMomentClient
    from ..utils.dates import to_yyyymmdd
    from .reports import _unwrap_metrics
  • Helper _fmt_won used by other functions in the same file for formatting currency amounts.
    def _fmt_won(amount: float | int | None) -> str:
        if amount is None:
            return "-"
        try:
            return f"{int(round(float(amount))):,}원"
        except (TypeError, ValueError):
            return str(amount)
Behavior4/5

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

With no annotations provided, the description carries the full burden. It correctly suggests a read-only operation ('조회합니다') without mentioning side effects. For a simple parameterless tool, this is sufficient, though additional details like authentication or rate limits could improve transparency.

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?

The description is concise: a single sentence stating the purpose followed by a list of example questions. Every sentence serves a purpose, and the structure is front-loaded with the main action. No wasted words.

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 parameterless tool with no output schema, the description covers the core functionality and the kind of information retrieved (name, status, business info, etc.). It does not detail the return format, but given the tool's simplicity, this is adequate. Slightly higher could be achieved by explicitly stating it returns a single object.

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?

The input schema has no parameters (0 params, 100% coverage trivially). According to guidelines, 0 params gives a baseline of 4. The description does not need to add param info since none exist.

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 clearly states the tool retrieves Kakao Moment ad account info (name, status, business info, balance shortage) and provides example user queries. It is specific and distinguishes from siblings like get_bizmoney (balance) or get_performance_report (performance).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives example questions (e.g., 'How is the ad account status?', 'Any balance shortage?') that directly indicate when to use the tool. However, it does not explicitly mention when not to use it or provide alternatives, though the context of sibling tools implies differentiation.

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/jun7680/kakao-moment-mcp'

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