Skip to main content
Glama

Preview a change

preview_change
Read-onlyIdempotent

Prepares one change and returns a plain summary of exactly what it would do, with a preview_id. Changes nothing: the change happens only when that preview_id is confirmed. Without an account: book_appointment (code; body service_type, selected_slot exactly as booking_options returned it, location_id, property_details {someone_home_during_service, ok_to_proceed_without_customer, pets_on_property, gated_community, gate_code, dog_access_considerations, access_instructions}, expected_total_cents, promo_code), reschedule_appointment (code; body selected_slot from reschedule_options), cancel_appointment (code; body reason), request_quote (body contact {first_name, last_name, email, phone, sms_consent: true when the customer agreed to texts, consent_label}, address {line1, line2, city, state, zip, country}, service_title in the customer's words, panel_count, notes, source) and request_inspection (body: the contact and address the times were found for, service_type, selected_slot, promo_code, notes). A connected customer passes site_id instead of code for the three appointment changes, and also has: save_access_details (body property_details), reject_quote (id; body reason, lost_reason), connect_system (provider; body fields: the fields the connect_system view lists for that provider), disconnect_system (provider), set_energy_rate (body currency, importRatePerKwh, exportRatePerKwh as decimal strings), change_subscription_tier (body targetTier, billingInterval), cancel_subscription (body cancelAtPeriodEnd), resume_subscription, withdraw_document (id), update_notification_settings (body: the settings to change, as notification_settings names them), request_lease_offer (id; body language), accept_lease_offer (id; body quote_id). payment_method, payment, sign_document, lease_bank_account and subscribe are not carried out by this connector: previewing one returns the portal link where the customer does it themselves. Serves every Otovo region: without a connected account the scheduling code, preview or address selects the region; a connected customer is served where their account lives.

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": {
      "change": "<change>"
    },
    "name": "preview_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe record the change is about: a quote (reject_quote), document envelope (withdraw_document) or lease project (request_lease_offer, accept_lease_offer).
bodyNoThe change's details, exactly as the tool description names them for that change.
codeNoWithout an account: the customer's scheduling code, the last part of the otovo.com/book/... link they were sent. It cannot be looked up from other details.
changeYesThe one change to preview. See the tool description for what each takes in body.
site_idNoConnected customers: one of their own sites, a site_id from view sites. Needed when they have more than one.
providerNoconnect_system, disconnect_system: the provider key from get_my_otovo view connect_system.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

The readOnlyHint=true, idempotentHint=true and destructiveHint=false annotations are corroborated rather than contradicted by "Changes nothing" and the confirm-gated flow. It adds genuinely non-schema behavior: the preview-then-confirm lifecycle, the region-routing rules (scheduling code selects region without an account; connected customers are served where the account lives), and the fact that some changes hand off to the customer's own portal. No rate limits or error behavior are mentioned, keeping it below a 5.

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 opening two sentences are well front-loaded and carry the safety message first, but the remainder is a dense, comma-spliced wall of body-field enumerations that is hard to scan. The content is necessary given a free-form `body` parameter, yet restructuring it into a per-change list would be substantially more usable without losing information.

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

Completeness5/5

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

With no output schema, the description still tells the agent what comes back (a plain summary plus preview_id) and how to proceed afterward. Combined with full region-routing rules and per-change payload requirements, an agent has everything needed to call this correctly for both anonymous and connected customers.

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

Parameters5/5

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

Schema coverage is already 100%, yet the description carries the real work: `body` is a generic object whose per-change field lists (e.g. property_details sub-keys, contact/address shapes, decimal strings for energy rates, `sms_consent: true when the customer agreed to texts`, selected_slot "exactly as booking_options returned it") are documented nowhere else.

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

Purpose5/5

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

"Prepares one change and returns a plain summary of exactly what it would do, with a preview_id" names a specific verb, resource and return value, and the constraint "Changes nothing: the change happens only when that preview_id is confirmed" separates it cleanly from the confirm_change sibling.

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

Usage Guidelines5/5

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

The description enumerates every legal value of `change` with the body each requires, splits guidance by caller type (unauthenticated code-based flow vs. connected customer using site_id), and explicitly excludes payment_method, payment, sign_document, lease_bank_account and subscribe, stating they return a portal link instead.

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.