Skip to main content
Glama

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
NameRequiredDescriptionDefault
jobIdYesThe job ID to find referrers for
limitNoMaximum number of referrers to return (default: 2, max: 2)

Implementation Reference

  • 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) }] };
    }
  • 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) }] };
      }
    );
  • 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 });
    }

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/6figr-com/job-gpt-mcp-server'

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