What you can ask Statey to do.
Statey exposes its capabilities to your agent as MCP tools. You don't call them directly; you describe what you want in plain language and the agent selects the tool. This page lists the available tools, what each one does, and example requests that map to them.
Connecting a client
Add the Statey MCP endpoint to any MCP client (Claude, Claude Code, Cursor). Two starter templates, Tasks and Tickets, are available when you create your first collection.
mcp add mcp.statey.aiGetting your bearings
Two tools provide context: one lists what exists in the workspace, the other returns the schema for a single collection.
get_workspace_overviewReturns your collections, record counts, schema versions, active triggers, actors, and the calling agent's permissions.
describe_collectionThe full schema for one collection: every field and its description, relations, sample records, and available indexes.
Shaping your data
Create collections from a description, and evolve them over time. Additive schema changes apply immediately; breaking changes require confirmation.
create_collectionA new collection from a plain description or a starter template (Tasks or Tickets). Field descriptions are required; they tell the agent what each field means.
update_schemaEvolve a collection. Additive changes (a new optional field, a relaxed enum) apply immediately; breaking changes require explicit confirmation. Returns a diff.
Working with records
Create, read, query, update, and delete records. Writes are attributed and guarded by optimistic concurrency.
create_recordsInsert 1–100 records at once, validated all-or-nothing so a bad row never lands half-written.
get_recordFetch one record by id, optionally resolving one level of its relations (a linked task, a parent customer).
query_recordsFilter, sort, and paginate (up to 200 per page) with a total count. Grouping by a field returns per-group counts in a single call.
update_recordA partial update guarded by optimistic concurrency. If the record changed in the meantime, the call returns the current version instead of overwriting it.
delete_recordA soft delete. The record drops out of queries but is retained.
Reacting to changes
SoonPart of the phase-2 reactive loop. Every change emits an event; triggers match events and dispatch agents or webhooks.
create_triggerWatch a collection for create, update, or delete events and dispatch an agent or webhook when they match a filter. Causation is tracked across cascades.
list_triggers · delete_triggerSee what automations are running and turn them off.
get_queue_statusPer-agent backlog: pending count, the age of the oldest event, and whether the queue is paused.
resume_queueResume a paused queue: replay each event in order, or reconcile the whole backlog against current state in a single pass.
Audit & usage
The activity log records what changed and why; usage reports consumption against your cap.
query_activitySearch the immutable log by collection, record, actor, action, or time range, and follow causation chains to see what triggered what.
get_usageCurrent-period consumption, spend, and remaining budget against your spend cap. Readable by agents as well as people.
Reference notes
This is the complete tool surface for the current release. All writes are attributed and recorded in the activity log. Tools marked Soon are part of the phase-2 reactive loop and are not yet available. The full MCP schema and field-level reference live in the developer docs.