Skip to main content
Glama

update_profile

Modify user profile details like name, headline, location, skills, and experience to enhance job search and application processes.

Instructions

Update your user profile fields

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNameNoYour full name
headlineNoProfessional headline (e.g., "Senior Software Engineer at Google")
locationNoYour location (e.g., "San Francisco, CA")
skillsNoList of skills (e.g., ["Python", "JavaScript", "AWS"])
experienceNoYears of experience

Implementation Reference

  • The 'update_profile' tool registration and handler logic.
    server.tool(
      'update_profile',
      'Update your user profile fields',
      {
        fullName: z.string().optional().describe('Your full name'),
        headline: z.string().optional().describe('Professional headline (e.g., "Senior Software Engineer at Google")'),
        location: z.string().optional().describe('Your location (e.g., "San Francisco, CA")'),
        skills: z.array(z.string()).optional().describe('List of skills (e.g., ["Python", "JavaScript", "AWS"])'),
        experience: z.number().optional().describe('Years of experience'),
      },
      async (args) => {
        const updateData: Record<string, unknown> = {};
        if (args.fullName !== undefined) { updateData.fullName = args.fullName; }
        if (args.headline !== undefined) { updateData.headline = args.headline; }
        if (args.location !== undefined) { updateData.location = args.location; }
        if (args.skills !== undefined) { updateData.skills = args.skills; }
        if (args.experience !== undefined) { updateData.experience = args.experience; }
    
        if (Object.keys(updateData).length === 0) {
          return { content: [{ type: 'text' as const, text: JSON.stringify({ message: 'No fields provided to update' }, null, 2) }] };
        }
    
        await client.updateProfile(updateData);
        return { content: [{ type: 'text' as const, text: JSON.stringify({ message: 'Profile updated successfully', updatedFields: Object.keys(updateData) }, 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