create_site, list_sites, update_site, delete_site

Set up Identify for a website from an agent. Create a site and get its script tag, then list, rename or delete sites.

A site is a public key for Identify's snippet. An agent creates one, adds the snippet to the user's pages, and reads the visits with list_sessions. All four tools are free; each session a site starts is one identification, $0.001.

create_site

Creates a site, as POST /v1/identify/sites.

InputDescription
nameA few words naming the site. Up to 100 characters
originsThe addresses whose pages may report, like https://www.example.com. Up to 20. None takes reports from any page
api_key/mcp/keys only

Returns the site's id, name, key (gpk_…, public), origins, created_at and snippet: the script tag for the <head> of every page. Up to 50 sites per organization.

list_sites

No inputs. Read-only. Returns sites, oldest first, as GET /v1/identify/sites.

update_site

Renames a site or replaces its origins, as PATCH /v1/identify/sites/{id}.

InputDescription
site_idRequired. The site's id
nameThe new name. Left out, it stays
originsThe new list, replacing the old one. Left out, it stays; [] takes reports from any page
api_key/mcp/keys only

Returns the site.

delete_site

Deletes a site, as DELETE /v1/identify/sites/{id}. Its key stops working at once and can't be restored, so the agent should confirm with the user first. Its sessions leave list_sessions and can be read by id until they're 30 days old.

InputDescription
site_idRequired. The site's id
api_key/mcp/keys only

On this page