Skip to main content
Glama

Verify scaffold

verify_scaffold

Runs a real npm install && npm run build against the given files on an isolated GitHub Actions runner and reports whether the project builds. Two-call protocol: pass files to start (returns WAIT + a jobId), then call again with that jobId to get the verdict (OK or FAIL). A full install and build usually takes one to two minutes. Requires the projectid of a project this account purchased via purchase_scaffold — attributes every build to a real customer. Use this after editing a get_scaffold result to check the edited project still builds, before handing it to the user. Send the full project — every file, not just the ones you changed. On FAIL, the response includes the tail of the failing step output (compiler/install errors). Fix the files and retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesNoThe full project to verify — a scaffold's files with your edits applied. Omit when polling with jobId.
jobIdNoPoll a previously started verification. Omit on the first call (pass files), pass the returned jobId on subsequent calls.
projectidYesThe project id from a previous purchase_scaffold result — must be owned by this account. Required.
envVariablesNoEnv var names to write placeholder values for before building (typically get_component's `envVariables` output) — needed for components that read process.env at build time (e.g. a Supabase client).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly=false, destructive=false, openWorld=true, idempotent=false), and the description adds substantial non-obvious behavior: the two-call WAIT/jobId polling protocol, the one-to-two-minute runtime, that every build is attributed to a real customer, and that FAIL returns the tail of the failing step output.

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?

Front-loaded with the core action and protocol, then prerequisites and failure handling. Dense and mostly waste-free, though the final FAIL-handling sentences could be tightened slightly.

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

Completeness5/5

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

For a complex asynchronous two-phase tool with no output schema, the description covers the call protocol, timing, required provenance, failure output, and the retry loop — everything an agent needs to invoke and recover correctly.

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 baseline is 3, but the description adds real meaning beyond the schema: `files` must be the FULL project (not just changed files), and `projectid` must belong to a purchased project. It also explains the jobId polling pattern, though it does not elaborate on envVariables beyond what the schema says.

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?

States a specific verb and resource — runs a real `npm install && npm run build` on an isolated GitHub Actions runner and reports build success. It is clearly distinguishable from siblings like get_scaffold (retrieval) and purchase_scaffold (acquisition).

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?

Explicitly says to use this after editing a get_scaffold result and before handing it to the user, and that it requires a projectid from a prior purchase_scaffold. It also names the alternative artifacts (get_scaffold, purchase_scaffold, get_component's envVariables) that feed into 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