Skip to main content
Glama

Optical App Builder

Preview Checklist or Guide

glasses_preview_document
Read-onlyIdempotent

Convert plain text (notes, checklists, instructions, or menus) into ready-to-use glasses screen cards (max 10 words per card). Cost: free. Auth: none. Use this before creating an app to verify card wording.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "raw_text": "<raw_text>"
    },
    "name": "glasses_preview_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_modeNoApp layout type (defaults to field_checklist for personal apps).
app_nameNoName for the app or checklist.
raw_textYesPlain text to convert into short glasses screen cards.
file_nameNoOptional source file name.
max_cardsNoMaximum number of cards to return (1-25, default 6).
business_nameNoAlias for app_name.

Output Schema

NameRequiredDescriptionDefault
okNo
contractNo
hud_screensNo

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?

Annotations already declare read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new operational facts not present in structured fields: the call is free and requires no auth, plus the card-length shaping rule. It does not explain what happens when raw_text exceeds max_cards or whether a preview persists, which keeps it below the top score.

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?

Two short sentences, with the conversion behavior and its constraint front-loaded before the cost/auth facts and the usage cue. No filler or repetition of the title.

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?

With an output schema present, return values need not be explained, and all parameters are schema-documented, so the description only needs purpose, cost/auth, and sequencing, all of which it supplies. Minor gap: truncation or overflow behavior for long input at the max_cards limit is unaddressed.

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 all six parameters (app_mode enum, max_cards, app_name/business_name aliasing, raw_text) are already documented in the schema. The description adds only the 10-word-per-card constraint, which is an output rule rather than parameter meaning, 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?

States a specific verb and transformation: convert plain text (notes, checklists, instructions, menus) into glasses screen cards, with the output constraint of max 10 words per card. The pairing with 'before creating an app' distinguishes it clearly from the provisioning/update siblings in the catalog.

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?

Gives explicit sequencing guidance: use this before creating an app to verify card wording, which is real when-to-use context. It stops short of naming the concrete alternative (e.g. glasses_provision_personal_app) or stating when not to use it, so it is clear context rather than full routing.

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