Skip to main content
Glama
0xKoller
by 0xKoller

diputados-actas

Access official records of Argentina's Chamber of Deputies to analyze legislative activities and decisions through structured data retrieval.

Instructions

Devuelve las actas de los diputados

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.ts:547-577 (handler)
    MCP tool handler for 'diputados-actas'. Calls getDiputadosActas helper, formats response as JSON or handles errors.
    server.tool( "diputados-actas", "Devuelve las actas de los diputados", {}, async ({}) => { try { const data = await getDiputadosActas(); if (data.length === 0) { return { content: [ { type: "text", text: "No se encontraron actas de los diputados" }, ], }; } return { content: [ { type: "text", text: JSON.stringify(data, null, 2), mimeType: "application/json", }, ], }; } catch (error) { return { content: [ { type: "text", text: "Error al obtener las actas de los diputados" }, ], }; } }
  • Helper function implementing the core logic: fetches actas data from API endpoint https://api.argentinadatos.com/v1/diputados/actas
    export const getDiputadosActas = async () => { const actas = await fetch(`${BASE_URL}/diputados/actas`); const data = await actas.json(); return data; };
  • main.ts:94-98 (schema)
    Tool schema definition in MCP server capabilities (name, description, empty parameters).
    { name: "diputados-actas", description: "Devuelve las actas de los diputados", parameters: {}, },

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