Skip to main content
Glama

validar_spec

Checks the world.json specification and reports errors and warnings with each issue's JSON path so you can locate and fix problems before generating ARK map terrain.

Instructions

Confere o mundo.json e lista erros e avisos (com o caminho de cada problema dentro do JSON).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validar_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
caminhoNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the useful behavioral detail that the tool reports problems with their in-JSON paths rather than just failing, which implies a non-destructive read. However, it never states whether the tool is read-only, what happens on a missing/malformed file or invalid path, or whether it aborts versus accumulating all findings.

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?

One sentence, front-loaded with the action and resource, then the output guarantee in a parenthetical. Nothing redundant and nothing buried.

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 the return structure (errors/warnings) need not be spelled out. Still, for a validation entry point with zero annotation coverage, the missing information about the optional path argument and whether the check is read-only leaves real gaps.

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% and the single parameter ("caminho", optional, default null) is entirely undocumented. The description never mentions this parameter or explains what happens when it is omitted (presumably a default mundo.json), so the agent cannot tell whether it may validate an arbitrary file.

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 gives a specific verb ("Confere") and resource ("mundo.json") and states the outcome: errors and warnings with the JSON path of each problem. It does not name or distinguish itself from any sibling generator (gerar_agua, gerar_camadas, etc.), which would help an agent route between validation and generation.

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 when-to-use or when-not guidance; the description never says this should run before the gerar_* generation tools or on what kind of file. The agent must infer the workflow position entirely from the purpose sentence.

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