Skip to main content
Glama

Field Service Business Platform by Doing Work

schedule_setBookingPage

Destructive

Configure the shop's hosted public booking page (/p/book/) for Google Business Profile and Google Actions Center. Setting google_enabled true requires enabled true, slug, trade, service_zips, contact_phone, and mailing_address matching Google Business Profile (owner only to update contact_phone or mailing_address; owner or office for booking fields).

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": {
      "shop_id": "<shop_id>"
    },
    "name": "schedule_setBookingPage"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNo
tradeNo
enabledNo
shop_idYes
service_zipsNo
contact_phoneNo
google_enabledNo
mailing_addressNo
show_open_timesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "booking_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "enabled": {
      -        "type": "boolean"
      -      },
      -      "google_booking_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "google_enabled": {
      -        "type": "boolean"
      -      },
      -      "job_types": {
      -        "items": {
      -          "properties": {
      -            "minutes": {
      -              "type": "integer"
      -            },
      -            "name": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "name",
      -            "minutes"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "missing_nap": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "nap": {
      -        "properties": {
      -          "address": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "jurisdiction_id": {
      -            "type": "string"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "phone": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "phone",
      -          "address",
      -          "jurisdiction_id"
      -        ],
      -        "type": "object"
      -      },
      -      "nap_ready": {
      -        "type": "boolean"
      -      },
      -      "service_zips": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "shop_id": {
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "show_open_times": {
      -        "type": "boolean"
      -      },
      -      "slug": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "trade": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "shop_id",
      -      "enabled",
      -      "slug",
      -      "booking_url",
      -      "google_booking_url",
      -      "show_open_times",
      -      "google_enabled",
      -      "trade",
      -      "service_zips",
      -      "job_types",
      -      "nap",
      -      "nap_ready",
      -      "missing_nap"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "approval_id": {
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "approval_required": {
      -        "enum": [
      -          true
      -        ],
      -        "type": "boolean"
      -      },
      -      "expires_at": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "pending"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "approval_required",
      -      "approval_id",
      -      "status",
      -      "expires_at",
      -      "message"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "booking_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "enabled": {
      +        "type": "boolean"
      +      },
      +      "google_booking_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "google_enabled": {
      +        "type": "boolean"
      +      },
      +      "job_types": {
      +        "items": {
      +          "properties": {
      +            "minutes": {
      +              "type": "integer"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "minutes"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "missing_nap": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "nap": {
      +        "properties": {
      +          "address": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "jurisdiction_id": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "phone": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "phone",
      +          "address",
      +          "jurisdiction_id"
      +        ],
      +        "type": "object"
      +      },
      +      "nap_ready": {
      +        "type": "boolean"
      +      },
      +      "next_actions": {
      +        "description": "Up to 3 useful next steps, best first, in plain words. op names the op to call, when there is one. when is now, later, check, or tell_human. due_at is set for later and check when there is a natural time. A send is tell_human: show the owner the draft, then send only when they say so.",
      +        "items": {
      +          "properties": {
      +            "args_hint": {
      +              "type": "string"
      +            },
      +            "due_at": {
      +              "format": "date-time",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "op": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "say": {
      +              "type": "string"
      +            },
      +            "when": {
      +              "enum": [
      +                "now",
      +                "later",
      +                "check",
      +                "tell_human"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "say",
      +            "op",
      +            "when"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 3,
      +        "type": "array"
      +      },
      +      "service_zips": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "shop_id": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "show_open_times": {
      +        "type": "boolean"
      +      },
      +      "slug": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "trade": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "shop_id",
      +      "enabled",
      +      "slug",
      +      "booking_url",
      +      "google_booking_url",
      +      "show_open_times",
      +      "google_enabled",
      +      "trade",
      +      "service_zips",
      +      "job_types",
      +      "nap",
      +      "nap_ready",
      +      "missing_nap",
      +      "next_actions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "approval_id": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "approval_required": {
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      },
      +      "expires_at": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "pending"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "approval_required",
      +      "approval_id",
      +      "status",
      +      "expires_at",
      +      "message"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

Adds real context beyond the annotations: external publication targets, prerequisite fields, and authorization tiers. However, destructiveHint=true is left unexplained — nothing warns that changing slug breaks previously shared/public URLs, or what happens to the hosted page when enabled is set false. Given annotations already declare the safety profile, this is adequate but leaves the highest-risk consequence undisclosed.

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

Conciseness4/5

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

Two tight sentences, front-loaded with what the tool configures before the conditional rules. Dense but every clause carries operative information; the parenthetical permission clause is the only part that reads as compressed shorthand.

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?

An output schema exists, so return values need no explanation, and the description covers prerequisites, permissions, and the external targets. For a 9-parameter mutation with destructive semantics it is nearly complete, missing only the consequence of slug/enabled changes and the meaning of show_open_times.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry parameter meaning, and it does for seven of nine fields, most importantly the conditional dependency google_enabled -> enabled/slug/trade/service_zips/contact_phone/mailing_address and the address-matching requirement. show_open_times and the shop_id scoping are left undefined, and the slug pattern/format is only in the schema.

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?

Names a specific verb and resource ('Configure the shop's hosted public booking page') and pins down the exact surface it governs by quoting the URL path (/p/book/<slug>) and the downstream consumers (Google Business Profile, Google Actions Center). It is distinguishable from the read-ish sibling schedule_bookingPage, though it never names that sibling to draw 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 a concrete gating rule: enabling google_enabled requires enabled true plus slug, trade, service_zips, contact_phone, and mailing_address aligned with the Google Business Profile. It also states role permissions (owner-only for contact_phone/mailing_address; owner or office for booking fields), which tells the agent when the call will be rejected. It stops short of naming an alternative tool for read-only inspection of the page.

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.