Skip to main content
Glama
gear.ts646 B
import { z } from 'zod'; import { StravaClient } from '../strava-client.js'; export function createGearTools(client: StravaClient) { return { get_gear: { description: 'Get detailed information about a specific piece of gear (bike, shoes, etc.)', inputSchema: z.object({ id: z.string().describe('Gear ID'), }), handler: async (args: { id: string }) => { const gear = await client.getGear(args.id); return { content: [ { type: 'text' as const, text: JSON.stringify(gear, null, 2), }, ], }; }, }, }; }

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/gcoombe/strava-mcp'

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