Skip to main content
Glama

Validate data against a named standard

validate_data
Read-only

Use this when a user wants a payload checked against a standard other than Open Footprint; call list_standards first to see which are supported. For Open Footprint payloads use ofp_validate.

Only masterData or referenceData; call list_standards first.

Input Schema

NameRequiredDescriptionDefault
dataYes
versionNo
standardYes
entityTypeNo
schemaCategoryNomasterData (default) or referenceData

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / data / description
      Removed value: -"The data payload to validate"
    • removedInput schema / properties / entityType / description
      Removed value: -"Entity type within the standard"
    • changedInput schema / properties / schemaCategory / description
      Previous value: -"Schema category within the standard: \"masterData\" (default) or \"referenceData\". Only these two are served; other spellings such as \"reference-data\" fail to resolve."New value: +"masterData (default) or referenceData"
    • removedInput schema / properties / standard / description
      Removed value: -"Standard id, e.g. from list_standards"
    • removedInput schema / properties / version / description
      Removed value: -"Standard version"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare a safe read-only, non-destructive, closed-world operation, so safety context is covered. The description adds little beyond that: it never says what validation produces (pass/fail, error list, severity), how strict validation is, or what version mismatches do. The masterData/referenceData restriction merely restates the schema enum.

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

Conciseness3/5

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

Two short sentences with no filler, but 'call list_standards first' appears twice, making the second line redundant. It also opens with usage guidance instead of a front-loaded statement of what the tool does.

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

Completeness2/5

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

For a tool with five parameters, a nested object payload, and no output schema, the description omits what the data object must look like, what version and entityType control, and what a successful versus failed validation looks like. Routing guidance is complete, but invocation-critical detail is missing.

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

Parameters2/5

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

Schema description coverage is only 20% across five parameters, so the description must compensate and largely does not. It implies the standard name must come from list_standards, but says nothing about version, entityType, or the shape/requirements of the nested data payload, and its category note duplicates the schema enum text.

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 first sentence states what the tool does (a payload is 'checked against a standard other than Open Footprint') and immediately names the scoping condition. It cleanly distinguishes itself from ofp_validate, though it leads with usage rather than a plain statement of purpose.

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

Usage Guidelines5/5

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

Explicit when-to-use (non-Open Footprint standards), explicit alternative (ofp_validate for Open Footprint payloads), and an explicit prerequisite (call list_standards first to see supported standards). Nothing about tool routing is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.