Skip to main content
Glama
tldv-public

tl;dv MCP for Zoom, Google Meet and MS Teams

Official
by tldv-public

get-meeting-metadata

Retrieve meeting details including name, date, organizer, and participants by providing a meeting ID from Zoom, Google Meet, or Microsoft Teams.

Instructions

Get a meeting by its ID. The meeting ID is a unique identifier for a meeting. It will return the meeting metadata, including the name, the date, the organizer, participants and more.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • The handler function for the 'get-meeting-metadata' tool. It takes a meeting ID, fetches the meeting data using TldvApi, and returns it as a JSON string in the required MCP response format.
    async ({ id }) => {
      const meeting = await tldvApi.getMeeting(id);
      return {
        content: [{ type: "text", text: JSON.stringify(meeting) }]
      };
    }
  • src/index.ts:58-68 (registration)
    Registers the 'get-meeting-metadata' tool with the MCP server using server.tool(), specifying name, description, input schema, and the handler function.
    server.tool(
      tools["get-meeting-metadata"].name,
      tools["get-meeting-metadata"].description,
      tools["get-meeting-metadata"].inputSchema.shape,
      async ({ id }) => {
        const meeting = await tldvApi.getMeeting(id);
        return {
          content: [{ type: "text", text: JSON.stringify(meeting) }]
        };
      }
    );
  • Tool declaration including name, description, and input schema (zod schema: object with 'id' as string). Used for capabilities and registration.
    "get-meeting-metadata": {
      name: "get-meeting-metadata",
      description: "Get a meeting by its ID. The meeting ID is a unique identifier for a meeting. It will return the meeting metadata, including the name, the date, the organizer, participants and more.",
      inputSchema: z.object({ id: z.string() }),
    },
  • TldvApi.getMeeting helper method called by the tool handler. Makes an authenticated API request to TLDV's /meetings/{id} endpoint to retrieve meeting metadata.
    async getMeeting(meetingId: string): Promise<TldvResponse<Meeting>> {
      return this.request<Meeting>(`/meetings/${meetingId}`);
    }

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/tldv-public/tldv-mcp-server'

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