Skip to main content
Glama

check_api_keys

Verify API key functionality to ensure seamless integration and operation with the LinkedIn Post Generator, enabling automated creation of LinkedIn posts from YouTube video transcripts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/server.js:58-72 (registration)
    Registration of the 'check_api_keys' tool, including its inline handler function that calls apiKeyManager.getStatus() and returns the status as JSON text content.
    server.tool( "check_api_keys", {}, async () => { const status = apiKeyManager.getStatus(); return { content: [{ type: "text", text: JSON.stringify(status, null, 2) }] }; }, { description: "Check the status of your API keys" } );
  • The getStatus() helper method in ApiKeyManager class that provides masked API key status information used by the tool handler.
    /** * Get the status of API keys * @returns {Object} - Status object with key information */ getStatus() { return { openai: { set: this.hasOpenAIKey(), key: this.hasOpenAIKey() ? "********" + this.openaiApiKey.slice(-4) : null }, youtube: { set: this.hasYouTubeKey(), key: this.hasYouTubeKey() ? "********" + this.youtubeApiKey.slice(-4) : null } }; }

Other Tools

Related 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/NvkAnirudh/LinkedIn-Post-Generator'

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