Skip to main content
Glama
abutbul

Gatherings MCP Server

by abutbul

show_gathering

Retrieve detailed information about a specific gathering by entering its ID, simplifying expense tracking and reimbursement calculations for social events.

Instructions

Show details of a gathering

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gathering_idYesID of the gathering to display

Implementation Reference

  • src/index.ts:162-175 (registration)
    Registration of the 'show_gathering' tool in the ListTools response, including name, description, and input schema.
    { name: 'show_gathering', description: 'Show details of a gathering', inputSchema: { type: 'object', properties: { gathering_id: { type: 'string', description: 'ID of the gathering to display', }, }, required: ['gathering_id'], }, },
  • Handler logic for the 'show_gathering' tool: validates input arguments using isGatheringIdArg type guard and appends the 'show' command to execute the Python script.
    case 'show_gathering': if (!isGatheringIdArg(args)) { throw new McpError(ErrorCode.InvalidParams, 'Invalid show_gathering arguments'); } command += ` show "${args.gathering_id}"`; break;
  • Type guard function for validating 'show_gathering' input arguments (shared with other tools requiring gathering_id).
    const isGatheringIdArg = (args: any): args is { gathering_id: string } => typeof args === 'object' && args !== null && typeof args.gathering_id === 'string';

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/abutbul/gatherings-mcp'

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