Skip to main content
Glama

get_bookings_businesses

Retrieve all Microsoft Bookings businesses to manage appointments, staff, and services through the Graph API.

Instructions

Get list of Bookings businesses

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core implementation of the 'get_bookings_businesses' tool. It queries the Microsoft Graph API endpoint '/solutions/bookingBusinesses', retrieves the list of booking businesses, and returns the JSON-formatted response as MCP tool content.
    private async getBookingsBusinesses() { const response = await this.graphClient .api('/solutions/bookingBusinesses') .get(); return { content: [ { type: 'text', text: JSON.stringify(response.value, null, 2), }, ], }; }
  • src/index.ts:81-88 (registration)
    Registration of the 'get_bookings_businesses' tool in the ListToolsRequestSchema handler. Defines the tool name, description, and input schema (no required parameters).
    { name: 'get_bookings_businesses', description: 'Get list of Bookings businesses', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema definition for the 'get_bookings_businesses' tool, specifying an empty object (no input parameters required).
    inputSchema: { type: 'object', properties: {}, },
  • src/index.ts:145-146 (registration)
    Dispatch logic in the CallToolRequestSchema handler that routes calls to the 'get_bookings_businesses' tool to its handler function.
    case 'get_bookings_businesses': return await this.getBookingsBusinesses();

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/DynamicEndpoints/m365-bookings-mcp'

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