MetorialDocs

Set up Planyo Online Booking in Metorial for AI agents

Share Planyo Online Booking with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 22 tools (14 read-only).

To give your team Planyo Online Booking in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Planyo Online Booking integration in a Metorial portal, and each person connects with an API key. Agents can create, modify, cancel, and search reservations for bookable resources such as vacation properties, car rentals, hotels, equipment, and event spaces. The integration has 22 tools, 14 read-only, 7 write and 1 destructive, plus 4 triggers.

What you'll learn

  • How an admin shares Planyo Online Booking in a portal and how each person connects
  • What Planyo Online Booking asks for when you connect, and where to find it
  • How to keep the 14 read-only tools and reject the other 8

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokenapiKey and hashKey

API Key

To connect, a person enters these values:

  • apiKey: Your Planyo API key. Found at https://www.planyo.com/api.php under the "API Key" button.
  • hashKey (optional): Optional secret hash key for enhanced security. When enabled, all API calls include a timestamp-based HMAC.

Setup settings

Setup also asks for:

  • siteId (optional): Planyo Site ID. Required for metasite API keys to scope operations to a specific site.

Admin: share Planyo Online Booking in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Planyo Online Booking. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Planyo Online Booking.

Choose who gets it

Add the access groups that should see Planyo Online Booking. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Planyo Online Booking integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "planyo online booking"

Employee: connect Planyo Online Booking

In the portal

Open Planyo Online Booking in the catalog

Sign in to your portal and open Planyo Online Booking. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "planyo online booking"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Planyo Online Booking connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "planyo online booking"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 14 read-only tools, such as get_user and list_users, and lose the 7 write tools, such as create_user or modify_user, and the destructive tool delete_reservation.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list "planyo online booking"
metorial tools <integration-id>
metorial call <integration-id> get_site_info -d '{}'

metorial tools lists the 22 tools, minus any you rejected. get_site_info takes no input.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (14)

  • list_vouchers: Lists vouchers with optional filtering by rental dates, resource, and code prefix.
  • list_reservations: Searches and lists reservations within a time period. Needs startTime and endTime.
  • list_resources: Lists bookable resources with optional filtering by publish status, resource type, and custom properties.
  • list_users: Searches and lists customer users with filtering by name, email, location, and custom properties.
  • get_resource_usage: Retrieves usage (occupancy) data for a resource or all resources over a date range. Needs startDate and endDate.
  • get_resource: Retrieves detailed information about a single bookable resource including availability settings, pricing, booking rules, photos, properties, and admin details. Needs resourceId.
  • list_payments: Lists payments within a date range. Needs startDate and endDate.
  • check_availability: Checks whether a reservation can be made for a resource during a given time period. Needs resourceId, startTime, endTime and quantity.
  • get_user: Retrieves detailed information about a customer user by ID or email, including personal details, contact info, custom properties, and reservation count.
  • get_rental_price: Calculates the rental price for a resource given a time period, quantity, and optional voucher code. Needs resourceId, startTime, endTime and quantity.
  • get_site_info: Retrieves site-level information including name, category, timezone, admin email, custom resource property definitions, and photos.
  • get_reservation: Retrieves complete details of a single reservation including customer info, pricing, payments, custom properties, additional products, and activity log. Needs reservationId.
  • search_reservations: Finds reservations by customer name, login, user ID, reservation ID, email, phone number, or resource name without requiring a date range.
  • search_resources: Finds available resources for a rental period and quantity, with prices and optional custom property filters.

Write tools (7)

  • modify_user: Modifies an existing user's personal details, contact info, custom properties, and account flags.
  • record_payment: Records a payment against a reservation. Needs reservationId, paymentMode, paymentStatus, transactionId, amount and currency.
  • modify_reservation: Modifies an existing reservation. Needs reservationId.
  • create_user: Creates a new customer user or updates an existing user's custom properties. Needs email and firstName.
  • reservation_action: Performs an administrative action on a reservation such as confirming, cancelling, checking in/out, marking as no-show, or other status changes. Needs reservationId and action.
  • create_voucher: Creates a new voucher (discount code) that customers can apply to reservations. Needs voucherCodePrefix, discountValue, maxUses, reservationStartTime and reservationEndTime.
  • create_reservation: Creates a new reservation for a bookable resource. Needs resourceId, startTime, endTime and quantity.

Destructive tools (1)

  • delete_reservation: Permanently deletes a reservation. **This cannot be undone.** For non-permanent removal, use the Reservation Action tool with action "Cancel" instead. Needs reservationId.

Triggers

Planyo Online Booking has 4 triggers, which fire on events in Planyo Online Booking:

  • payment_events: Triggers when payments are received or removed for reservations and coupons.
  • user_events: Triggers when a new user is added or an existing user's settings are updated.
  • resource_events: Triggers when resource settings are changed, a resource is removed, or a vacation/unavailability period is modified.
  • reservation_events: Triggers on reservation lifecycle events including creation, confirmation, cancellation, modification, check-in/out, no-show, and price updates.

Next steps