Skip to main content

Views, Sharing, and Report Tools

Use these tools to create reusable filtered Views, share records and forms, and build saved reports.

Views

ToolWhat it does
anydb_list_viewsLists accessible Views with decoded scope, target types, and filters.
anydb_get_viewGets one View's complete definition.
anydb_create_viewCreates a filtered workspace View or direct-child View.
anydb_update_viewRenames a View or replaces its complete targets and filters.
anydb_delete_viewPermanently 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.

Views are not type-page tabs

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

ToolWhat it does
anydb_list_team_groupsLists stable group names that can receive private shares.
anydb_list_sharesLists accessible record and form share facets.
anydb_get_shareGets one share facet by shareId and kind.
anydb_create_shareCreates a public or private record or form share.
anydb_revoke_shareRevokes 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

ToolWhat it does
anydb_list_reportsLists saved reports in a workspace with their IDs and names.
anydb_get_reportGets one report's complete definition.
anydb_create_reportValidates or creates a saved grouped and aggregated report over one type.
anydb_update_reportRenames 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, and count metrics
  • 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.