Skip to main content
Glama
SemanticDataCharter

sdcgovernance

Official

validate_governance

Validates an XML instance's governance content against an SDC data model and returns a PERMIT/DENY decision, validation status, and errors.

Instructions

Full governance validation of an instance against its model. Returns decision, has_governance, errors, dimensions_validated.

Input Schema

NameRequiredDescriptionDefault
schema_pathYesPath to the SDC data model XSD file.
instance_pathNoPath to the XML instance file. Optional - if omitted, returns model governance status only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses the return fields and the model-only mode, but it does not state whether validation is read-only, what permissions are needed, or how errors are reported beyond returning an 'errors' field.

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 compact sentences, with the core action front-loaded and the return fields listed immediately afterward. There is no redundant or filler text.

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?

For a two-parameter validation tool with no output schema, the description provides enough to understand the core behavior and returned fields. It could be stronger by clarifying read-only behavior or error semantics, but the essential context is present.

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 coverage is 100%, so both parameters are already fully documented in the input schema. The description adds no syntax or format detail beyond what the schema provides, which fits the baseline of 3.

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

Purpose4/5

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

The description uses a specific verb and resource: 'Full governance validation of an instance against its model.' This clearly distinguishes it from status-only siblings such as get_governance_status, though it does not explicitly name an alternative.

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

Usage Guidelines2/5

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

It explains the behavior when instance_path is omitted, but that same information is already in the schema. It gives no guidance on when to choose this tool over get_governance_status or evaluate_decision.

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