Skip to main content
Glama

opointo

Emit a single screen

emit_screen
Read-onlyIdempotent

PAID. Turns one composed screen into a TSX file for an app that already exists, with its own navigator and routes. Returns the complete file inline, the components to install first, and how to mount it. For a whole app with navigation and a tab bar, emit_app is the matching tool. Needs the share code from the App Builder.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
componentNameNoReact component name for the file, e.g. "CheckoutScreen". Defaults to GeneratedScreen.
compositionIdYesthe share code, e.g. "34ca4babb2"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already provide readOnlyHint, idempotentHint, and destructiveHint, covering safety. The description adds value by noting it is PAID, returns the complete file inline, lists components to install, and gives mounting instructions – important behavioral details not captured 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 waste. The PAID marker is front-loaded, the core purpose is stated first, and the sibling alternative and prerequisite are given succinctly. Structure is logical and scannable.

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?

For a single-screen emission tool with no output schema, the description covers the return contents (file, components, mounting) and the required input. It doesn't detail error cases or edge limitations, but given the simplicity and schema completeness, it is largely sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema documents both parameters. The description adds meaning by clarifying that compositionId is the 'share code' and explaining the output includes file, components, and mounting, which enriches understanding of how parameters drive the result.

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 clearly states the verb 'emit' (turns into a TSX file) and the resource (one composed screen), and immediately contrasts with the sibling tool emit_app for whole apps. This distinguishes it from alternatives without ambiguity.

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

Usage Guidelines5/5

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

It explicitly names emit_app as the matching tool for whole apps with navigation and a tab bar, implying this tool is for single screens. It also states the prerequisite of needing the share code from the App Builder, giving clear context for when 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