Dart client library for interacting with Montycat, a data governance and semantic search engine. Provides methods for keyspace management, CRUD operations, schema enforcement, semantic search, and policy management.
This Dart client library has severe definition quality issues. While 32 tools are listed, the source code provided does NOT contain explicit MCP tool registration, only Dart class methods in lib/src/classes/ and lib/src/engine.dart. Tool definitions appear to be inferred from method signatures rather than directly visible as MCP tool schemas. Parameter descriptions are often missing or trivial. Output schemas are not documented. Error handling is opaque (no recovery guidance visible). Security considerations (credentials, permission gates) are not apparent in the tool definitions themselves.
Cleans all snapshots associated with this keyspace. Snapshots are only supported for in-memory keyspaces.
Connects to the database engine using an Engine object. Copies connection parameters from the Engine.
Creates a new keyspace with the current configuration.
Creates a new owner with the given username and password.
Creates a new store on the Montycat server.
Deletes multiple keys in one query. Combines bulkKeys and bulkCustomKeys into a single list.
Deletes a single key from the store.
Tool definitions are inferred from Dart method signatures, not explicit MCP tool schemas. No visible tool registration with JSON Schema input/output definitions in the provided source code.
No input schemas visible in source. Tools reference inferred types (e.g., 'Permission enum', 'Map<String, dynamic>') but lack formal JSON Schema definitions with type, required fields, constraints, and examples.
Parameter descriptions are minimal or absent. Tools like grantTo, revokeFrom, createOwner list parameter types but provide no guidance on format, constraints, or validation rules. Example: 'owner' param has no description of valid formats (email vs username vs ID).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 30 | 2026-07-28+ | v2 |
Disables semantic (vector similarity) search.
Initiates snapshots for this keyspace. Snapshots are only supported for in-memory keyspaces.
Enables semantic (vector similarity) search. Without store, this is DB-wide: it flips the whole database on, sets the default embedding model and field, and enrolls every existing keyspace that has no semantic config yet. With store, it is scoped: only that store's un-enrolled keyspaces are enrolled and backfilled.
Enforces a schema for the current keyspace. Converts Dart Types to database-supported types and sends an 'enforce-schema' query.
Retrieves all keys stored in this keyspace. If latestVolume is true, only the latest volume is queried. If volumes is provided, only those volumes are queried.
Gets the semantic search status for the entire database or a specific store/keyspace.
Retrieves the system structure available on the server.
Retrieves a single value by key or customKey. Optionally fetches associated pointers.
Grants a permission to an owner. Optional keyspaces can be specified to limit scope.
Inserts multiple values into the keyspace in a single bulk operation.
Insert a custom key into the keyspace.
Inserts a value under a specified customKey.
Inserts a single value into the keyspace.
Lists all existing owners in the system.
Looks up keys in the keyspace matching search criteria.
Looks up values in the keyspace matching search criteria.
Re-embeds the whole store or keyspace with a new model and/or field.
Removes a previously enforced schema from the keyspace.
Removes an existing owner.
Removes an existing store from the Montycat server.
Revokes a permission from an owner. Optional keyspaces can be specified to limit scope.
Performs semantic (vector similarity) search on the keyspace.
Stops ongoing snapshots for this keyspace. Snapshots are only supported for in-memory keyspaces.
Update cache and compression settings for this keyspace.
Updates a value in the keyspace for the given key or customKey.
Tool names use inconsistent patterns. Prefer 'initiate_snapshots' or 'create_snapshots'. Tools like 'getStructureAvailable' are verbose and vague, 'describe_schema' or 'list_schemas' would be clearer.
Output schemas are not documented. Tools return responses with 'status', 'payload', 'error' structure visible in example/main.dart, but no formal definition of return types, field descriptions, or error classifications.
No error handling guidance visible. Tool descriptions do not explain retryability, user-fixable vs fatal errors, or recovery paths. Example: createOwner lacks error cases for duplicate username, invalid password format, or permission denial.
Destructive operations (removeStore, removeOwner, deleteKey, deleteBulk) have no confirmation/dry-run mechanism or safety warnings in tool descriptions. No evidence of permission gates or audit logging.
Password parameter exposed in createOwner tool. Credentials should never be tool parameters, use server-side secret injection. Passwords in tool calls will be logged in traces.
Permission and scope declarations missing. Tools like grantTo, revokeFrom, removeOwner do not declare required permissions (e.g., 'admin:access', 'write:governance'). No evidence of permission gates in tool definitions.
Parameter composition issues. Tools like updateValue accept both 'key' and 'customKey', and lookupValuesWhere accepts optional 'schema', but no documentation of mutual exclusivity, precedence, or dependency rules.