Skip to main content
Glama
ItamiForge

react-native-toolkit

by ItamiForge

generate-component-scaffold

Generates production-ready, type-safe React Native boilerplate code for lists, forms, navigation, API calls, and more. Customize scaffolds by library, category, or template to speed up development.

Instructions

Generates boilerplate code for common React Native patterns like FlatList, navigation screens, forms, API calls, and more. Returns production-ready, type-safe code following best practices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
libraryNoFilter scaffolds by library
categoryNoFilter scaffolds by category
languageNoTarget languagetypescript
scaffoldIdNoID of the scaffold template (e.g., 'flatlist-basic', 'stack-navigator', 'form-basic')
listScaffoldsNoIf true, returns list of available scaffolds instead of generating code
styleApproachNoStyling approachstylesheet
customizationsNoKey-value pairs for template variable substitution (e.g., {componentName: 'UserList', itemType: 'User'})
includeCommentsNoInclude explanatory comments in generated code
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavior disclosure. It mentions generation and returns production-ready code, but omits key behaviors such as the listScaffolds mode (returning a list instead of code), filtering by library/category, and the effect of customizations on template variables. It also doesn't state whether it has side effects or dependencies, leaving significant behavioral aspects unclear.

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?

The description is a single sentence that is front-loaded with the verb 'Generates'. It is concise, includes relevant examples, and the phrase 'production-ready, type-safe code following best practices' conveys quality without excess. Every word contributes to the core message, and the length is appropriate for the tool's complexity.

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?

This tool has 8 optional parameters, including a list mode (listScaffolds), filtering, and a nested customizations object, yet the description omits these features entirely. Without an output schema, the description should explain return values, but it only vaguely states 'Returns production-ready, type-safe code.' The description is insufficient for a user to know how to list scaffolds, use filtering, or handle customizations, making it far from complete.

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%, so the baseline is 3. The description adds no extra parameter meaning beyond what the schema already provides. Each parameter has a clear description, including enums and defaults, so the description does not need to compensate. The minimal addition is the phrase 'like FlatList, navigation screens...' which hints at categories but doesn't clarify parameter usage beyond the schema.

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 tool's function: it generates boilerplate code for specific React Native patterns (FlatList, navigation screens, forms, API calls). The verb 'Generates' plus the resource 'boilerplate code for common React Native patterns' distinguishes it from sibling documentation/search tools. The mention of 'production-ready, type-safe code' further clarifies the output quality.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like search-docs or get-best-practices. It doesn't mention the listScaffolds mode as an alternative usage, nor does it advise when to use filtering parameters. The only implicit hint is that it's for code generation, but no explicit when/when-not or alternative references are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ItamiForge/mcp-react-native-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server