6. Schemas
6.1 Tools
Section titled “6.1 Tools”The tools of section 2 MUST accept @schema as the collection argument, with the Slug of the described Collection as id (Schema SCHEMA_COLLECTION).
MCP_SCHEMA_TOOLS MAY
Servers MAY also expose the tools crud.schema.get, crud.schema.list, crud.schema.create, crud.schema.clone, crud.schema.patch, crud.schema.replace and crud.schema.delete, equivalent to the tools of section 2 with collection: "@schema", with the same arguments except collection.
MCP_SCHEMA_CLONE MUST
crud.clone with collection: "@schema", and crud.schema.clone, MUST receive newId (Schema SCHEMA_CLONE_ID).
MCP_SCHEMA_DERIVE MUST
The “Derive” Parameter (Schema SCHEMA_DERIVE) MUST be sent as the boolean argument derive of crud.create and crud.replace (and of crud.schema.create and crud.schema.replace). The Server MUST fail with the INVALID_INPUT code when derive is sent with a Collection other than @schema.
6.2 Linking Resources to their schema
Section titled “6.2 Linking Resources to their schema”MCP_SCHEMA_META SHOULD
Results of crud.get and crud.list on a Collection with a registered schema SHOULD include, in _meta, the key dev.lingodata/crud.schema with an object holding the collection and the version of its schema.
Servers MAY expose the schema Resource of every Collection, including Collections without a registered schema (Schema SCHEMA_NULL), as an MCP resource with the URI template lingodata-crud://schema/{collection} and the MIME type application/json, whose content is the schema Resource (_id, validation, schema and _meta).
6.3 Collection tools
Section titled “6.3 Collection tools”MCP_SCHEMA_INPUT SHOULD
Collection tools (MCP_COLLECTION_TOOLS) on a Collection with a registered schema SHOULD use that schema, compiled as specified by ESType (ESType section 2), in their inputSchema for the resources and resource arguments.
Collection tools on a Collection with a strict schema MAY declare an outputSchema built from it, compiled as specified by ESType (ESType section 2). They MUST NOT declare one for a lenient schema.
6.4 Errors and Warnings
Section titled “6.4 Errors and Warnings”MCP_SCHEMA_ERRORS SHOULD
The Problem Details object of a SCHEMA_STRICT error SHOULD carry the violations (Schema SCHEMA_VIOLATION_DETAILS) in an errors member, and each SCHEMA_VIOLATION Warning in dev.lingodata/crud.warnings SHOULD have the members instance (the instanceLocation) and keyword (the keywordLocation).
Source: lingodata/crud@bc225ba · specs/mcp/sections/06-schema.md · mcp 0.2.0 (draft) · MCP revision 2026-07-28
LingoData specifications, reference implementations and this site are licensed under the Apache License 2.0. Copyright 2026 Gustavo Gondim.