Skip to main content
Glama

Build an app from a design

emit_app
Read-onlyIdempotent

Needs a subscription. Generates the code of a working Expo / React Native app from a design in the Architect: navigation, providers, tab bar, screens and the components they use. Returns a recipe for the current project: every file with its target path, one install line and ordered steps with a check each. Pass step for one step in full, which does not count against the daily allowance.

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": {
      "appId": "<appId>"
    },
    "name": "emit_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNofor step write or review; each page names the next
stepNoa step id from the recipe, or "review" for the screen list
appIdYesthe Architect's "Send app to agent" share code, e.g. "34ca4babb2"
overrideNoemit even with screens flagged not ready; ask the customer first

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / appId / description
      Previous value: -"the share code from the Designer's \"Send app to agent\", e.g. \"34ca4babb2\""New value: +"the Architect's \"Send app to agent\" share code, e.g. \"34ca4babb2\""
  2. Changed1 schema field changed
    • changedInput schema / properties / appId / description
      Previous value: -"the share code from the App Designer's \"Send app to agent\", e.g. \"34ca4babb2\""New value: +"the share code from the Designer's \"Send app to agent\", e.g. \"34ca4babb2\""
  3. Changed1 schema field changed
    • changedInput schema / properties / appId / description
      Previous value: -"the share code from the App Builder's \"Send app to agent\", e.g. \"34ca4babb2\""New value: +"the share code from the App Designer's \"Send app to agent\", e.g. \"34ca4babb2\""
  4. Changed4 schema fields changed
    • changedInput schema / properties / appId / description
      Previous value: -"the share code, e.g. \"34ca4babb2\""New value: +"the share code from the App Builder's \"Send app to agent\", e.g. \"34ca4babb2\""
    • changedInput schema / properties / override / description
      Previous value: -"emit even when screens are flagged as not ready. Ask the customer first; the flags exist for a reason."New value: +"emit even with screens flagged not ready; ask the customer first"
    • addedInput schema / properties / page
      Added value: +{
      +  "description": "for step write or review; each page names the next",
      +  "type": "number"
      +}
    • addedInput schema / properties / step
      Added value: +{
      +  "description": "a step id from the recipe, or \"review\" for the screen list",
      +  "type": "string"
      +}
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare this as a safe, idempotent, non-destructive local read; the description adds substantial context beyond them: a subscription prerequisite, a metered daily allowance, and a precise description of the returned recipe (every file with target path, one install line, ordered steps each with a check). That recipe description also usefully resolves the apparent tension between 'generates code' and readOnlyHint=true by making clear nothing is written to disk.

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?

Three dense sentences with no filler, and the prerequisite is front-loaded so the agent sees the blocking condition first. Slightly heavy clause stacking in the recipe sentence, but every clause carries information an agent needs.

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 no output schema, the description correctly takes on the burden of explaining the return value, and it does so concretely. It also covers the subscription gate and the quota behavior of step mode. The only modest gap is how the recipe is meant to be consumed next (e.g., installing components or verifying), which is left to sibling tools the description never names.

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 a 3 is the baseline, but the description genuinely adds meaning: it explains that `step` returns one step in full and that this mode is exempt from the daily allowance, which is quota semantics the schema does not convey. It does not clarify `page` beyond what the schema's own 'each page names the next' note already says.

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

Purpose4/5

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

States a concrete verb and resource: generates the code of a working Expo / React Native app from an Architect design, and enumerates what is generated (navigation, providers, tab bar, screens, components). It also clarifies the artifact is a recipe for the current project rather than files written directly. It does not explicitly distinguish itself from siblings like propose_app or get_app_setup, so it stops short of 5.

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?

Usage is implied rather than spelled out: the agent learns that passing `step` returns one step in full and that this does not count against the daily allowance, which is a real routing cue. However, there is no explicit when-to-use versus when-not-to-use guidance relative to propose_app, verify_app, or get_app_setup, and no stated precondition beyond 'needs a subscription'.

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.