Skip to main content
Glama
us-all

openmetadata-mcp-server

validate-data-contract

Validates a data contract by comparing schema rules against actual entity state and retrieving latest quality test results for each linked expectation.

Instructions

Read-only validation of an OM 1.12+ Data Contract against the actual entity state. Reports per-rule schema findings (column existence, type, nullable/constraint match) + latest test case result for each linked qualityExpectation. Companion to the data-contract-bootstrap Prompt — bootstrap infers, this validates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contractFqnYesFully qualified name of the Data Contract to validate (e.g. 'orders.contract.v1')
includeQualityResultsNoFetch latest test case result for each quality expectation. Default true.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Discloses read-only nature and describes output details (per-rule findings, test case results) without annotation support. No contradictions. Adequately communicates behavioral traits beyond what schema provides, though could mention if contract must exist or error handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with action and output, second provides context. No redundant information. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given schema covers parameters and output schema is absent, description adequately explains return structure (per-rule findings, test case results). Could mention prerequisites (e.g., contract exists) but overall sufficient for a focused validation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with both parameters already described succinctly. Description does not add new parameter information beyond what schema provides, so baseline 3 is appropriate. No need for extra param details here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states 'Read-only validation of an OM 1.12+ Data Contract against the actual entity state' and lists specific outputs (per-rule schema findings, test case results). Distinguishes from sibling tools like 'run-data-contract-validation' and 'get-data-contract-by-name' by emphasizing read-only and validation nature.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly notes read-only behavior and positions as companion to data-contract-bootstrap Prompt ('bootstrap infers, this validates'). Provides clear context for when to use (post-bootstrap validation) without explicitly stating exclusions, which is acceptable given the tool's specificity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/us-all/openmetadata-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server