Skip to main content
Glama

Handled Locator

Add a location

create_location

Add a location to the locator. A plain address is geocoded automatically, so lat and lng are only needed to override the result. Counts against the plan's location allowance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude. Supplying lat and lng skips geocoding.
lngNoLongitude.
cityNo
nameYesBusiness or store name.
emailNo
hoursNoOpening hours keyed by ISO weekday, 1 = Monday. Each value is a list of {open, close} in 24h HH:MM, or null for closed.
phoneNo
stateNo
addressNoFull address as a person would write it. Geocoded automatically unless lat and lng are supplied.
websiteNo
imageUrlNo
priorityNoHigher sorts first when there is no visitor position.
timezoneNoIANA timezone, for example America/Chicago.
postalCodeNo
visibilityNohidden keeps the location in the account but off the public locator.
countryCodeNoTwo-letter ISO country code.
descriptionNo
markerColorNoHex colour for this location's map marker.
addressLine1NoStreet line, when the address is structured.
customFieldsNoExtra fields, keyed by the label shown to visitors. The value is either a plain string, or an object {value, color, icon, style} where `value` is the URL or text. There is no `label` or `url` key: the label is the key, and the URL goes in `value`. Example: {"Book a table": {"value": "https://example.com/book", "color": "#C2540E"}}. Never use this for tags or categories; use the categories field instead.
locationTypeNopoint is a physical address, service_area covers a radius, online is a stockist with no address.
serviceRadiusKmNoRadius in km, for a service_area location.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate this is a non-read-only, non-idempotent, non-destructive operation. The description adds valuable behavior beyond annotations: automatic geocoding of plain addresses, lat/lng override behavior, and quota impact ('Counts against the plan's location allowance'). It does not describe return values, but the safety profile is already carried by annotations.

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?

Three short sentences, each earning its place: purpose, geocoding behavior, and quota consequence. It front-loads the core action and avoids repeating detailed schema information.

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 a 22-parameter create tool with no output schema and minimal annotations, the description covers the essential non-obvious context: what the operation does, geocoding behavior, and plan allowance impact. It does not address return values or duplicate handling, but the schema is rich enough that these are minor gaps.

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?

The description adds a cross-parameter decision rule: a plain address is geocoded automatically and lat/lng are only needed to override that result. With schema description coverage at 64%, this helps compensate for undocumented parameters, though many fields still rely on their schema descriptions for full meaning.

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?

The description states a specific verb ('Add') and resource ('a location to the locator'), which clearly distinguishes it from sibling tools like update_location, delete_location, get_location, and list_locations. The title reinforces the action without ambiguity.

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

Usage Guidelines3/5

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

The description implies when to use the tool through 'Add a location' and gives conditional parameter guidance about geocoding, but it does not explicitly name alternatives or state when to prefer create_location over update_location. The allowance warning is useful context but not tool-selection guidance.

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