Skip to main content
Glama

Prepare Velox Item Install

prepare_item_install

With shell access in the customer's project, don't read this result: run npx velox-themes@1 add --from (install_with_cli); it needs no second sign-in, writes the files, applies page_rail edits and installs reviewed packages, so the source never enters your context. Call it in parallel for several items, then one add with a --from per result. Prepares one entitled section or component the customer has chosen (compare options with get_section or get_component first, which use no copy) for the customer's stack, with DESIGN.md reference and the website-building guide (omitted when guidance_version matches the copy you hold). react-nextjs: the verified React source inline as implementation_prompt, with checksum and character count; large text arrives unescaped in its own content block that the JSON names, and the copy counts when returned. astro and static-html: the exact HTML as a single-use download (a ZIP, or one .html file) with a SHA-256 and a ready shell command; it expires after 10 minutes and the copy counts only when downloaded. The download needs a client that can run shell commands; react-nextjs returns the source inline. Owned-template sections are exempt from the allowance. Missing, stale or unavailable formats fail before any copy is counted. When the item has Velox demo images or videos, media lists them with a command that downloads them into the customer's project. Never writes customer files itself.

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": {
      "item_type": "<item_type>",
      "identifier": "<identifier>",
      "target": "<target>"
    },
    "name": "prepare_item_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
editorNoOnly for a component configured in its editor on the Velox Themes website: the settings, schema_version and source_version from the editor's Copy prompt command. Installs that exact configuration (React only), with a configured entry file; counted like the website copy of the same configuration.
targetYes
item_typeYes
identifierYesStable resource_key from search/list results. Legacy section UUIDs and component slugs also work.
existing_projectNoTrue when adapting the item to a website that already has a design system.
guidance_versionNoThe guide version for this same target still in your working context: get_site_builder_instructions' version or an earlier required_guidance.version. Pass it on every call, including calls made in parallel, so the 60k-character guide and its requirements are not sent again. Omit it after context compaction, in a sub-agent or when the target changes.
design_template_slugNoSelected visual design family for a section or component, such as shinta or sanjaya. This overrides the source family's visual context without replacing the section's structure or intrinsic interactions. Omit for an existing project's own design system or the original resource look.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / editor
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Only for a component configured in its editor on the Velox Themes website: the settings, schema_version and source_version from the editor's Copy prompt command. Installs that exact configuration (React only), with a configured entry file; counted like the website copy of the same configuration.",
      +  "properties": {
      +    "schema_version": {
      +      "maximum": 1000,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "settings": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "source_version": {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "settings",
      +    "schema_version",
      +    "source_version"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / properties / guidance_version / description
      Previous value: -"The required_guidance.version for this same target that is still in your working context. When it matches, the guide text is omitted. Omit it otherwise, including after context compaction, in a sub-agent or when the target changes."New value: +"The guide version for this same target still in your working context: get_site_builder_instructions' version or an earlier required_guidance.version. Pass it on every call, including calls made in parallel, so the 60k-character guide and its requirements are not sent again. Omit it after context compaction, in a sub-agent or when the target changes."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, but say nothing about cost or side effects; the description fills that gap by explaining that copy from the allowance is consumed, that downloads are single-use and expire after 10 minutes, that owned-template sections are exempt, and that it 'Never writes customer files itself.' It also discloses that failures occur before any copy is counted, which is exactly the kind of consequence an agent needs. It does not clarify idempotency or retry behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense but poorly ordered: the first sentence is a run-on shell directive ('don't read this result: run npx ...') rather than a statement of purpose, and the rest is long unbroken clauses mixing cost accounting, return formats, media downloads and failure modes. There is little filler, but the front-loading requirement is violated and the reader must reconstruct structure themselves.

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?

With no output schema and a complex tool (7 params, nested editor object, credit consumption, expiring downloads), the description does substantial work: it explains what arrives per target, checksums and character counts, the unescaped content block, expiry, media lists, allowance exemptions and failure behaviour. Remaining gaps are modest, such as retry/idempotency semantics and what 'entitled' means operationally.

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 71%, so the schema already documents guidance_version, identifier, editor and design_template_slug in detail. The description's main added meaning is per-enum outcome for target: react-nextjs returns verified React source inline as implementation_prompt, while astro and static-html return an exact HTML ZIP or .html download with SHA-256. That is useful but overlaps with describing return values rather than parameter semantics.

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?

The description names a specific verb+resource: it 'Prepares one entitled section or component the customer has chosen ... for the customer's stack,' and it distinguishes itself from get_section/get_component, which only show options and 'use no copy.' The purpose statement is, however, buried behind an opening directive about running npx against a saved file, which an agent must parse past before learning what the tool itself does.

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?

It explicitly routes the agent: compare options with get_section or get_component first, and call this in parallel for several items followed by a single add with one --from per result. It also gives a target-selection rule (react-nextjs returns source inline; astro/static-html require a client that can run shell commands). It stops short of stating when this tool should NOT be used at all.

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