Skip to main content
Glama
FrontForge

FrontForge

by quardianwolf

scaffold_project

Set up a frontend project's base folder structure with features, providers, query client, and theme/utils for Next.js or Expo.

Instructions

Set up the base folder structure for a frontend project: features/, providers, query client, theme/utils. Works for both Next.js and Expo.

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": {
      "cwd": "<cwd>",
      "projectName": "<projectName>"
    },
    "name": "scaffold_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdYesProject root directory path
platformNoTarget platform. "auto" detects from project files.auto
projectNameYesProject name (used for asset folder naming, kebab-case)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden for a filesystem-mutating tool. It lists what gets created but never says whether existing files are overwritten, whether the operation is idempotent, whether it fails on an existing structure, or whether it touches dependencies — all critical for an agent deciding to invoke it.

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?

Two short sentences, front-loaded with the action and followed by the compatibility note; nothing is redundant. The colon-delimited artifact list is terse but readable, with only minor inconsistency (trailing slash on 'features/' but not on other entries).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter tool with full schema documentation and no output schema, the definition covers what the tool builds and where it is applicable. However, given zero annotations on a write operation, it leaves gaps around overwrite behavior, failure conditions, and post-run state that an agent would want before invoking it.

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%, with cwd, platform (including the 'auto' detection semantics), and projectName all documented in the schema itself. The description's mention of Next.js and Expo loosely reinforces the platform parameter but adds no format or constraint detail beyond the schema, so the baseline of 3 applies.

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 specific verb ('Set up') and resource ('base folder structure'), and enumerates the artifacts created (features/, providers, query client, theme/utils), which separates it from item-level siblings like create_component and create_feature. It is slightly blurred by overlapping with setup_query_provider's territory, but the scope of 'base structure' is still discernible.

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?

'Works for both Next.js and Expo' gives context on applicable environments, but there is no explicit when-to-use guidance relative to setup_query_provider, no ordering or prerequisite information, and no statement about running it in an already-scaffolded project. Usage is implied rather than directed.

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