Skip to main content
Glama
leadbrain

korean-data-mcp

search_bunjang

Search Bunjang marketplace for secondhand items using keywords in Korean or English. Sort listings by recent or popular and control number of results (up to 100).

Instructions

Search Bunjang (번개장터) — Korea's largest C2C marketplace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYesSearch keyword in Korean or English
max_itemsNoMaximum number of listings to return (default 30, max 100)
sortNoSort order — 'recent' (최신순) or 'popular' (인기순)recent

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • Handler function for the 'search_bunjang' MCP tool. Runs the Bunjang marketplace scraper Apify actor with keyword, max_items, and sort parameters.
    @mcp.tool()
    async def search_bunjang(
        keyword: str,
        max_items: int = 30,
        sort: str = "recent",
    ) -> list[dict]:
        """
        Search Bunjang (번개장터) — Korea's largest C2C marketplace.
    
        Args:
            keyword: Search keyword in Korean or English
            max_items: Maximum number of listings to return (default 30, max 100)
            sort: Sort order — 'recent' (최신순) or 'popular' (인기순)
    
        Returns:
            List of listing objects with title, price, condition, seller, image, url fields.
        """
        max_items = min(max_items, 100)
        return await _run_actor(
            f"{APIFY_ACCOUNT}/bunjang-market-scraper",
            {"keyword": keyword, "maxItems": max_items, "sort": sort},
        )
  • Registration of 'search_bunjang' as an MCP tool via FastMCP's @mcp.tool() decorator.
    @mcp.tool()
  • Helper function that runs an Apify actor and returns dataset items. Used by search_bunjang to invoke the bunjang-market-scraper actor.
    async def _run_actor(actor_id: str, input_data: dict, timeout_secs: int = 60) -> list[dict]:
        """Run an Apify actor synchronously and return dataset items."""
        token = _get_token()
        url = f"{APIFY_BASE}/acts/{actor_id}/run-sync-get-dataset-items"
        params = {"token": token}
    
        async with httpx.AsyncClient(timeout=timeout_secs + 10) as client:
            resp = await client.post(url, json=input_data, params=params)
            resp.raise_for_status()
            return resp.json()
Behavior2/5

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

No annotations provided; the description only states the tool searches a marketplace. No disclosure of side effects, authentication needs, or rate limits. The read-only nature is implied but not explicit.

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?

A single sentence that is efficient and direct. No wasted words, though it could benefit from more structure or detail.

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

Completeness2/5

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

Despite having a complete input schema and output schema, the description lacks usage guidance and behavioral context. For a tool with siblings, it is insufficiently complete.

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 100%, so all parameters have descriptions. The tool description adds no additional semantic value beyond what the schema already provides, resulting in a baseline score.

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 searches Bunjang, Korea's largest C2C marketplace, with a specific verb and resource. Among siblings like search_daangn, it is distinguished by naming the exact platform.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus sibling search tools (search_daangn, search_naver_news, etc.). No explicit context for choosing this tool.

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/leadbrain/korean-data-mcp'

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