Skip to main content
Glama

opointo

Add a screen to an exported app

add_screen
Read-onlyIdempotent

PAID. Adds one new screen to an app that was already exported: the screen file, the route that mounts it, the exact line to register it, and how to navigate to it. Reads the .opointo/files.json manifest to work out the route tree and never reads or rewrites existing source, so the one edit to an existing file comes back as a line to add rather than a file to overwrite.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabNonest it in this tab's stack so the tab bar stays visible. Omit to put it at the root, where it covers the tab bar (right for a modal).
manifestYesthe parsed .opointo/files.json from the project root
componentNameNoReact component name, e.g. "InvoiceDetail". Defaults to GeneratedScreen.
compositionIdYesshare code for the new screen, from the App Builder

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior, and the description adds valuable context: it never reads or rewrites existing source, and the sole existing-file edit is returned as a line to add rather than a file to overwrite. The 'PAID' flag also discloses a cost dimension not present in annotations.

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?

Three sentences with no filler: the first identifies the action and outputs, the second explains the manifest mechanism, and the third clarifies the non-destructive edit behavior. The key constraints are front-loaded.

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?

Even without an output schema, the description tells the agent what the tool produces: a screen file, a route, a registration line, and navigation instructions. It also explains the read-only edit model, so an agent has enough context to invoke 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 documents all four parameters, including the tab/root distinction and the compositionId meaning. The description does not add parameter-level detail beyond what the schema provides, so the baseline 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 resource: it adds one new screen to an already-exported app, and enumerates the concrete deliverables: screen file, route, registration line, and navigation. The 'already exported' qualifier and manifest-reading behavior distinguish it from siblings like emit_screen.

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 a clear condition for use: the app must already be exported and the .opointo/files.json manifest is required. It implies this is for post-export screen additions rather than initial generation, but it does not explicitly name alternatives or state when not to use it.

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