Skip to main content
Glama

update_geomi_api_key

Modify an existing Geomi API key's configuration, including access permissions and rate limits, for Aptos development workflows.

Instructions

Update an API Key for your Geomi Organization. Geomi is the essential toolkit for Aptos developers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
application_idYesThe application id to update the api key for.
current_api_key_nameYesThe current name of the api key.
frontend_argsNo
new_api_key_nameNoThe new name of the api key.
organization_idYesThe organization id to update the api key for.
project_idYesThe project id to update the api key for.

Implementation Reference

  • The update_geomi_api_key tool handler logic.
    export const updateApiKeyTool = {
      description:
        "Update an API Key for your Geomi Organization. Geomi is the essential toolkit for Aptos developers.",
      execute: async (
        args: {
          application_id: string;
          current_api_key_name: string;
          frontend_args?: Parameters<typeof toApiFrontendArgs>[0];
          new_api_key_name?: string;
          organization_id: string;
          project_id: string;
        },
        context: any
      ) => {
        try {
          await recordTelemetry({ action: "update_api_key" }, context);
          const geomi = new Geomi(context);
          context.log.info(
            `Updating api key: ${JSON.stringify(args.frontend_args)}`
          );
          const apiKey = await geomi.updateApiKey({
            application_id: args.application_id,
            current_api_key_name: args.current_api_key_name,
            frontend_args: toApiFrontendArgs(args.frontend_args),
            new_api_key_name: args.new_api_key_name ?? args.current_api_key_name,
            organization_id: args.organization_id,
            project_id: args.project_id,
          });
          return JSON.stringify(apiKey);
        } catch (error) {
          return `❌ Failed to update api key: ${error}`;
        }
      },
      name: "update_geomi_api_key",
      parameters: UpdateApiKeyToolScheme,
    };
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states this is an update operation but doesn't mention what gets updated (beyond the API key), whether it requires specific permissions, if changes are reversible, or what happens to existing settings not mentioned. For a mutation tool with complex parameters, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is brief (two sentences) but includes irrelevant marketing content ('Geomi is the essential toolkit for Aptos developers') that doesn't help tool selection. The first sentence is functional but could be more specific about what aspects of the API key are updated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with 6 parameters (including complex nested objects), no annotations, and no output schema, the description is inadequate. It doesn't explain what the tool returns, error conditions, or behavioral implications. The high schema coverage helps, but the description should provide more context about this update operation's effects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 83%, which is high, so the baseline is 3. The description adds no parameter information beyond what's in the schema, but the schema itself provides good documentation for most parameters. The description doesn't compensate for the 17% coverage gap or explain relationships between parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Update') and resource ('API Key for your Geomi Organization'), making the purpose understandable. However, it doesn't differentiate from sibling tools like 'create_geomi_api_key' or 'delete_geomi_api_key' beyond the obvious verb difference, and includes marketing fluff ('essential toolkit for Aptos developers') that doesn't clarify functionality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'create_geomi_api_key' or 'delete_geomi_api_key'. The description doesn't mention prerequisites, use cases, or constraints, leaving the agent to infer usage from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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

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