Skip to main content
Glama

ai_screen

List, add, switch, or remove App Inventor screens; only the screen open in the Designer can be edited.

Instructions

Screens: list/add/switch/remove. Only the screen open in the Designer can be edited.

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

Input Schema

NameRequiredDescriptionDefault
nameNoScreen name (add/switch/remove)
actionNoWhat to do

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and falls short. It discloses one important constraint (editing limited to the Designer's open screen) but says nothing about whether 'remove' is irreversible, whether switching discards state, what permissions are needed, or what a call returns.

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?

Two short, front-loaded sentences with no filler, and the operation scope precedes the editing constraint. Slight redundancy in re-listing the enum values from the schema keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation-capable tool with four actions, no annotations, and no output schema, the definition is too thin. It never explains what 'list' returns, what happens on 'remove', or how 'switch' interacts with the Designer's open screen the way 'name' does.

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% and the 'name' parameter already documents that it applies to add/switch/remove, so the schema does the heavy lifting. The description adds no format, naming convention, or required/optional nuance beyond what the schema states, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource ('Screens') and enumerates the four operations, which does let an agent grasp the tool's domain at a glance. However, the operation list merely restates the 'action' enum already present in the schema, so the distinct purpose beyond structured data is thin, and no sibling tool is contrasted.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The clause 'Only the screen open in the Designer can be edited' is a genuine usage constraint that tells the agent when edits will succeed. There is no guidance on choosing this tool over the many ai_* siblings, and no when-not-to-use or prerequisites beyond that single constraint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.