Ucp location

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

Ucp location is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Implement the UCP Location capability (`dev.ucp.common.location`) — Search and Lookup for physical locations (stores, restaurants, lockers) with spatial relations, operating hours, amenities, and item availability. Use when building local pickup discovery, store finders, or fulfillment-area verifica

How to use this skill

Skill file

UCP Location Capability

Before writing code

Fetch live spec: Web-search site:ucp.dev specification common location and fetch the capability page plus its search and lookup operation pages for the exact Location schema, relation semantics, and filter vocabulary.

Conceptual Architecture

Scope

Location lives in the common service (dev.ucp.common.location), not shopping — it is shared infrastructure rather than a commerce-specific capability. It exposes physical entities: retail stores, restaurants, brand lockers, service counters.

Two flows drive it: local pickup discovery (where can I collect this?) and fulfillment area verification (do you serve this address?).

Two operations

| Operation | Namespace | Purpose |

|-----------|-----------|---------|

| Search | dev.ucp.common.location.search | Free-text query + spatial relations + filters |

| Lookup | dev.ucp.common.location.lookup | Full details for one or more locations by identifier |

Lookup accepts the same relations and filters as Search, so a client can resolve known identifiers and refine by serviceability in one call.

Spatial relations

Two relations, and the distinction is the core of the capability:

These are not interchangeable. The nearest store may not serve the buyer's address, and a store that serves it may not be nearby. Pick the relation that matches the question being asked.

Filters

Operating hours

Two layers:

Both are interpreted in the location's IANA timezone, which is carried on the location. Do not resolve hours against the caller's timezone or against UTC — a store's "open at 9" is local, always.

Bindings

Location is exposed over REST and MCP.

Implementation Guidance

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.