Skip to main content
Glama

get_company

Retrieve comprehensive Swiss company details using its ZEFIX internal ID. Find the ID through company search to access official registration information.

Instructions

Get full details of a Swiss company by its ZEFIX internal ID (ehraid). Use search_companies first to find the ehraid — it is returned in company search results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ehraidYesCompany internal ZEFIX ID (ehraid integer, e.g. 119283). Returned by search_companies.

Implementation Reference

  • Handler logic for "get_company" tool that fetches company details using the ehraid.
    case "get_company": {
      // ZEFIX firm/{id}.json uses the internal ehraid integer (not CHE uid)
      const ehraid = args.ehraid as number;
      const url = `${BASE}/firm/${ehraid}.json`;
      const data = await fetchJSON<unknown>(url);
      return JSON.stringify(data, null, 2);
    }
  • Registration and input schema definition for "get_company" tool.
    {
      name: "get_company",
      description: "Get full details of a Swiss company by its ZEFIX internal ID (ehraid). Use search_companies first to find the ehraid — it is returned in company search results.",
      inputSchema: {
        type: "object",
        required: ["ehraid"],
        properties: {
          ehraid: { type: "number", description: "Company internal ZEFIX ID (ehraid integer, e.g. 119283). Returned by search_companies." },
        },
      },
    },

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

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/vikramgorla/mcp-swiss'

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