Skip to main content
Glama

Validate a cartridge

validate_cartridge
Read-onlyIdempotent

Check a Slopbox cartridge (a whole game as one text file, the format of cart.slopped.site: meta lines, then [palette] [sprite] [map] [sound] [music] [shader] [text] [game] sections) with the same validator the Slopbox Game Builder and the console run. Use when writing or fixing a cartridge before playing it. Returns whether it is valid, every problem with its line and section, and what it contains; nothing is stored or played. The full spec: https://cart.slopped.site/spec.md (for people: https://cart.slopped.site/docs/). How to write a good one: https://cart.slopped.site/skills/writing-cartridges/SKILL.md

Input Schema

NameRequiredDescriptionDefault
textYesThe cartridge, exactly as the file: it starts with the line "cart 1".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description adds meaningful behavior: it uses the same validator as the Game Builder and console (consistency guarantee), reports validity plus every problem with line and section plus contents, and confirms nothing is stored or played. That is exactly the kind of side-effect and return-shape context annotations cannot convey.

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 purpose is front-loaded and the paragraph flows from what it is, to when to use it, to what it returns. The three trailing URLs are somewhat heavy and the spec/docs pair is mildly redundant, but the parenthetical format summary is genuinely useful rather than 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?

With one required parameter, no output schema, and clear annotations, the description covers everything an agent needs: input format, validation semantics, return contents, and the absence of side effects. No significant gap remains.

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 single parameter already has a schema description, but the description adds format knowledge the schema lacks: meta lines followed by [palette] [sprite] [map] [sound] [music] [shader] [text] [game] sections. This helps the agent construct valid input, though it does not discuss the 65536 max length.

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 and resource ("Check a Slopbox cartridge") and even defines what a cartridge is, including its meta lines and section list. It is unambiguous about the operation, though it does not explicitly contrast itself with the sibling check_spec, leaving a small chance of confusion between two similarly named validation 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?

"Use when writing or fixing a cartridge before playing it" states a clear triggering context, and "nothing is stored or played" implicitly excludes using it as a play/execute step. There is no explicit when-not or named alternative, so it falls short of the top band.

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.

Resources