Views, Sharing, and Report Tools
Use these tools to create reusable filtered Views, share records and forms, and build saved reports.
Views
| Tool | What it does |
|---|---|
anydb_list_views | Lists accessible Views with decoded scope, target types, and filters. |
anydb_get_view | Gets one View's complete definition. |
anydb_create_view | Creates a filtered workspace View or direct-child View. |
anydb_update_view | Renames a View or replaces its complete targets and filters. |
anydb_delete_view | Permanently deletes a confirmed View. |
Call anydb_list_views before creating a View to avoid duplicates. A workspace View is attached to the workspace root; a children View is attached to a specific parent and filters its direct children.
The named filters shown as tabs on a type's listing page are a separate feature. MCP View tools do not read or write those tabs. A created View can be queried by passing its viewId as parentid to list_records and is available from the workspace's saved Views.
Sharing
| Tool | What it does |
|---|---|
anydb_list_team_groups | Lists stable group names that can receive private shares. |
anydb_list_shares | Lists accessible record and form share facets. |
anydb_get_share | Gets one share facet by shareId and kind. |
anydb_create_share | Creates a public or private record or form share. |
anydb_revoke_share | Revokes one record or form share facet while preserving any other facet on the same share. |
Call anydb_list_shares before creating a share so existing compatible public links can be reused. Private shares accept email addresses or stable group names returned by anydb_list_team_groups; do not guess internal group IDs.
Record shares can use viewer or editor access and optionally include attachments. Form shares target a stable type name and can identify the parent that receives submissions.
Reports
| Tool | What it does |
|---|---|
anydb_list_reports | Lists saved reports in a workspace with their IDs and names. |
anydb_get_report | Gets one report's complete definition. |
anydb_create_report | Validates or creates a saved grouped and aggregated report over one type. |
anydb_update_report | Renames a report, replaces its complete definition, or validates a proposed update. |
Call anydb_list_reports before creating a report to avoid duplicates. Report definitions support:
- A stable
templateName - Field and date-bucket grouping by day, week, month, quarter, or year
- Selected output fields
sum,avg,min,max, andcountmetrics- Filter expressions
- Subtotals and grand totals
- Candidate-record, group, and cell-document limits
- IANA time zones for date boundaries
Use validateOnly: true to check a report definition without saving. Sending definition to anydb_update_report replaces the complete definition, so include every setting that must remain.