Skip to main content
Glama

Validate data against a named standard

validate_data
Read-only

Use this when a payload needs checking against a non-Open-Footprint standard; call list_standards first. For Open Footprint use ofp_validate.

Only masterData or referenceData.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "standard": "<standard>",
      "data": "<data>"
    },
    "name": "validate_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes
versionNo
standardYes
entityTypeNo
schemaCategoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / schemaCategory / description
      Removed value: -"masterData (default) or referenceData"
  2. 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"
  3. First observed

TDQS

A4/5.0
Behavior3/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 safety profile is covered. The description adds useful context beyond that: the required prior call to list_standards and the masterData/referenceData restriction. However, it says nothing about what a validation outcome looks like or how invalid payloads are reported, and does not explain the idempotentHint=false flag.

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?

Two short, front-loaded sentences with the alternative and prerequisite placed where an agent will see them first. The trailing fragment 'Only masterData or referenceData.' is terse but slightly redundant against the schema enum, which keeps it from a 5.

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 read-only validation call the routing guidance is solid, but with five parameters at 0% schema coverage, a nested 'data' object, and no output schema, the description should say more about the shape of the payload and the entityType/version inputs. It also leaves the agent guessing what a validation response contains.

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 0% across five parameters (standard, data, version, entityType, schemaCategory), so the description must carry the load. It only hints that 'standard' comes from list_standards and restates the schemaCategory enum values ('Only masterData or referenceData'), which adds no meaning beyond the schema; data, version, and entityType are left entirely undefined.

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?

The description names a concrete action (checking a payload against a named standard) and immediately scopes it to non-Open-Footprint standards, explicitly naming ofp_validate as the tool for the other case. An agent can distinguish this from ofp_validate without inspecting either schema.

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?

It states the triggering condition ('when a payload needs checking against a non-Open-Footprint standard'), names the alternative and when to use it ('For Open Footprint use ofp_validate'), and gives an ordering prerequisite ('call list_standards first'). This is explicit when/when-not/alternative guidance.

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.