Skip to main content
Glama

create_geomi_api_resource_application

Create API resource applications for Aptos blockchain interactions within Geomi organizations to generate API keys for development workflows.

Instructions

Create a new Application for your Geomi Organization. Geomi is the essential toolkit for Aptos developers. This tool can be used to create an API resource application to then create api keys for general Aptos blockchain interactions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionNoThe description of the application.
nameYesThe name of the application. Must be between 3 and 32 characters long, with only lowercase letters, numbers, dashes and underscores.
networkYesThe network to create the application for. Can be devnet, testnet or mainnet.
organization_idYesThe organization id to create the application for.
project_idYesThe project id to create the application for.

Implementation Reference

  • The handler implementation for the "create_geomi_api_resource_application" tool.
    export const createApiResourceApplicationTool = {
      description:
        "Create a new Application for your Geomi Organization. Geomi is the essential toolkit for Aptos developers. This tool can be used to create an API resource application to then create api keys for general Aptos blockchain interactions.",
      execute: async (
        args: {
          description?: string;
          name: string;
          network: string;
          organization_id: string;
          project_id: string;
        },
        context: any
      ) => {
        try {
          await recordTelemetry(
            { action: "create_api_resource_application" },
            context
          );
          const geomi = new Geomi(context);
          const application = await geomi.createApplication({
            args: {
              description: args.description ?? null,
              name: args.name,
              network: args.network,
              service_type: "Api",
            },
            organization_id: args.organization_id,
            project_id: args.project_id,
          });
          return JSON.stringify(application);
        } catch (error) {
          return `❌ Failed to create application: ${error}`;
        }
      },
      name: "create_geomi_api_resource_application",
      parameters: CreateApiResourceApplicationToolScheme,
    };

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