Skip to main content
Glama

add_screen

PAID. Add 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 .recipebooq/files.json manifest to work out the route tree — it never reads or rewrites your source, so the one edit to an existing file is handed to you 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 .recipebooq/files.json from the project root
componentNameNoReact component name, e.g. "InvoiceDetail". Defaults to GeneratedScreen.
compositionIdYesshare code for the new screen, from the composer

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Explicitly states it reads the .recipebooq/files.json manifest, never reads or rewrites source, and returns a line to add rather than overwriting a file. This is unusually clear about side effects and non-effects.

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?

The description is dense but compact, packing key workflow information into two sentences. Somewhat run-on due to the em-dash clause, but no fluff.

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?

Given the absence of an output schema, the description explains the core workflow (manifest read, route tree, line edit) and the intended context (already exported app). It doesn't specify return format, but that is not required here.

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 descriptions cover all four parameters, but the tool description itself does not add additional parameter-level detail. Since schema coverage is 100%, this meets baseline but doesn't exceed it.

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?

Clearly states it adds one new screen to an already exported app, distinguishing it from emit_screen/emit_app by focusing on registration and navigation rather than creation. The verb 'Add' and resource 'screen to an app' are specific.

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?

Provides context that it is for apps already exported and that it uses the manifest to determine the route tree, implying it should be used when adding a screen to an existing app's navigation. Does not explicitly name alternatives, but the 'already exported' condition gives enough 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