Skip to main content
Glama

woo_scaffold_checkout_block

Create a WooCommerce Checkout Block extension by scaffolding React components, a PHP IntegrationInterface class, and block.json. Add custom fields or UI to the block-based checkout.

Instructions

Generate a WooCommerce Checkout Block extension: React component for checkout, IntegrationInterface PHP class, and block.json. For extending the block-based checkout with custom fields or UI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootNamespaceYesPlugin root namespace
extensionNameYesExtension name in PascalCase (e.g., "GiftWrapping")
extensionSlugYesExtension slug (e.g., "gift-wrapping")
textDomainYesPlugin text domain
descriptionNoExtension description
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only declares that it 'generates' files but does not disclose whether it overwrites existing files, requires certain permissions, or has any other side effects typical of scaffolding tools. This lack of behavioral details is a significant gap.

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 two sentences, front-loaded with the primary verb and resource. Every phrase adds value: what is generated and its purpose. No unnecessary words, and the structure clearly separates generation from purpose.

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?

With no output schema and 5 parameters, the description lacks context about how parameters influence the generated result. It lists generated files but doesn't explain naming conventions, file locations, or dependency on extensionName/slug. For a scaffold tool, this is insufficient for an agent to fully understand the outcome.

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 schema already documents each parameter's meaning. The description adds no extra value beyond what the schema already provides (e.g., it doesn't clarify how parameters affect the generated output). Baseline of 3 is appropriate.

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 verb 'Generate' and the resource 'WooCommerce Checkout Block extension', listing specific outputs (React component, IntegrationInterface PHP class, block.json) and the purpose (extending block-based checkout). It implicitly distinguishes from siblings like woo_scaffold_cart_block_extension by focusing on checkout block specifically.

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?

The description explicitly states when to use the tool: for extending the block-based checkout with custom fields or UI. However, it does not mention when not to use it or provide explicit alternatives among the many scaffold siblings, though the specialization is clear from the name.

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/WPDiggerStudio/wpzylos-mcp'

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