Plausible: check site access
plausible_check_site_accessCheck if your API key can access a specific Plausible site by returning today's visitor count, validating credentials and resolving 'not found' or authentication errors.
Instructions
Verify that the configured API key can query a site, and show today's visitor count as a smoke test.
Call this first when a user mentions a new site, or when other tools return authentication or "not found" errors. The Stats API has no "list sites" endpoint (that is the separate Sites API with a different key type), so this checks one site at a time.
Example: {"site_id": "example.com"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Site domain exactly as registered in Plausible, e.g. "example.com". Optional when PLAUSIBLE_DEFAULT_SITE_ID is set. |