Skip to main content
Glama
isnow890

Naver Search MCP Server

datalab_shopping_by_gender

Analyze Naver Shopping trends by gender to identify consumer preferences. Input category, time range, and gender for detailed insights.

Instructions

Perform a trend analysis on Naver Shopping by gender. (네이버 쇼핑 성별 트렌드 분석)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYesCategory code
endDateYesEnd date (yyyy-mm-dd)
genderYesGender
startDateYesStart date (yyyy-mm-dd)
timeUnitYesTime unit

Implementation Reference

  • The core handler function that takes typed parameters (DatalabShoppingGender) and invokes the Naver client method to fetch shopping category trends by gender.
    export async function handleShoppingByGenderTrend(
      params: DatalabShoppingGender
    ) {
      return client.datalabShoppingByGender({
        startDate: params.startDate,
        endDate: params.endDate,
        timeUnit: params.timeUnit,
        category: params.category,
        gender: params.gender,
      });
    }
  • Zod schema defining the input parameters for the datalab_shopping_by_gender tool: startDate, endDate, timeUnit (inherited), category, and gender.
    export const DatalabShoppingGenderSchema = DatalabBaseSchema.extend({
      category: z.string().describe("Category code"),
      gender: z.enum(["f", "m"]).describe("Gender"),
    });
  • src/index.ts:320-337 (registration)
    MCP tool registration in the main server, specifying the tool name, description, input schema (derived from DatalabShoppingGenderSchema), and thin wrapper handler that delegates to datalabToolHandlers.
    "datalab_shopping_by_gender",
    {
      description:
        "👥 Analyze shopping trends by gender (Male vs Female). Use find_category first. BUSINESS CASES: Gender-targeted marketing, product positioning, demographic analysis. EXAMPLE: '화장품 쇼핑에서 남녀 비율은?' For current gender trends, use get_current_korean_time to set proper analysis period. (성별 쇼핑 트렌드 분석 - 먼저 find_category 도구로 카테고리 코드를 찾고, 현재 성별 트렌드 분석시 get_current_korean_time으로 적절한 분석 기간 설정)",
      inputSchema: DatalabShoppingGenderSchema.pick({
        startDate: true,
        endDate: true,
        timeUnit: true,
        category: true,
        gender: true,
      }).shape,
    },
    async (args) => {
      const result = await datalabToolHandlers.datalab_shopping_by_gender(args);
      return {
        content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
      };
    }
  • Client method that performs the actual HTTP POST request to Naver DataLab API endpoint for shopping trends by gender.
    async datalabShoppingByGender(
      params: DatalabShoppingGenderRequest
    ): Promise<DatalabShoppingResponse> {
      return this.post(`${this.datalabBaseUrl}/shopping/category/gender`, params);
    }
  • Entry in datalabToolHandlers map that logs the call and delegates to the specific handleShoppingByGenderTrend function.
    datalab_shopping_by_gender: (args) => {
      console.error("datalab_shopping_by_gender called with args:", JSON.stringify(args, null, 2));
      return handleShoppingByGenderTrend(args);
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'trend analysis' but doesn't specify what data is returned (e.g., time-series metrics, aggregated statistics), whether it's a read-only operation, any rate limits, or authentication requirements. For a data analysis tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

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?

The description is concise and front-loaded with the core purpose in the first sentence. The Korean translation adds minimal redundancy. However, it could be slightly more structured by explicitly mentioning the required parameters or output format.

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?

Given the tool's complexity (5 required parameters, no output schema, no annotations), the description is minimally adequate. It states the purpose but lacks details on behavioral traits, output format, and usage context. With no output schema, the agent doesn't know what data to expect, which is a significant gap for a trend analysis tool.

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 description coverage is 100%, with all parameters clearly documented in the schema (e.g., 'Category code', 'End date (yyyy-mm-dd)'). The description adds no additional parameter semantics beyond implying gender-based filtering. With high schema coverage, the baseline score of 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Perform a trend analysis on Naver Shopping by gender.' It specifies the verb ('perform trend analysis'), resource ('Naver Shopping'), and dimension ('by gender'). However, it doesn't explicitly differentiate from sibling tools like 'datalab_shopping_by_age' or 'datalab_shopping_by_device' beyond the gender focus.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'datalab_shopping_by_age' for age-based analysis or 'datalab_shopping_keyword_by_gender' for keyword-focused gender analysis. The agent must infer usage from the name and description alone.

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

Related 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/isnow890/naver-search-mcp'

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