Skip to main content
Glama
houtini-ai

YubHub MCP Server

by houtini-ai

get_experience_levels

Analyze job postings to identify experience level distribution, categorizing roles as entry, mid, senior, or other levels for career planning and hiring insights.

Instructions

Get experience level distribution (entry, mid, senior, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Main handler function that fetches experience level data from API, calculates percentages, and formats results as a markdown table
      private async getExperienceLevels() {
        const { data } = await this.apiClient.getExperienceLevels();
        const total = data.reduce((s, e) => s + e.count, 0);
        const rows = data.map(e => {
          const pct = total > 0 ? ((e.count / total) * 100).toFixed(1) : '0';
          return `| ${e.level} | ${e.count} | ${pct}% |`;
        }).join('\n');
        return {
          content: [{
            type: 'text',
            text: `**Experience Level Distribution**
    
    | Level | Count | % |
    |-------|-------|---|
    ${rows}`,
          }],
        };
      }
  • Type definition for experience level statistics with level name and count
    export interface ExperienceStat {
      level: string;
      count: number;
    }
  • src/index.ts:642-650 (registration)
    Tool registration defining the tool name, description, and empty input schema
    {
      name: 'get_experience_levels',
      description: 'Get experience level distribution (entry, mid, senior, etc.).',
      inputSchema: {
        type: 'object',
        properties: {},
        additionalProperties: false
      }
    }
  • API client helper method that makes HTTP request to /stats/experience-levels endpoint
    async getExperienceLevels(): Promise<{ data: ExperienceStat[] }> {
      return this.request('/stats/experience-levels');
    }

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/houtini-ai/yub-hub-mcp-server'

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