Skip to main content
Glama
ErickWendel

Erick Wendel Contributions MCP

by ErickWendel

check_status

Verify the API connectivity and response status for Erick Wendel's content server to ensure reliable access to talks, blogs, and videos.

Instructions

Check if the API is alive and responding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'check_status' tool. It calls checkApiStatus() to check the API health and returns an MCP response with the status.
    handler: async (): Promise<McpResponse> => { try { const result = await checkApiStatus(); const content: McpTextContent = { type: "text", text: `API Status: ${result.isAlive ? "Online" : "Offline"}` }; return { content: [content], }; } catch (error) { throw new Error(`Failed to check API status: ${error.message}`); } }
  • src/index.ts:42-47 (registration)
    Registration of the checkStatusTool in the MCP server using server.tool().
    server.tool( checkStatusTool.name, checkStatusTool.description, checkStatusTool.parameters, checkStatusTool.handler );
  • Configuration schema for the check_status tool, providing name and description used in the tool definition.
    status: { name: "check_status", description: "Check if the API is alive and responding." }
  • Helper function checkApiStatus() that queries the GraphQL API's isAlive field to check status.
    export async function checkApiStatus(): Promise<StatusResponse> { return await client.query({ isAlive: true, }) as StatusResponse; }
  • Input parameters schema for the check_status tool (no parameters required).
    parameters: {},
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/ErickWendel/erickwendel-contributions-mcp'

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