Skip to main content
Glama
0xKoller
by 0xKoller

salud

Check the operational status and health of the Argentina Datos API to ensure reliable access to information on holidays, exchange rates, legislative data, and more.

Instructions

Devuelve el estado de la salud de la API

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.ts:581-612 (handler)
    The MCP tool handler for 'salud', which fetches the API health status using getSalud() and returns a corresponding message.
    server.tool( "salud", "Devuelve el estado de la salud de la API", {}, async ({}) => { try { const data = await getSalud(); if (data.estado === "Correcto") { return { content: [ { type: "text", text: "La API está funcionando correctamente" }, ], }; } else { return { content: [ { type: "text", text: "La API no está funcionando correctamente" }, ], }; } } catch (error) { return { content: [ { type: "text", text: "Error al obtener el estado de la salud de la API", }, ], }; } } );
  • The input schema declaration for the 'salud' tool (no parameters).
    { name: "salud", description: "Devuelve el estado de la salud de la API", parameters: {}, },
  • Helper function that fetches the raw health status data from the API.
    export const getSalud = async () => { const salud = await fetch(`${BASE_URL}/estado`); const data = await salud.json(); return data; };

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/0xKoller/mcp-argentina-datos'

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