Skip to main content
Glama
yarmijosp94

Evaluar MCP Server

by yarmijosp94

company_list

Retrieve available companies for authenticated users to select and manage recruitment processes on the Evaluar platform.

Instructions

List all companies available for the authenticated user. Must be logged in first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the company_list tool logic, fetching and returning a list of companies.
    export async function handleCompanyList(): Promise<string> {
      if (!isAuthenticated()) {
        return JSON.stringify({
          success: false,
          error: "Not authenticated. Please login first using auth_login.",
        });
      }
    
      try {
        const companies = await getCompanies();
        return JSON.stringify({
          success: true,
          companies: companies.map(c => ({
            id: c.id,
            name: c.companyName,
            country: c.countryName,
          })),
          count: companies.length,
        });
      } catch (error) {
        return JSON.stringify({
          success: false,
          error: error instanceof Error ? error.message : "Unknown error",
        });
      }
    }
  • The tool definition and schema for company_list.
    export const companyListTool = {
      name: "company_list",
      description: "List all companies available for the authenticated user. Must be logged in first.",
      inputSchema: {
        type: "object" as const,
        properties: {},
        required: [],
      },
    };

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