Skip to main content
Glama
zernio-mcp
by Eyalm321

zernio_update_gmb_location_details

Update Google Business Profile location details by passing only fields to change; automatic update masks handle the request, and weekly or special hours replace full lists.

Instructions

Update a Google Business Profile location (proxies Google's locations.patch). Pass only the fields to change; updateMask is built from them. regularHours and specialHours replace the whole list on Google, so send every period you want to keep. Times are HH:MM (24h); days are MONDAY..SUNDAY. A special-hours day with closed=true needs only startDate.

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": {
      "accountId": "<accountId>"
    },
    "name": "zernio_update_gmb_location_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoBusiness name (updateMask: title)
accountIdYesThe Zernio Google Business account ID
categoriesNo{ primaryCategory: { name }, additionalCategories: [{ name }] } (updateMask: categories)
locationIdNoThe GMB location ID (from zernio_get_gmb_locations). Omit to use the account's selected location.
updateMaskNoOverride the computed updateMask (comma-separated Google field paths)
websiteUriNoWebsite URL (updateMask: websiteUri)
descriptionNoBusiness description (updateMask: profile.description)
phoneNumbersNoPhone numbers; replaces both primary and additional numbers (updateMask: phoneNumbers)
regularHoursNoWeekly opening hours; replaces all periods (updateMask: regularHours)
specialHoursNoHoliday or one-off hours; replaces all special periods (updateMask: specialHours)
storefrontAddressNoGoogle PostalAddress object (updateMask: storefrontAddress)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changedv2.3.1
    • removedInput schema / properties / address
      Removed value: -{
      -  "description": "Updated business address",
      -  "type": "string"
      -}
    • addedInput schema / properties / categories
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "{ primaryCategory: { name }, additionalCategories: [{ name }] } (updateMask: categories)",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / description / description
      Previous value: -"Updated business description"New value: +"Business description (updateMask: profile.description)"
    • removedInput schema / properties / hours
      Removed value: -{
      -  "description": "Updated business hours (JSON string)",
      -  "type": "string"
      -}
    • changedInput schema / properties / locationId / description
      Previous value: -"The GMB location ID"New value: +"The GMB location ID (from zernio_get_gmb_locations). Omit to use the account's selected location."
    • removedInput schema / properties / name
      Removed value: -{
      -  "description": "Updated business name",
      -  "type": "string"
      -}
    • removedInput schema / properties / phone
      Removed value: -{
      -  "description": "Updated phone number",
      -  "type": "string"
      -}
    • addedInput schema / properties / phoneNumbers
      Added value: +{
      +  "description": "Phone numbers; replaces both primary and additional numbers (updateMask: phoneNumbers)",
      +  "properties": {
      +    "additionalPhones": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "primaryPhone": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / regularHours
      Added value: +{
      +  "description": "Weekly opening hours; replaces all periods (updateMask: regularHours)",
      +  "properties": {
      +    "periods": {
      +      "items": {
      +        "properties": {
      +          "closeDay": {
      +            "enum": [
      +              "MONDAY",
      +              "TUESDAY",
      +              "WEDNESDAY",
      +              "THURSDAY",
      +              "FRIDAY",
      +              "SATURDAY",
      +              "SUNDAY"
      +            ],
      +            "type": "string"
      +          },
      +          "closeTime": {
      +            "pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$",
      +            "type": "string"
      +          },
      +          "openDay": {
      +            "enum": [
      +              "MONDAY",
      +              "TUESDAY",
      +              "WEDNESDAY",
      +              "THURSDAY",
      +              "FRIDAY",
      +              "SATURDAY",
      +              "SUNDAY"
      +            ],
      +            "type": "string"
      +          },
      +          "openTime": {
      +            "pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "openDay",
      +          "openTime",
      +          "closeDay",
      +          "closeTime"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "periods"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / specialHours
      Added value: +{
      +  "description": "Holiday or one-off hours; replaces all special periods (updateMask: specialHours)",
      +  "properties": {
      +    "specialHourPeriods": {
      +      "items": {
      +        "properties": {
      +          "closeTime": {
      +            "pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$",
      +            "type": "string"
      +          },
      +          "closed": {
      +            "type": "boolean"
      +          },
      +          "endDate": {
      +            "properties": {
      +              "day": {
      +                "maximum": 31,
      +                "minimum": 1,
      +                "type": "integer"
      +              },
      +              "month": {
      +                "maximum": 12,
      +                "minimum": 1,
      +                "type": "integer"
      +              },
      +              "year": {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "year",
      +              "month",
      +              "day"
      +            ],
      +            "type": "object"
      +          },
      +          "openTime": {
      +            "pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$",
      +            "type": "string"
      +          },
      +          "startDate": {
      +            "properties": {
      +              "day": {
      +                "maximum": 31,
      +                "minimum": 1,
      +                "type": "integer"
      +              },
      +              "month": {
      +                "maximum": 12,
      +                "minimum": 1,
      +                "type": "integer"
      +              },
      +              "year": {
      +                "maximum": 9007199254740991,
      +                "minimum": -9007199254740991,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "year",
      +              "month",
      +              "day"
      +            ],
      +            "type": "object"
      +          }
      +        },
      +        "required": [
      +          "startDate"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "specialHourPeriods"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / storefrontAddress
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Google PostalAddress object (updateMask: storefrontAddress)",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / title
      Added value: +{
      +  "description": "Business name (updateMask: title)",
      +  "type": "string"
      +}
    • addedInput schema / properties / updateMask
      Added value: +{
      +  "description": "Override the computed updateMask (comma-separated Google field paths)",
      +  "type": "string"
      +}
    • removedInput schema / properties / website
      Removed value: -{
      -  "description": "Updated website URL",
      -  "type": "string"
      -}
    • addedInput schema / properties / websiteUri
      Added value: +{
      +  "description": "Website URL (updateMask: websiteUri)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "accountId",
      -  "locationId"
      -]New value: +[
      +  "accountId"
      +]
  2. First observedv2.1.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that updateMask is derived from supplied fields, and critically warns that regularHours and specialHours are destructive whole-list replacements requiring the caller to resend every period. It does not mention permission/account requirements or whether Google review/verification applies to edits, which are meaningful gaps for a live business-profile mutation.

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

Conciseness5/5

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

Front-loads identity of the tool, then immediately delivers the three operational pitfalls in short declarative sentences. No filler, and the most costly mistake (dropping hours periods) is called out early.

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 11-parameter, deeply nested mutation with no output schema and no annotations, the description covers the highest-risk behaviors an agent would otherwise get wrong. Missing pieces are secondary: return shape, whether Google may require verification before changes appear, and how omitted vs. explicitly cleared fields are treated.

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 100%, so the baseline is 3, but the description adds cross-parameter semantics the schema cannot express: the implicit updateMask construction and the replace-not-merge behavior of the two hours fields. The HH:MM and MONDAY..SUNDAY notes and the closed=true/startDate-only hint largely duplicate schema patterns and enums, keeping it below 5.

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?

States a specific verb and resource ("Update a Google Business Profile location") and grounds it in the underlying API (locations.patch), which distinguishes it from sibling writers like zernio_update_gmb_attributes and zernio_update_gmb_food_menus that touch different surfaces of the same profile.

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?

"Pass only the fields to change" clearly establishes patch-style usage and implicitly rules out full-object replacement for scalar fields, but the description never names an alternative or states a condition under which a sibling tool should be chosen instead.

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

Deploy Server

Other Tools