Skip to main content
Glama

Set paid booking

set_shop_bookings
Destructive

Sets how paid booking takes payment, like the Bookings part of the Online shop in Xodia (the Paid booking feature turns it on). Give only what changes; the rest stays: on (true or false), take (full: the whole price; deposit: the service's own deposit amount, else depositPercent of the price), depositPercent (1 to 100), holdMinutes (how long an unpaid booking keeps its time, 30 to 1440; then it is freed), payLater (visitors may also book now and pay at the visit, no card), table and servicesTable (the Xodia database tables the booking calendar saves to and reads prices from; default bookings and services). Prices come from the services table (its price, an optional deposit, per_person yes or no), never from the page. Set only what the owner asked for. Workspace owners and admins only (forbidden otherwise: tell the user who can). Answers the settings as they are now.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>"
    },
    "name": "set_shop_bookings"
  }
}

Input Schema

NameRequiredDescriptionDefault
onNoPaid booking on or off
takeNofull: the whole price; deposit: a part now
tableNoThe bookings table (default bookings)
payLaterNoAlso let visitors book now and pay at the visit
projectIdYesProject id from list_projects
holdMinutesNoMinutes an unpaid booking keeps its time
servicesTableNoThe services table with the prices (default services)
depositPercentNoWith take deposit, when the service has no deposit amount of its own

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already flag this as a non-read-only, destructive, closed-world mutation. The description adds genuinely useful behavior beyond that: partial-update semantics, studio/owner permission failure messaging, that unpaid holds are released after holdMinutes, that prices come from the services table and never the page, and that it returns the settings as they now are. It never explains why destructiveHint is true (e.g., what is lost when turning the feature off or changing tables), so the destructive profile stays thin relative to the annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body is a long, densely punctuated run of nested parentheses that is hard to parse on one read. Every sentence carries information, yet the packed phrasing makes it heavier than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter mutation with no output schema, the description covers the essentials: partial-update semantics, defaults for the table parameters, ranges and consequences for holdMinutes, permission failures, and the return value ('answers the settings as they are now'). Only the destructive effect of changing these settings is left unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all eight parameters, and the baseline applies. The description does add real meaning beyond it: it explains the interaction between take=deposit, a service's own deposit amount, and depositPercent, and clarifies that table/servicesTable are database tables the calendar writes to and reads prices from. That extra context is valuable but largely restates schema-documented constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: it sets how paid booking takes payment, scoped to the Bookings part of the Online shop. That is clearly distinct from siblings like get_shop or place_shop, though it never names a sibling outright to sharpen the contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete operating rules: 'Give only what changes; the rest stays' and 'Set only what the owner asked for', plus the prerequisite that the Paid booking feature must be on. It also states the permission gate (workspace owners and admins, and to tell the user who can when forbidden). It does not point to any alternative tool for adjacent settings, which is the only gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources