Skip to main content
Glama

Optical App Builder

Update App Content

glasses_update_screens
Idempotent

Replace the live screen cards, spoken prompt, or layout on an existing smart-glass app. Cost: free. Auth: requires management_token (qat_*) or Authorization: Bearer header.

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": {
      "app_id": "<app_id>",
      "hud_screens": "<hud_screens>"
    },
    "name": "glasses_update_screens"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesApp ID returned when the smart-glass app was created (starts with app_).
app_modeNoApp layout type (defaults to field_checklist for personal apps).
hud_screensYesNew screen cards (each 10 words or fewer).
voice_whisperNoOptional new spoken prompt.
hud_module_slugNoOptional screen layout name.
management_tokenNoOne-time edit token returned when the app was created (starts with qat_).

Output Schema

NameRequiredDescriptionDefault
okNo
app_idNo
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?

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), it discloses two operationally important facts: the call is free and it requires either a qat_* management_token or a Bearer Authorization header. The word 'Replace' also signals live-content overwrite semantics that the annotations do not convey. It does not mention rate limits or how omitted fields are treated.

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 tight sentences with zero filler; the mutation scope is front-loaded and the operational facts (cost, auth) follow immediately. Nothing would be lost by keeping it exactly as is.

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?

An output schema exists, so return values need no explanation, and the description covers the auth and cost dimensions an agent needs before calling. For a six-parameter mutation it could say more about partial-update behavior when only one of hud_screens, voice_whisper or hud_module_slug is supplied, but the essentials are present.

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 every parameter including app_id, hud_screens, voice_whisper and management_token is already documented in the schema with patterns and enums. The description adds no parameter-level detail beyond what the schema supplies, 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 names a specific verb and resource ('Replace the live screen cards, spoken prompt, or layout') and scopes it to 'an existing smart-glass app', which cleanly separates it from creation/provisioning or read-only siblings such as glasses_get_app_status. An agent can identify exactly what changes without opening the 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 the precondition that the app must already exist and that the caller must present a token minted at creation time, which routes the agent away from provisioning tools. It does not explicitly state when-not to use it (e.g. versus a preview tool) or name an alternative, so it stops short of full routing 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.

Resources