Skip to main content
Glama

get_application

Retrieve details of a specific job application by ID, optionally including the full job listing with description, salary, and required skills.

Instructions

Get details of a specific job application by ID. Optionally include the full job listing (description, salary, skills, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe application ID
includeJobListingNoIf true, includes the full job listing details (description, salary, experience level, skills) in the response

Implementation Reference

  • The handler function for the 'get_application' tool, which calls the client's getApplication method and formats the result.
    async (args) => {
      const application = await client.getApplication(args.id, { includeJobListing: args.includeJobListing });
      const formatted = formatApplication(application);
      if (args.includeJobListing) {
        const raw = application as unknown as Record<string, unknown>;
        if (raw.jobListing) { formatted.jobListing = raw.jobListing; }
      }
      return { content: [{ type: 'text' as const, text: JSON.stringify(formatted, null, 2) }] };
    }
  • The registration of the 'get_application' tool using the McpServer instance.
    server.tool(
      'get_application',
      'Get details of a specific job application by ID. Optionally include the full job listing (description, salary, skills, etc.).',
      {
        id: z.string().describe('The application ID'),
        includeJobListing: z.boolean().optional().describe('If true, includes the full job listing details (description, salary, experience level, skills) in the response'),
      },
      async (args) => {
        const application = await client.getApplication(args.id, { includeJobListing: args.includeJobListing });
        const formatted = formatApplication(application);
        if (args.includeJobListing) {
          const raw = application as unknown as Record<string, unknown>;
          if (raw.jobListing) { formatted.jobListing = raw.jobListing; }
        }
        return { content: [{ type: 'text' as const, text: JSON.stringify(formatted, null, 2) }] };
      }
    );

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