Skip to main content
Glama
biztory

Tableau Knowledge MCP

Validate Ossie model

validate_ossie
Read-only

Validates Apache Ossie models in YAML or JSON against the bundled JSON Schema and semantic rules, catching duplicate names, undeclared fields, and unknown datasets locally.

Instructions

Validate an Apache Ossie (formerly OSI) model, given as YAML or JSON text, against the official JSON Schema (0.2.0.dev0, bundled) and the spec's semantic rules: duplicate names, keys and relationship columns that are not declared fields, unknown datasets, qualified names in dataset-scoped metrics. 0.1.1 documents (semantic_model: list) are converted first; pass model_name when one holds several models. Runs locally: nothing is sent to Tableau.

Input Schema

NameRequiredDescriptionDefault
documentYes
model_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the description needn't restate safety, but it adds real context: the bundled schema version, automatic 0.1.1→0.2.0 conversion, and the explicit note that execution is local with nothing sent to Tableau. The enumerated semantic checks further disclose what failure modes to expect. It stops short of describing error/report shape, but an output schema exists for that.

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

Conciseness4/5

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

Front-loaded with verb and resource, then the validation targets, then the conversion caveat, then the locality note — a sensible ordering with little waste. The mid-sentence list of semantic rules is dense but each item is informative rather than padding.

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

Completeness5/5

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

With an output schema present, return values needn't be explained, and both parameters plus the version-conversion edge case are covered. For a two-parameter read-only validator, an agent has everything needed to call it correctly.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the burden and largely does: `document` is identified as YAML or JSON text, and `model_name` is explained as the disambiguator for 0.1.1 documents holding several models. It doesn't clarify `model_name` behavior for 0.2.0 documents or what happens when it's omitted/ambiguous, which is the remaining gap.

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?

States a specific verb (validate) and resource (Apache Ossie model given as YAML/JSON text), plus the exact standard it checks against (bundled JSON Schema 0.2.0.dev0 and spec semantic rules). This is clearly distinguishable from the sibling import/export tools, which move data rather than check it.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent can infer this is a pre-flight check for Ossie documents, and the description gives a conditional rule for `model_name` on multi-model 0.1.1 documents. However, it never names an alternative or says when not to use it (e.g., versus import_from_ossie, which presumably also parses documents), leaving routing to inference.

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