Skip to main content
Glama

A2UI Atomic Catalog

deck_validate

Read-onlyIdempotent

Check a deck (scene list or A2UI payload) without building it. Returns every error with its slide, field and exact limit, warnings (no speaker notes, no link) and, for a payload, which atoms have no slide recipe. Not rate-limited.

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": "deck_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckNoA typed scene list: {"title","target","scenes":[{"type":"title|bullets|stats|quote|table|media|cta","f":{...fields...},"notes":"speaker notes"}]}. Same scene fields as make_film (eyebrow, headline, sub, kicker, stats as [value,label] pairs, steps/items, quote, name, role, b1/l1, foot). Call deck_schema for every layout and limit. Give deck OR payload.
payloadNoAn A2UI payload {"blocks":[{"type":"quote",...},...]}: each atom with a slide recipe becomes slides, others are listed under `unsupported`, never guessed. deck_schema lists the atoms. Give payload OR deck.
skip_film_onlyNoFor a scene list that came from a film: leave out scenes with no slide layout (chart, chat, word, morph, captions, image) instead of treating them as errors.

Output Schema

NameRequiredDescriptionDefault
okYesTrue when there are no errors.
errorsNoProblems that stop a build, each with slide, code and message.
warningsNoProblems that do not stop a build.
conversionNoHow a payload was converted to a deck, when one was given.
unsupportedNoAtoms the conversion could not carry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "conversion": {
      +      "additionalProperties": true,
      +      "description": "How a payload was converted to a deck, when one was given.",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "errors": {
      +      "description": "Problems that stop a build, each with slide, code and message.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "ok": {
      +      "description": "True when there are no errors.",
      +      "type": "boolean"
      +    },
      +    "unsupported": {
      +      "description": "Atoms the conversion could not carry.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "warnings": {
      +      "description": "Problems that do not stop a build.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still adds real behavioral detail: errors are reported per slide and field with the exact limit, warnings cover missing speaker notes and links, payload atoms without a slide recipe are surfaced rather than guessed, and the tool is not rate-limited.

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?

Four compact sentences, front-loaded with the core action and then the return contract. The parenthetical lists of error/warning categories are dense but each clause carries information an agent needs, and nothing is redundant.

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 an output schema present, the description need not document return shapes, yet it still summarizes errors, warnings and unsupported atoms. Combined with full annotation coverage and a fully described three-parameter schema, an agent has everything required to call it correctly.

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%, so the schema already explains the deck/payload/skip_film_only parameters in depth. The description restates the two input modes and hints at payload behavior, but adds little meaning beyond what the parameter descriptions already provide, so the baseline of 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 ('Check a deck') and immediately names the two accepted input forms (scene list or A2UI payload). The phrase 'without building it' explicitly contrasts with the deck_build sibling, so an agent can pick between them without opening either schema.

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 establishes clear context for use: validate a deck as a dry run instead of building it, and it notes the tool is not rate-limited, which is a practical reason to prefer it for iterative checks. It stops short of explicitly naming deck_schema or deck_build as alternatives or stating preconditions, so it is clear context rather than full when/when-not guidance.

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.