Skip to main content
Glama

get_api_status

Monitor AlphaFold API functionality and database metrics to ensure system performance and availability.

Instructions

Check AlphaFold API status and database statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the logic for the 'get_api_status' tool. It returns a mock status object with API status, version, database statistics, and endpoints.
    private async handleGetApiStatus(args: any) { try { // Mock API status check const status = { apiStatus: 'ONLINE', version: '2.0', lastUpdated: new Date().toISOString(), databaseStats: { totalStructures: 200000000, totalOrganisms: 1000000, lastStructureUpdate: '2024-01-15', }, endpoints: { prediction: 'https://alphafold.ebi.ac.uk/api/prediction', search: 'https://alphafold.ebi.ac.uk/api/search', }, }; return { content: [ { type: 'text', text: JSON.stringify(status, null, 2), }, ], }; } catch (error) { return { content: [ { type: 'text', text: `Error checking API status: ${error instanceof Error ? error.message : 'Unknown error'}`, }, ], isError: true, }; } }
  • src/index.ts:563-570 (registration)
    Registration of the 'get_api_status' tool in the ListTools response, including its name, description, and empty input schema.
    name: 'get_api_status', description: 'Check AlphaFold API status and database statistics', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • src/index.ts:621-622 (registration)
    Dispatch logic in the CallToolRequest handler that calls the get_api_status handler function.
    case 'get_api_status': return this.handleGetApiStatus(args);

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/Augmented-Nature/AlphaFold-MCP-Server'

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