Skip to main content
Glama

validate_schema_data

Read-onlyIdempotent

Validates schema data in a dry run before creating or updating schemas, using the same Ajv validation as the actual operations. Returns errors, warnings, and infos to avoid trial-and-error.

Instructions

Valida schema_data sem salvar (dry-run) — MESMA validação Ajv do create_schema/update_schema. Use SEMPRE antes de criar/atualizar schemas para evitar tentativa e erro. O contrato formal de cada tipo está no resource zihin://schemas/{schema_type}. Retorna erros, warnings e infos de validação.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schema_dataYesDados do schema a validar (mesma estrutura de create_schema)
schema_typeYesTipo do schema a validar (todos os tipos canônicos — trigger_config/csp_config são validados aqui mas criados via create_trigger/create_csp)
Install Server

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark it read-only/idempotent/non-destructive, and the description adds valuable behavioral context: no persistence (dry-run), identical validation to create/update_schema, and the return categories 'erros, warnings e infos.' This goes well beyond the annotation hints.

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?

Three compact sentences place the core behavior first, the usage rule second, and the result/contract info last. Every sentence earns its place with no repetition or filler.

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?

For a two-parameter validation tool with no output schema, the description covers what it does, when to use it, what it returns, and where to find the formal type contract. The schema fills in the remaining parameter details, making it complete.

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%, with both parameters described and schema_type having a detailed enum. The description's 'same structure as create_schema' pointer adds a little cross-tool context, but the schema already carries the parameter meaning, so baseline 3 applies.

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 opens with a specific verb and resource: 'Valida schema_data sem salvar (dry-run)' and anchors the behavior to 'MESMA validação Ajv do create_schema/update_schema.' This clearly distinguishes it as the validation-only counterpart to the create/update schema tools.

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

Usage Guidelines4/5

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

It gives an explicit directive: 'Use SEMPRE antes de criar/atualizar schemas para evitar tentativa e erro,' providing a clear when-to-use rule. It does not mention exclusions or alternative validation tools, so it stops short of a full 5.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zihin-ai/zihin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server