Skip to main content
Glama
Ritesh-sudo
by Ritesh-sudo

search_ai_ml_jobs

Find AI and machine learning jobs and internships by location and keywords across multiple job platforms.

Instructions

Search for AI/ML internships and full-time roles across multiple job sites

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locationNoJob location (e.g., "Remote", "San Francisco, CA", "New York, NY")Remote
maxResultsNoMaximum number of results to return
includeInternshipsNoInclude internship positions
includeFullTimeNoInclude full-time positions
keywordsNoAdditional keywords to search for (e.g., ["machine learning", "deep learning", "NLP"])

Implementation Reference

  • The primary handler function for the 'search_ai_ml_jobs' tool. It extracts parameters from args, creates a JobFilter tailored for entry-level AI/ML jobs requiring Python, calls JobSearchService.searchAllSites, and returns the results as JSON text.
    private async searchAIMLJobs(args: any) { const { location = 'Remote', maxResults = 50, includeInternships = true, includeFullTime = true, keywords = [] } = args; const filter: JobFilter = { location, maxResults, includeInternships, includeFullTime, keywords, experienceLevel: 'entry', // Less than 1 year requiredSkills: ['python'], jobTypes: ['ai', 'ml', 'machine learning', 'artificial intelligence', 'data science'] }; const results = await this.jobSearchService.searchAllSites(filter); return { content: [ { type: 'text', text: JSON.stringify(results, null, 2) } ] }; }
  • JSON schema defining the input parameters for the 'search_ai_ml_jobs' tool, including location, maxResults, includeInternships, includeFullTime, and keywords.
    inputSchema: { type: 'object', properties: { location: { type: 'string', description: 'Job location (e.g., "Remote", "San Francisco, CA", "New York, NY")', default: 'Remote' }, maxResults: { type: 'number', description: 'Maximum number of results to return', default: 50 }, includeInternships: { type: 'boolean', description: 'Include internship positions', default: true }, includeFullTime: { type: 'boolean', description: 'Include full-time positions', default: true }, keywords: { type: 'array', items: { type: 'string' }, description: 'Additional keywords to search for (e.g., ["machine learning", "deep learning", "NLP"])', default: [] } }, required: [] }
  • src/index.ts:37-73 (registration)
    Registration of the 'search_ai_ml_jobs' tool in the tools list returned by ListToolsRequestSchema handler, including name, description, and input schema.
    { name: 'search_ai_ml_jobs', description: 'Search for AI/ML internships and full-time roles across multiple job sites', inputSchema: { type: 'object', properties: { location: { type: 'string', description: 'Job location (e.g., "Remote", "San Francisco, CA", "New York, NY")', default: 'Remote' }, maxResults: { type: 'number', description: 'Maximum number of results to return', default: 50 }, includeInternships: { type: 'boolean', description: 'Include internship positions', default: true }, includeFullTime: { type: 'boolean', description: 'Include full-time positions', default: true }, keywords: { type: 'array', items: { type: 'string' }, description: 'Additional keywords to search for (e.g., ["machine learning", "deep learning", "NLP"])', default: [] } }, required: [] } }, {
  • Helper method in JobSearchService that performs parallel searches across all configured job scrapers (LinkedIn, Indeed, etc.) using the provided filter, aggregates results, and returns a comprehensive JobSearchResponse.
    async searchAllSites(filter: JobFilter): Promise<JobSearchResponse> { const startTime = Date.now(); const results: JobSearchResult[] = []; // Search all sites in parallel const searchPromises = Array.from(this.scrapers.keys()).map(async (site) => { try { const result = await this.searchSite(site, filter); return result; } catch (error) { return { site, jobs: [], totalFound: 0, searchTime: 0, error: error instanceof Error ? error.message : 'Unknown error' }; } }); const searchResults = await Promise.all(searchPromises); results.push(...searchResults); const totalJobs = results.reduce((sum, result) => sum + result.jobs.length, 0); return { results, totalJobs, searchTimestamp: new Date().toISOString(), filters: filter }; }

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/Ritesh-sudo/MCPJobSearch'

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