Skip to main content
Glama
ZTUmber

datapack-check-mcp

by ZTUmber

Check datapack file

check_file

Run Spyglass diagnostics on a Minecraft datapack file to detect syntax, schema, and reference issues. Returns the path, line, severity, and message for each problem found.

Instructions

Run Spyglass (Datapack Helper Plus engine) diagnostics on one Minecraft datapack file (.mcfunction, pack JSON, .mcmeta, .snbt, .mcdoc). Returns path/line/severity/message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute or relative path to the datapack file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It conveys that this is a diagnostic/read-only style operation and discloses the result shape (path/line/severity/error message), which is especially valuable since there is no output schema. It does not mention error handling or side-effect caveats, but it is transparent about what the tool does and returns.

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?

A single sentence with no filler. It front-loads the main action, then compactly specifies target file types and return fields, so every clause earns its place.

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 one-parameter tool with no output schema and no annotations, the description covers the essential invocation details: what input is expected, what file types are supported, and what the tool returns. It lacks an explicit comparison to check_project, but the description's single-file scope makes the intended use clear.

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

Parameters4/5

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

The input schema already fully documents the single path parameter, so the baseline is 3. The description adds meaning beyond the schema by specifying which file types are valid targets, which enriches an otherwise generic 'path' string.

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 specific verb and resource ('Run Spyglass diagnostics on one Minecraft datapack file') and lists supported file types. The 'one ... file' framing clearly distinguishes it from the sibling project-level check_project.

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?

The description clearly scopes the tool to a single file rather than a whole project, giving an agent the key context for when to invoke it. It does not explicitly name check_project as the alternative or state exclusions, so it falls just short of a 5.

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

Deploy Server

Other Tools