Skip to main content
Glama

Get scaffold

get_scaffold
Idempotent

Re-fetches a scaffold you already purchased via purchase_scaffold: a fresh clone credential and the current component versions, at no additional credit cost. Identify the project with projectid (resolved from your authenticated account). For a credit-flow project, this always requires an active Maintain subscription on it (see set_projects) — repos are shared by component combination, so this is always a repeat hand-off. An x402 (accountless) project has no Maintain gate. Pass site_profile the same way as purchase_scaffold to attach a named profile's documents in the same result. delivery: "clone" (default) returns a git clone command; "inline" returns the files in the reply instead, for callers that can't run git — costs more tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deliveryNo"clone" (default): git clone command. "inline": files in the reply. No git needed. More tokens.
projectidYesThe project id from a previous purchase_scaffold result. Required — your project is resolved from your authenticated account.
site_profileNofalse/omit: skip. true: attach this account's one site profile (errors if 0 or >1). A string: attach that named profile.

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 declare it is not read-only, idempotent, non-destructive and open-world, but the description adds the substantive context annotations cannot convey: no additional credit cost, the Maintain-subscription precondition, the x402 exemption, and the token cost of inline delivery. Nothing here contradicts the annotations (readOnlyHint=false is consistent with a tool that mints a fresh clone credential).

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-loads what the tool does and the no-cost guarantee, then moves to preconditions and delivery modes. The dense em-dash phrasing and parenthetical asides make some sentences heavy, but no sentence is filler.

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 3-parameter tool with no output schema, the description covers the return shape (a git clone command vs. files in the reply), the credit implication, and the authorization preconditions. An agent has everything needed to call it 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 goes beyond the schema by explaining that projectid is resolved from the authenticated account and by framing delivery as a token-cost tradeoff rather than just an enum. The site_profile guidance largely restates the schema, so it is not a full 5.

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 ('re-fetches a scaffold you already purchased') and immediately distinguishes itself from the sibling purchase_scaffold by naming the prior-purchase precondition. An agent can tell it apart from purchase_scaffold and verify_scaffold without opening any schema.

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 scopes use to scaffolds already purchased, names the originating tool, and lays out the conditional gates (active Maintain subscription required for credit-flow projects; no gate for x402/accountless projects) with a pointer to set_projects. It also names the alternative path implicitly by framing this as a repeat hand-off rather than a purchase.

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