Skip to main content
Glama

Schema summary for a document type

get_schema
Read-only

Summarises the schema of a Bedrock document type: required fields, valid format_version values, and the name, type and description of every field on that node. It does not return the raw schema — that is far too large. When a node has many fields the summary narrows and says what was shortened in the truncated field; use path to descend into a child node for full detail. Call this before writing a file to learn which fields are required and what format_version must be.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath to descend into the schema, separated by "/". For example "minecraft:entity" or "minecraft:entity/components/minecraft:health". Omit it to get the root summary. An unresolvable path returns an error that lists the valid fields on that node.
typeYesDocument type, e.g. "behavior/blocks", "behavior/entities", "behavior/spawn_rules". The full list is in the get_version_info output.
versionNoGame version under data/, e.g. 1.26.40 or 1.26.40.5. Defaults to the newest available version. Marketing numbers (26.40) are rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With readOnlyHint=true already covering safety, the description adds meaningful behavioral context: the summary is not the raw schema, large nodes are narrowed with a truncation indicator, and descending via path provides fuller detail. This goes beyond the annotations and helps set agent expectations, though it is slightly vague about the exact truncation representation.

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 sentences, each earning its place: the first states the core result, the second clarifies scope and truncation behavior, and the third gives direct usage guidance. No filler or redundant restatement of the tool name.

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 tool with no output schema, the description does a solid job of explaining what is returned, how truncation works, how to get more detail, and when to call it. The schema covers parameter details like defaults and error cases. It is complete enough for an agent to use correctly, though it does not mention where to find the document type list other than via the parameter schema's reference to get_version_info.

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 100%, so the schema already documents path, type, and version thoroughly. The description adds contextual relevance by mentioning required fields and format_version, but it does not add parameter-level detail beyond what the schema already provides, so the baseline score of 3 is appropriate.

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 uses a specific verb ('summarises') and resource ('schema of a Bedrock document type'), then enumerates the exact contents: required fields, valid format_version values, and field metadata. It also explicitly distinguishes itself from returning the raw schema, so an agent can tell what this tool does and does not do.

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 gives clear intended context: 'Call this before writing a file to learn which fields are required and what format_version must be.' It also explains when to use the path parameter to descend into a child node. However, it does not explicitly name alternatives or state when not to use the tool beyond noting that it does not return the raw schema.

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.