# mkly/thelastsaas

Source: https://glimind.com/server/github%2Fmkly%2Fthelastsaas
Registry id: `github/mkly/thelastsaas`
Status: unknown

## Tools (80)

- `audit_log`: List organization audit entries.
- `collections_create`: Create a collection with a schema. References use "ref:collection_name", multiple references use {"type":"ref:collection_name","multiple":true}, and file attach
- `collections_delete`: Delete a collection and all of its records. Requires confirm=true.
- `collections_describe`: Describe a collection, its schema, and permitted inbound/outbound relationship fields.
- `collections_list`: List collections visible to the authenticated user.
- `collections_update_schema`: Add, remove, or update fields in a collection schema.
- `field_filter_delete`: Delete a field-level permission filter
- `field_filter_list`: List field-level permission filters
- `field_filter_set`: Legacy role field filter; prefer permissions_grant with fields and optional where for new rules
- `files_complete_upload`: Verify and finish a prepared file upload after transferring the bytes.
- `files_delete`: Delete a file after explicit confirmation.
- `files_download`: LAST RESORT ONLY: download small files as base64 only when a download link cannot be used. Prefer files_download_link and give the URL to the user or download t
- `files_download_link`: Create a five-minute download link for one file, with no extra login. Prefer this for all downloads: give the link to the user or fetch its raw bytes outside th
- `files_get`: Get metadata for one organization file.
- `files_list`: List organization files, optionally below a path prefix.
- `files_prepare_upload`: Prepare a direct binary upload. Use when you can transfer the local file with HTTP PUT outside the conversation. Send bytes to upload_url with headers, then cal
- `files_upload`
- `files_upload_link`: Create a short-lived browser link for the user to choose and upload one file without sending file contents through the conversation. Prefer this for chat client
- `files_upload_status`: Check whether an upload link has been used and the file is ready. Check when the user says they finished; avoid repeated polling.
- `getting_started`: Read the basics of Last SaaS with a reading list example and optional steps for files, reminders, invitations, agent service accounts, and the audit log. Use wh
- `invitations_accept`: Accept an invitation for the active organization (requires existing membership)
- `invitations_cancel`: Cancel a pending organization invitation
- `invitations_create`: Invite a user with optional permissions, applied automatically when they accept. Members have no collection access by default.
- `invitations_list`: List pending organization invitations
- `members_change_role`: Change an organization member's role
- `members_list`: List organization members
- `members_remove`: Remove a member from the organization
- `notification_preferences_set`: Set default preferences, or preferences for one notification kind.
- `notification_preferences_show`: Show the authenticated user's notification preferences.
- `notification_schedules_cancel`: Cancel an active notification schedule.
- `notification_schedules_list`: List the authenticated user's notification schedules.
- `notifications_delete`: Delete one notification.
- `notifications_list`: List the authenticated user's notifications.
- `notify`: Notify yourself, selected members, roles, or everyone in the organization. Omit timing to send now; use once or recurring timing for reminders. Recipient prefer
- `org_export`: Export a portable organization dump; encrypted secrets require explicit opt-in and matching configured keys.
- `org_import`: Import a portable organization dump after explicit confirmation.
- `organizations_create`: Create an organization and select it for subsequent calls from this MCP client. Ask the user for a name before creating it.
- `organizations_list`: List your organizations and the active organization. A sole organization is selected automatically. Selection is shared by conversations in this MCP client.
- `organizations_select`: Select the active organization for subsequent calls from this MCP client, including its other conversations. You must be a member.
- `permissions_assign_role`: Assign a user to a Casbin role
- `permissions_check`: Check resource-level permission. conditional: true means row/field conditions still apply; this is not authorization for a particular record.
- `permissions_grant`: Add an additive permission grant for role:<name> or user:<id|email>. Optional where and fields apply to a specific /collections/<name> resource. Example: where:
- `permissions_list`: List policies and role assignments for the organization
- `permissions_revoke`: Remove the exact grant, including its where and fields if present. Omitting them removes only the unrestricted grant.
- `permissions_unassign_role`: Remove a user from a Casbin role
- `queues_ack`: Acknowledge successful processing using the current lease token and current consumer grants. Stale or replayed tokens fail; never call before work succeeds.
- `queues_cancel`: Cancel unfinished job with queue manage permission. Invalidates any lease without revealing its token or payload.
- `queues_claim`: Lease available work with current queue read/update permission. Only this result returns lease_token. Processing is at least once: explicitly ack after work suc
- `queues_create`: Create an organization queue with a dynamic payload schema.
- `queues_delete`: Delete a queue with delete permission, only when it has no unfinished jobs.
- `queues_enqueue`: Enqueue an atomic batch of schema-validated messages with queue create permission. Each entry may have available_at (UTC) and an idempotency_key. Returns receip
- `queues_extend`: Extend a current claim with current consumer grants by the queue lease duration. Returns metadata without a token; the original token remains required for expli
- `queues_jobs`: Inspect jobs, their payloads and processing state with queue read permission. Supports payload Where filters and state filters; never returns lease tokens.
- `queues_list`: List readable queue configuration. Does not include entry payloads.
- `queues_nack`: Reject leased work using the current token and consumer grants. Retries with the queue retry backoff, becoming dead at max attempts. Optional error text must om
- `queues_redrive`: Redrive a dead job with queue manage permission. Uses the native retry policy and preserves job identity. Returns metadata without payloads or tokens.
- `queues_show`: Show queue configuration with read permission.
- `queues_update`: Update queue configuration with manage permission. Schema edits require no retained entries.
- `records_aggregate`: Aggregate records with metrics and optional grouping.
- `records_batch`: Insert multiple records into a collection.
- `records_count`: Count records matching an optional filter.
- `records_delete`: Delete a record by collection and ID.
- `records_get`: Get a record by collection and ID, including attachment metadata. Expand reference paths such as company.owner to include permitted related records under expand
- `records_history`: Read up to 30 days of record changes, newest first, using current collection, row, and field permissions. Includes deleted records. Filter by record_id, change_
- `records_insert`: Insert a record into a collection.
- `records_query`: Query records with filters, sorting, pagination, attachment metadata, and optional reference expansion. Use {"partners":{"has":"id"}} for list membership, or {"
- `records_related`: Find records linking to this record through a named reference field. Honors source and target permissions and supports filters, expansion and pagination.
- `records_update`: Update fields on an existing record. Set reference IDs or ordered attachment ID lists to link, detach, replace, or reorder. New targets must be readable. Attach
- `row_filter_delete`: Delete a row-level permission filter
- `row_filter_list`: List row-level permission filters
- `row_filter_set`: Legacy role row filter; prefer permissions_grant with where and optional fields for new rules. condition is a filter object,
- `schedules_create`: Create a schedule that publishes a validated message to a queue at a UTC instant or recurring local time. Requires /schedules write and destination create autho
- `schedules_delete`: Delete a schedule with delete permission on /schedules/<id>.
- `schedules_list`: List visible schedule definitions and safe active/paused status with bounded cursor pagination.
- `schedules_show`: Show a schedule definition, next occurrence and safe pause reason. Requires read on /schedules/<id>; never returns delivery or lease internals.
- `schedules_update`: Edit a schedule, pause with enabled:false or resume with enabled:true. Requires update on /schedules/<id>; merged configuration rechecks the original creator's 
- `secrets_create`: Create an encrypted organization secret. Returns metadata only.
- `server_info`: Return the Last SaaS server, bundled CLI, and API versions, build commit, build and process start times, and authenticated request identity. Use this to identif
- `service_accounts_create`: Create a service account and return a short-lived, one-time token claim URL
- `stats`: Show organization collection, record, file, and storage statistics.

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
