Skip to main content
Glama

AI Search Kit

Generate LocalBusiness schema

generate_local_business_schema
Read-onlyIdempotent

Turn a local business's facts into schema.org JSON-LD. Chooses the most specific LocalBusiness subtype from business_type (for example "roofing company" becomes RoofingContractor) or takes schema_type as given, writes only properties schema.org defines for that type, formats hours, phone and 24 hour or closed days the way Google documents, then validates the output against the schema.org vocabulary. Returns the JSON-LD, a ready-to-paste script tag, the type chosen with alternatives, and cited notes on anything left out. No network access; nothing is published.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoThe business website or location page.
logoNoLogo image URL.
nameYesBusiness name as shown on the storefront, website and Google profile.
emailNo
hoursNoRegular opening hours. Days not listed read as closed.
imagesNo
same_asNoOfficial profile URLs that identify the business: Google Business Profile, Facebook, LinkedIn, Yelp, Wikidata.
foundersNo
latitudeNo
menu_urlNoFood businesses only.
servicesNoServices offered, written as Offer items.
longitudeNo
open_24_7NoTrue when the business is open 24 hours every day. Overrides hours.
telephoneNoPrimary customer phone number. North American numbers are written as +1-AAA-BBB-CCCC.
area_servedNoPlaces served: plain names, or objects with a type (City, State, AdministrativeArea, Country, Place) and an optional Wikidata or Wikipedia URL in same_as.
descriptionNo
postal_codeNo
price_rangeNoSuch as "$$" or "$100-$300". Under 100 characters.
schema_typeNoAn exact schema.org LocalBusiness subtype, or up to three, such as "Plumber". Overrides business_type.
business_typeNoPlain words for what the business is, such as "plumber", "dental office" or "coffee shop".
founding_dateNoYYYY-MM-DD.
address_regionNoState, province or region, such as "MT".
serves_cuisineNoFood businesses only.
street_addressNo
address_countryNoTwo-letter ISO country code, such as "US".
address_localityNoCity or town.
payment_acceptedNo
seasonal_closuresNoClosed periods, dates as YYYY-MM-DD.
currencies_acceptedNoISO 4217 codes such as USD.
hide_street_addressNoTrue for a service-area business that does not serve customers at its address.
accepts_reservationsNoFood businesses only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources