get_application_referrers
Identify potential referrers at a company for a specific job application to help secure employee referrals.
Instructions
Find potential referrers for a job application. Returns people at the company who might refer you.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| applicationId | Yes | The job application ID | |
| limit | No | Maximum number of referrers to return (default: 2, max: 2) |
Implementation Reference
- src/tools/outreach.ts:50-53 (handler)The handler function that executes the `get_application_referrers` tool, which calls the `client.getApplicationReferrers` method.
async (args) => { const result = await client.getApplicationReferrers(args.applicationId, 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:43-54 (registration)Registration of the `get_application_referrers` tool within the MCP server using `server.tool`.
server.tool( 'get_application_referrers', 'Find potential referrers for a job application. Returns people at the company who might refer you.', { applicationId: z.string().describe('The job application ID'), limit: z.number().optional().describe('Maximum number of referrers to return (default: 2, max: 2)'), }, async (args) => { const result = await client.getApplicationReferrers(args.applicationId, Math.min(args.limit || 2, 2)); return { content: [{ type: 'text' as const, text: JSON.stringify({ referrers: (result.contacts || []).map(formatContact) }, null, 2) }] }; } );