Skip to main content
Glama
yarmijosp94

Evaluar MCP Server

by yarmijosp94

process_assign_position

Associate a position with an existing eTalent recruitment process on the Evaluar platform using position, agency, and department IDs.

Instructions

Associate a position with an existing eTalent process. Get position details from position_search first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
processIdYesThe ID of the process (from process_create)
positionIdYesThe ID of the position (from position_search)
agencyIdYesThe agency ID (from position_search)
departmentIdYesThe department ID (from position_search)

Implementation Reference

  • The handler function for the process_assign_position tool, which authenticates the request and calls the API to assign the position.
    export async function handleProcessAssignPosition(args: AssignPositionPayload): Promise<string> {
      if (!isAuthenticated()) {
        return JSON.stringify({
          success: false,
          error: "Not authenticated. Please login first using auth_login.",
        });
      }
    
      try {
        await assignPositionToProcess(args);
        return JSON.stringify({
          success: true,
          message: "Position assigned to process successfully. Use process_launch to start the process.",
          processId: args.processId,
          positionId: args.positionId,
        });
      } catch (error) {
        return JSON.stringify({
          success: false,
          error: error instanceof Error ? error.message : "Unknown error",
        });
      }
    }
  • The tool schema definition for process_assign_position.
    export const processAssignPositionTool = {
      name: "process_assign_position",
      description: "Associate a position with an existing eTalent process. Get position details from position_search first.",
      inputSchema: {
        type: "object" as const,
        properties: {
          processId: {
            type: "string",
            description: "The ID of the process (from process_create)",
          },
          positionId: {
            type: "string",
            description: "The ID of the position (from position_search)",
          },
          agencyId: {
            type: "string",
            description: "The agency ID (from position_search)",
          },
          departmentId: {
            type: "string",
            description: "The department ID (from position_search)",
          },
        },
        required: ["processId", "positionId", "agencyId", "departmentId"],
      },
    };

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