https://convex.memorycrystal.ai.
When to use
Use research tools for structured collections, source records, evaluation runs, and evidence lineage. Use remember for a single durable lesson and KB import for ordinary reference text. Research trace follows run evidence; memory trace follows conversation snapshots.
Tool results contain the HTTP result as JSON text. Research HTTP responses add
schemaVersion: "research.v1" and requestId; errors can include code and retryable. Failed tool calls set MCP isError.
Ingestion routes
Ingestion uses operation-specific structured records, not arbitrary durable-memory capture. Raw third-party code is quarantined as an artifact and is not executed by these tools.
Query and promotion
Stdio query acceptsitemType, reviewStatus, run status, agentId, channel, cursor, and limit (1–100). Semantic queries additionally accept query, embedding (3,072 numbers), and model. HTTP supports additional kind-specific filters; unknown fields can be rejected. Use returned cursors for bounded item/run pages. HTTP adds nextCursor, which is null when the page is done; otherwise pass it as cursor on the next request.
Promotion requires collectionId, itemId, runId, and datasetId, with optional knowledgeBaseId and a reason. It validates the finding before publishing into a KB. Demotion uses promotionId and a reason. Trace returns the run’s linked research evidence, rather than a conversation snapshot.
Research collections are owned by the authenticated account. Scoped credentials and visibility checks can further restrict access. Collection identity and channel fields are not substitutes for separate accounts.
Examples
Examples use placeholder IDs. Replace them with IDs returned by your account. MCP examples show the JSON tool arguments and the JSON inside the tool result, not the outer MCP envelope.Create a research collection
Callcrystal_research_create_collection:
Query collection items
Request:Check a job
Request:Work through a collection
- Create a collection for the research domain and retain its ID.
- Ingest operation-specific source, item, dataset, and run records; save each returned ID.
- Query items or runs and follow the returned cursor while
isDoneis false. - Trace a run to inspect its evidence before promotion.
- Promote a validated result with its item, run, dataset, and reason. Demote a promotion by its promotion ID when it should no longer be used.
Errors and common mistakes
Hosted MCP does not advertise these names; use stdio or the documented HTTP routes. Missing operation-specific IDs are errors. Readcode and retryable: correct invalid input or access before retrying, and honor Retry-After for transient throttling. A collection or job ID is not interchangeable with a run or promotion ID.