Skip to main content
Glama
yarmijosp94

Evaluar MCP Server

by yarmijosp94

process_create

Create a new eTalent recruitment process in DRAFT status on the Evaluar platform. Returns the process ID for subsequent operations like assignments and management.

Instructions

Create a new eTalent process in DRAFT status. Returns the process ID for subsequent operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for the process (e.g., 'Proceso eTalent - Asesor Ventas')
languageNoLanguage code (default: 'es')es
timeZoneNoTime zone (default: 'America/Bogota')America/Bogota

Implementation Reference

  • The main handler function for the 'process_create' tool, which performs authentication check, prepares payload, calls the API client, and returns a JSON-encoded status message.
    export async function handleProcessCreate(args: { name: string; language?: string; timeZone?: string }): Promise<string> {
      if (!isAuthenticated()) {
        return JSON.stringify({
          success: false,
          error: "Not authenticated. Please login first using auth_login.",
        });
      }
    
      try {
        const payload: CreateProcessPayload = {
          name: args.name,
          type: "etalent",
          language: args.language || "es",
          timeZone: args.timeZone || "America/Bogota",
        };
    
        const process = await createProcess(payload);
        return JSON.stringify({
          success: true,
          processId: process.id,
          name: process.name,
          status: process.status,
          message: "Process created in DRAFT status. Use process_assign_position to link a position.",
        });
      } catch (error) {
        return JSON.stringify({
          success: false,
          error: error instanceof Error ? error.message : "Unknown error",
        });
      }
    }
  • The tool definition and input schema for 'process_create', defining the expected name, optional parameters, and descriptions.
    export const processCreateTool = {
      name: "process_create",
      description: "Create a new eTalent process in DRAFT status. Returns the process ID for subsequent operations.",
      inputSchema: {
        type: "object" as const,
        properties: {
          name: {
            type: "string",
            description: "Name for the process (e.g., 'Proceso eTalent - Asesor Ventas')",
          },
          language: {
            type: "string",
            description: "Language code (default: 'es')",
            default: "es",
          },
          timeZone: {
            type: "string",
            description: "Time zone (default: 'America/Bogota')",
            default: "America/Bogota",
          },
        },
        required: ["name"],
      },
    };

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/yarmijosp94/evaluar-mcp'

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