Skip to main content
Glama

validate

Check JSON data against the dataKeys schema to catch schema mismatches before release pipeline or catalog operations.

Instructions

Validate JSON against the dataKeys schema.

Args: data_json: JSON string to validate.

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": {
      "data_json": "<data_json>"
    },
    "name": "validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
data_jsonYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does state the input is a JSON string validated against a named schema, and a dedicated output schema covers return values. It omits entirely what happens on invalid input (error vs. result field), whether validation is strict, and where the dataKeys schema comes from.

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?

The core statement is a single front-loaded sentence with no filler. The trailing 'Args:' block largely restates the schema and could be dropped.

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

Completeness3/5

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

An output schema exists, so return values needn't be explained, and the single-parameter surface is simple. Still missing is any definition of the target 'dataKeys schema' and failure behavior, which are the main things an agent needs to call this correctly.

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 0%, so the description must compensate, and it does minimally by clarifying that data_json is a JSON string to be validated. It adds no format examples, size limits, or encoding requirements beyond that.

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

Purpose3/5

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

The description names a specific verb (validate) and resource (JSON against the dataKeys schema), which is better than a tautology. However, 'the dataKeys schema' is undefined jargon with no pointer to its source, and nothing distinguishes this tool from siblings such as schema or search, so an agent cannot fully pin down the purpose.

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?

There is no guidance on when to call this tool, what preconditions exist, or which sibling to use for related schema checks. The agent must infer usage from the name alone.

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