get_job_referrers
Find potential referrers within your network for a specific job opening to help secure a referral.
Instructions
Find potential referrers at a company for a specific job. Returns people who might be able to refer you based on your network and the job.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The job ID to find referrers for | |
| limit | No | Maximum number of referrers to return (default: 2, max: 2) |
Implementation Reference
- src/tools/outreach.ts:25-28 (handler)The handler logic for the get_job_referrers MCP tool, which calls the client's getJobReferrers method and formats the results.
async (args) => { const result = await client.getJobReferrers(args.jobId, Math.min(args.limit || 2, 2)); return { content: [{ type: 'text' as const, text: JSON.stringify({ referrers: (result.contacts || []).map(formatContact) }, null, 2) }] }; } - src/tools/outreach.ts:18-29 (registration)Registration block for the 'get_job_referrers' MCP tool.
server.tool( 'get_job_referrers', 'Find potential referrers at a company for a specific job. Returns people who might be able to refer you based on your network and the job.', { jobId: z.string().describe('The job ID to find referrers for'), limit: z.number().optional().describe('Maximum number of referrers to return (default: 2, max: 2)'), }, async (args) => { const result = await client.getJobReferrers(args.jobId, Math.min(args.limit || 2, 2)); return { content: [{ type: 'text' as const, text: JSON.stringify({ referrers: (result.contacts || []).map(formatContact) }, null, 2) }] }; } ); - src/api-client.ts:637-640 (helper)The underlying API client method implementation for fetching job referrers.
async getJobReferrers(jobId: string, limit = 2): Promise<ContactsResponse> { return this.get<ContactsResponse>(`/jobs/${jobId}/referrers`, { limit }); }