Skip to main content
Glama

get_lobbying_meetings

Retrieve EU lobbying meetings data, with optional filtering by company, to analyze corporate influence and regulatory interactions.

Instructions

Get EU lobbying meetings, optionally filtered by company

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdNoOptional: Company ID to filter by
limitNoMaximum number of meetings

Implementation Reference

  • Core handler function that fetches lobbying meetings from the API endpoint '/api/lobbying' and optionally filters by company name.
    async getLobbyingMeetings(companyId?: string, limit: number = 20): Promise<any[]> { const data = await this.fetchAPI('/api/lobbying', { limit: limit }); const meetings = data.meetings || data.lobbying || []; if (companyId) { const companies = await this.getAllCompanies(); const company = companies.find(c => c.id === companyId); if (!company) return []; return meetings.filter(meeting => meeting.organization_name && meeting.organization_name.toLowerCase().includes(company.name.toLowerCase()) ); } return meetings; }
  • src/index.ts:267-284 (registration)
    Tool registration in the MCP server's listTools handler, including name, description, and input schema.
    { name: 'get_lobbying_meetings', description: 'Get EU lobbying meetings, optionally filtered by company', inputSchema: { type: 'object', properties: { companyId: { type: 'string', description: 'Optional: Company ID to filter by', }, limit: { type: 'number', description: 'Maximum number of meetings', default: 20, }, }, }, },
  • MCP CallToolRequest handler switch case that invokes the database method with parsed arguments.
    case 'get_lobbying_meetings': result = await this.db.getLobbyingMeetings((args as any)?.companyId, (args as any)?.limit || 20); break;
  • Input schema definition for the tool, specifying companyId and limit parameters.
    inputSchema: { type: 'object', properties: { companyId: { type: 'string', description: 'Optional: Company ID to filter by', }, limit: { type: 'number', description: 'Maximum number of meetings', default: 20, }, }, },

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/anbrme/ibex35-mcp-server'

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