{"at":"2026-11-23T03:21:40.843Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:21:41.481Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T03:21:41.582Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T03:21:42.228Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{},"resources":{},"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"ai-hr-management-toolkit","version":"3.0.0"}}}}
{"at":"2026-11-23T03:21:42.228Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:21:42.228Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:21:42.229Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Parse Resume"},"description":"Parse a resume file (PDF, DOCX, TXT, MD) or URL and extract text with algorithmic pre-analysis including keyword extraction, metrics detection, section identification, and experience estimation.","inputSchema":{"properties":{"content":{"description":"Base64-encoded file content, or a URL string when fileType is 'url'","type":"string"},"fileType":{"description":"File type: pdf, docx, txt, md, or url","enum":["pdf","docx","txt","md","url"],"type":"string"}},"required":["content","fileType"],"type":"object"},"name":"parse_resume"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Inspect Pipeline"},"description":"Run the full 5-node atomic deconstruction pipeline (Ingestion → Sanitization → Tokenization → Classification → Serialization) on resume text. Returns stage-by-stage metrics, confidence scores, entity classification with disambiguation, data quality assessment, and assumption audit. Use this to understand HOW the parser processes a resume and WHERE confidence is low.","inputSchema":{"properties":{"resumeText":{"description":"The raw text content of a resume","type":"string"}},"required":["resumeText"],"type":"object"},"name":"inspect_pipeline"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Extract Keywords"},"description":"Extract keywords from resume text using TF-IDF analysis, then overlay entity classification (NER) and skill categorization. Returns ranked keywords enriched with entity type, skill category, and confidence scores. No AI calls — all computation is algorithmic.","inputSchema":{"properties":{"resumeText":{"description":"The raw text content of a resume","type":"string"},"topN":{"description":"Number of top keywords to return (default: 40)","type":"number"}},"required":["resumeText"],"type":"object"},"name":"extract_keywords"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Detect Patterns"},"description":"Detect and structure date ranges, metrics, sections, and work experience from resume text. Returns structured experience entries with titles, organizations, technologies, and achievements extracted algorithmically using NER, date patterns, and TF-IDF. Also detects career progression trajectory. No AI calls.","inputSchema":{"properties":{"resumeText":{"description":"The raw text content of a resume","type":"string"}},"required":["resumeText"],"type":"object"},"name":"detect_patterns"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Compute Similarity"},"description":"Compare a resume against a job description using cosine similarity, Jaccard index, TF-IDF overlap, and skill matching. Returns a computed fit tier (strong/moderate/weak/poor), per-skill gap analysis with categories, and actionable gap recommendations. No AI calls — all scoring is algorithmic.","inputSchema":{"properties":{"jobDescription":{"description":"The job description to match against","type":"string"},"resumeText":{"description":"The raw text content of a resume","type":"string"}},"required":["resumeText","jobDescription"],"type":"object"},"name":"compute_similarity"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Classify Entities"},"description":"Run Named Entity Recognition on resume text. Extracts 12 entity types (PERSON, ORGANIZATION, DATE, SKILL, LOCATION, EMAIL, PHONE, URL, EDUCATION_DEGREE, CERTIFICATION, JOB_TITLE, METRIC) with per-entity confidence scores (0-1) and domain-aware disambiguation (e.g., Java the language vs Java the island). Returns classified entities grouped by type, confidence statistics, and ambiguity analysis. 100% algorithmic — no AI calls needed.","inputSchema":{"properties":{"entityTypes":{"description":"Filter to specific entity types (e.g., ['SKILL', 'JOB_TITLE']). Default: all types.","items":{"type":"string"},"type":"array"},"minConfidence":{"description":"Minimum confidence threshold (0-1) to include an entity. Default: 0 (all entities).","type":"number"},"resumeText":{"description":"The raw text content of a resume","type":"string"}},"required":["resumeText"],"type":"object"},"name":"classify_entities"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Extract Skills (Structured)"},"description":"Extract and categorize skills from resume text using algorithmic analysis only (no AI). Combines NER entity classification (with disambiguation), TF-IDF keyword ranking, section detection, and frequency-based proficiency estimation. Returns skills organized by 13 categories (programming_language, framework, database, devops_cloud, ml_ai, design, methodology, tool, soft_skill, testing, security, web_frontend, mobile, other) with estimated proficiency levels and supporting evidence. Far more structured than extract_keywords — use this when you need categorized, proficiency-rated skill output.","inputSchema":{"properties":{"requiredSkills":{"description":"Optional list of skills to specifically check for (returns match/miss status for each)","items":{"type":"string"},"type":"array"},"resumeText":{"description":"The raw text content of a resume","type":"string"}},"required":["resumeText"],"type":"object"},"name":"extract_skills_structured"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Extract Experience (Structured)"},"description":"Extract and structure work experience from resume text using algorithmic analysis only (no AI). Uses date range detection, metric extraction, NER entity classification (job titles, organizations, skills), and heuristic block splitting to produce structured experience entries. Each entry includes detected title, organization, date range, duration estimate, associated metrics/achievements, and technologies. Returns structured data plus overall career statistics.","inputSchema":{"properties":{"resumeText":{"description":"The raw text content of a resume","type":"string"}},"required":["resumeText"],"type":"object"},"name":"extract_experience_structured"},{"annotations":{"openWorldHint":true,"readOnlyHint":true,"title":"Analyze Resume (Comprehensive)"},"description":"Run a comprehensive algorithmic analysis on a resume in a single call. Accepts raw text or a file (base64-encoded PDF/DOCX/TXT/MD or URL). Runs the full 5-node pipeline (Ingestion → Sanitization → Tokenization → Classification → Serialization) and returns: pipeline confidence scores, classified entities by type, categorized skills with proficiency estimates, structured experience timeline, career analysis, contact info, metrics/achievements, section quality assessment, and data quality scores. Optionally matches against a job description. This is a one-call alternative to chaining parse_resume + inspect_pipeline + classify_entities + extract_skills_structured + extract_experience_structured + compute_similarity.","inputSchema":{"properties":{"content":{"description":"Base64-encoded file content or URL. Use with fileType. Ignored if resumeText is provided.","type":"string"},"fileType":{"description":"File type when using content parameter","enum":["pdf","docx","txt","md","url"],"type":"string"},"jobDescription":{"description":"Optional job description to compute similarity and skill gap analysis","type":"string"},"requiredSkills":{"description":"Optional required skills to check against","items":{"type":"string"},"type":"array"},"resumeText":{"description":"Raw resume text. Provide either resumeText OR (content + fileType), not both.","type":"string"}},"required":[],"type":"object"},"name":"analyze_resume_comprehensive"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Batch Parse Resumes"},"description":"Parse multiple resume files at once and run the full algorithmic pipeline on each. Returns raw text, pipeline analysis, keywords, entities, and confidence scores for each file. The LLM client should interpret and structure the results.","inputSchema":{"properties":{"files":{"description":"Array of files to parse","items":{"properties":{"content":{"description":"Base64-encoded file content","type":"string"},"fileType":{"description":"File type","enum":["pdf","docx","txt","md"],"type":"string"},"name":{"description":"File name","type":"string"}},"required":["name","content","fileType"],"type":"object"},"type":"array"}},"required":["files"],"type":"object"},"name":"batch_parse_resumes"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"Export Results"},"description":"Export parsed resume results to a specified format (JSON or CSV text). Accepts an array of structured resume results and returns formatted output.","inputSchema":{"properties":{"format":{"description":"Export format: json or csv","enum":["json","csv"],"type":"string"},"results":{"description":"Array of parsed resume results with fileName and structured data","items":{"properties":{"fileName":{"type":"string"},"structured":{"type":"object"}},"required":["fileName","structured"],"type":"object"},"type":"array"}},"required":["results","format"],"type":"object"},"name":"export_results"},{"annotations":{"destructiveHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"Send Email"},"description":"Send parsed resume results via email using SMTP. Requires SMTP configuration (host, port, user, pass) and recipient email. Sends an HTML summary of all results.","inputSchema":{"properties":{"results":{"description":"Array of resume results to include","items":{"properties":{"fileName":{"type":"string"},"structured":{"type":"object"}},"type":"object"},"type":"array"},"smtpHost":{"description":"SMTP server host","type":"string"},"smtpPass":{"description":"SMTP password or app password","type":"string"},"smtpPort":{"description":"SMTP server port (default: 587)","type":"number"},"smtpSecure":{"description":"Use TLS (default: false)","type":"boolean"},"smtpUser":{"description":"SMTP username/email","type":"string"},"subject":{"description":"Email subject (optional)","type":"string"},"to":{"description":"Recipient email address","type":"string"}},"required":["to","smtpHost","smtpUser","smtpPass","results"],"type":"object"},"name":"send_email"},{"annotations":{"openWorldHint":true,"readOnlyHint":true,"title":"Assess Candidate"},"description":"Assess a resume against recruiter-defined criteria. Supports 8 criteria axes: Education, Experience, Skills, Certifications, Knowledge Stack, Competitions, Thresholds, and Job Qualification. Returns per-axis scores, weighted overall score, and a pass/review/reject decision.","inputSchema":{"properties":{"apiKey":{"description":"API key for the AI provider","type":"string"},"content":{"description":"Base64-encoded file content, or URL string when fileType is 'url', or plain resume text when fileType is 'txt'","type":"string"},"criteria":{"description":"Assessment criteria object. Structure:\n{\n  name: string,\n  education: { enabled, weight, minimumDegreeLevel, preferredFields, targetUniversities, acceptAnyAccredited },\n  experience: { enabled, weight, minimumYears, preferredYearsRange, requiredIndustries, preferredCompanies, requiredJobTitles },\n  skills: { enabled, weight, requiredSkills: [{name, required, minimumProficiency}], niceToHaveSkills, minimumSkillMatchPercent },\n  certifications: { enabled, weight, requiredCertifications, preferredCertifications },\n  knowledgeStack: { enabled, weight, requiredLanguages, requiredFrameworks, requiredTools, requiredDatabases, requiredPlatforms },\n  competitions: { enabled, weight, valuedCompetitions, requirePublications, requirePatents, requireOpenSource },\n  thresholds: { autoPassPercent, reviewRangePercent, autoRejectBelowPercent },\n  jobQualification: { enabled, weight, jobDescription, companyCultureKeywords, softSkillsRequired, leadershipRequired }\n}","type":"object"},"fileType":{"description":"File type","enum":["pdf","docx","txt","md","url"],"type":"string"},"model":{"description":"Model name","type":"string"},"provider":{"description":"AI provider (openai, anthropic, google, deepseek, etc.)","type":"string"}},"required":["content","fileType","criteria"],"type":"object"},"name":"assess_candidate"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Manage Candidates"},"description":"Manage and analyze candidates: rank by fit, filter by criteria, recommend pipeline stage changes, compare candidates side-by-side, or get a summary. Operates on candidate data passed in — does not access browser storage.","inputSchema":{"properties":{"action":{"description":"Action: rank (sort by fit), filter (by criteria), recommend_stage (suggest stage moves), compare (side-by-side), summarize (overview stats)","enum":["rank","filter","recommend_stage","compare","summarize"],"type":"string"},"candidates":{"description":"Array of candidate objects with id, firstName, lastName, email, currentStage, tags, resumeData, assessmentResult","items":{"type":"object"},"type":"array"},"criteria":{"description":"Filter/rank criteria: requiredSkills, minimumRating, stages, tags, sortBy, limit","type":"object"},"jobDescription":{"description":"Optional job description for relevance ranking","type":"string"}},"required":["action","candidates"],"type":"object"},"name":"manage_candidates"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"ATS: Manage Candidates"},"description":"Manage candidates in the ATS pipeline. Supports add, update, delete, move between stages, bulk move, and list/filter operations. Pass the current candidates record and an action to perform. Returns the updated candidates and a summary.","inputSchema":{"properties":{"action":{"description":"Action to perform. Types:\n- { type: \"add\", candidate: { firstName, lastName, email, phone?, jobId, currentStage?, tags?, source? } }\n- { type: \"update\", candidateId: string, fields: { partial candidate fields } }\n- { type: \"delete\", candidateId: string }\n- { type: \"move\", move: { candidateId, newStage } }\n- { type: \"bulk_move\", moves: [{ candidateId, newStage }, ...] }\n- { type: \"list\", jobId?: string, stage?: string }","type":"object"},"candidates":{"description":"Current candidates record (id → candidate object). Pass {} for a fresh start.","type":"object"}},"required":["candidates","action"],"type":"object"},"name":"ats_manage_candidates"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"ATS: Pipeline Analytics"},"description":"Analyze the ATS hiring pipeline. Given candidates and optional pipeline stage config, returns stage distribution, conversion rates between stages, average time-in-stage, and bottleneck identification. Useful for hiring funnel analysis.","inputSchema":{"properties":{"candidates":{"description":"Array of candidate objects, each with id, currentStage, jobId, createdAt, updatedAt, and optionally activities[].","type":"array"},"jobId":{"description":"Optional: filter analytics to a specific job ID.","type":"string"},"stageOrder":{"description":"Ordered array of stage names. Defaults to: [\"applied\",\"screening\",\"phone-screen\",\"interview\",\"final-round\",\"offer\",\"hired\",\"rejected\"]","type":"array"}},"required":["candidates"],"type":"object"},"name":"ats_pipeline_analytics"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"ATS: Schedule Interview"},"description":"Full CRUD for interviews. Actions: create (validate & schedule with conflict detection), update (reschedule/modify), delete (permanent removal), list (filter by candidateId/jobId/status), get (single interview by id). Pass existing interviews record for conflict checks.","inputSchema":{"properties":{"action":{"description":"Action to perform:\n- { type: \"create\", interview: { candidateId, candidateName, jobId, jobTitle, type, scheduledDate, durationMinutes, interviewers, location?, meetingLink?, notes? } }\n- { type: \"update\", interviewId, updates: { partial interview fields } }\n- { type: \"delete\", interviewId }\n- { type: \"list\", filters?: { candidateId?, jobId?, status? } }\n- { type: \"get\", interviewId }","type":"object"},"existingInterviews":{"description":"Current interviews record: Record<id, interviewObject>. Pass {} for fresh start.","type":"object"}},"required":["action"],"type":"object"},"name":"ats_schedule_interview"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"ATS: Manage Offers"},"description":"Manage offers in the ATS. Actions: create (validate & structure), update_status (draft→pending-approval→approved→sent→accepted/declined), delete (remove offer), list (all offers with optional filters), compare (side-by-side offer comparison), validate (check for issues). Returns structured offer data.","inputSchema":{"properties":{"action":{"description":"Action to perform:\n- { type: \"create\", offer: { candidateId, candidateName, jobId, jobTitle, salary: { base, currency, period, bonus?, equity? }, benefits?, startDate, expirationDate, notes? } }\n- { type: \"update_status\", offerId, newStatus: \"pending-approval\"|\"approved\"|\"sent\"|\"accepted\"|\"declined\"|\"withdrawn\"|\"negotiating\", comment? }\n- { type: \"delete\", offerId }\n- { type: \"list\", filters?: { candidateId?, jobId?, status? } }\n- { type: \"compare\", offers: [existing offer objects] }\n- { type: \"validate\", offer: { same as create } }","type":"object"},"existingOffers":{"description":"Current offers record (id → offer object). Pass {} for a fresh start.","type":"object"}},"required":["action"],"type":"object"},"name":"ats_manage_offers"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"ATS: Dashboard Stats"},"description":"Generate comprehensive ATS dashboard statistics and hiring health report. Provide the full ATS state (candidates, jobs, interviews, offers). Returns key metrics, pipeline health, hiring velocity, and actionable insights.","inputSchema":{"properties":{"state":{"description":"ATS state object with candidates, jobs, interviews, and offers records (each keyed by ID).","type":"object"}},"required":["state"],"type":"object"},"name":"ats_dashboard_stats"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"ATS: Generate Demo Data"},"description":"Generate a full set of realistic demo data for the ATS (Applicant Tracking System). Returns a complete ATSState with sample jobs, candidates at various pipeline stages, scheduled interviews, and offers. Useful for testing, demonstrations, or populating an empty ATS instance.","inputSchema":{"properties":{"includeStats":{"description":"If true, include summary statistics alongside the generated data. Default: false.","type":"boolean"}},"required":[],"type":"object"},"name":"ats_generate_demo_data"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"ATS: Manage Jobs"},"description":"Manage job postings in the ATS. Actions: create (new job posting), update (edit fields), delete, list (with optional status/department filter), search (by keyword in title/description), close, reopen. Pass current jobs record and an action.","inputSchema":{"properties":{"action":{"description":"Action to perform. Must include \"type\" field: \"create\" | \"update\" | \"delete\" | \"list\" | \"search\" | \"close\" | \"reopen\". See tool description for per-action fields.","type":"object"},"jobs":{"description":"Current jobs record: Record<id, jobObject>. Pass {} for empty.","type":"object"}},"required":["jobs","action"],"type":"object"},"name":"ats_manage_jobs"},{"annotations":{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"ATS: Manage Notes"},"description":"Manage candidate notes in the ATS. Actions: add (create note on candidate), update (edit note content), list (get all notes for a candidate), delete (remove a note), search (find notes by keyword across one or all candidates), bulk_add (add notes to multiple candidates). Pass the current candidates record.","inputSchema":{"properties":{"action":{"description":"Action to perform. \"type\": \"add\" | \"update\" | \"list\" | \"delete\" | \"search\" | \"bulk_add\".","type":"object"},"candidates":{"description":"Current candidates record: Record<id, candidateObject>.","type":"object"}},"required":["candidates","action"],"type":"object"},"name":"ats_manage_notes"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"ATS: Interview Feedback"},"description":"Manage interview feedback in the ATS. Actions: submit (add feedback to completed interview), get (retrieve feedback for an interview), update (modify existing feedback), list_pending (interviews awaiting feedback), list_completed (interviews with feedback, optionally filtered by candidate), analyze (aggregate feedback for a candidate across all interviews), summary (hiring signal summary for a job or all jobs).","inputSchema":{"properties":{"action":{"description":"Action to perform. \"type\": \"submit\" | \"get\" | \"update\" | \"list_pending\" | \"list_completed\" | \"analyze\" | \"summary\".","type":"object"},"interviews":{"description":"Current interviews record: Record<id, interviewObject>.","type":"object"}},"required":["interviews","action"],"type":"object"},"name":"ats_interview_feedback"},{"annotations":{"openWorldHint":false,"readOnlyHint":true,"title":"ATS: Search"},"description":"Global search across the ATS. Actions: search (keyword search across candidates, jobs, interviews, offers — scoped optionally), filter_candidates (structured filter by stage/job/tags/score), get_entity (retrieve a single entity by type+id). Pass the full ATS state.","inputSchema":{"properties":{"action":{"description":"Action: \"search\" (query, scope?, limit?), \"filter_candidates\" (filters: {stage?, jobId?, tags?, minScore?}), \"get_entity\" (entityType, entityId).","type":"object"},"state":{"description":"Full ATS state: { candidates: Record<id, obj>, jobs: Record<id, obj>, interviews: Record<id, obj>, offers: Record<id, obj> }","type":"object"}},"required":["state","action"],"type":"object"},"name":"ats_search"}]}}}
