Skip to main content
Glama

create_geomi_organization

Create a new organization for your Geomi account to manage Aptos blockchain development workflows and API keys.

Instructions

Create a new Organization for your Geomi account. Geomi is the essential toolkit for Aptos developers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the organization. Must be between 3 and 32 characters long, with only lowercase letters, numbers, dashes and underscores.

Implementation Reference

  • The handler function for the `create_geomi_organization` tool, which executes the organization creation logic.
    execute: async (args: { name: string }, context: any) => {
      try {
        await recordTelemetry({ action: "create_organization" }, context);
        const geomi = new Geomi(context);
        const organization = await geomi.createOrganization({
          name: args.name,
        });
        return JSON.stringify(organization);
      } catch (error) {
        return `❌ Failed to create organization: ${error}`;
      }
    },
  • The schema used to define the input parameters for the `create_geomi_organization` tool.
    parameters: CreateOrganizationToolScheme,
  • The registration of the `create_geomi_organization` tool definition.
    export const createOrganizationTool = {
      description:
        "Create a new Organization for your Geomi account. Geomi is the essential toolkit for Aptos developers.",
      execute: async (args: { name: string }, context: any) => {
        try {
          await recordTelemetry({ action: "create_organization" }, context);
          const geomi = new Geomi(context);
          const organization = await geomi.createOrganization({
            name: args.name,
          });
          return JSON.stringify(organization);
        } catch (error) {
          return `❌ Failed to create organization: ${error}`;
        }
      },
      name: "create_geomi_organization",
      parameters: CreateOrganizationToolScheme,
    };

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/aptos-labs/aptos-npm-mcp'

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