Skip to main content
Glama

maestro_execute

Execute a MAESTRO design decision to generate HTML, CSS, and JS with adjustable quality from draft to enterprise, optionally using a multi-agent Trifecta pipeline.

Instructions

Execute the design decision from the MAESTRO session.

This generates the actual design output (HTML, CSS, JS) based on the mode and parameters determined during the interview.

You must have a decided session (either from completing the interview or calling maestro_get_decision) before calling this tool.

Args: session_id: Active session ID with a decision ready use_trifecta: Use multi-agent Trifecta pipeline for higher quality. When True, uses Architect → Alchemist → Physicist → QualityGuard agents for superior output. (default: False) quality_target: Quality level for output. Options: - "draft": Quick output (threshold: 6.0, 1 iteration) - "production": Standard quality (threshold: 7.0, 2 iterations) - "high": High quality with Critic (threshold: 8.0, 3 iterations) - "premium": Premium quality (threshold: 8.5, 4 iterations) - "enterprise": Enterprise-grade (threshold: 9.0, 5 iterations) (default: "production")

Returns: Dict containing: - html: Generated HTML output - mode: Design mode that was executed - trifecta_enabled: Whether Trifecta pipeline was used - quality_target: Quality level used - css_output: Separate CSS (only if trifecta=True) - js_output: Separate JS (only if trifecta=True) - design_notes: Explanation of design decisions - status: "complete" | "failed"

Example: # Execute with Trifecta for high quality result = await maestro_execute( session_id="maestro_abc123", use_trifecta=True, quality_target="premium" ) if result["status"] == "complete": html = result["html"]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
use_trifectaNo
quality_targetNoproduction
Behavior4/5

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

Since no annotations are provided, the description carries the full burden of behavioral disclosure. It explains the execution process, the multi-agent Trifecta pipeline for higher quality, and the return values including status and design notes. It does not mention error handling beyond 'status: failed' or potential side effects, but overall provides adequate transparency.

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 well-structured with a clear purpose statement, separated Args and Returns sections, and an example. Every sentence contributes value, and the information is front-loaded. The length is appropriate for the complexity of the tool.

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?

Given the tool's complexity (three parameters, no output schema, multiple siblings), the description covers prerequisites, parameter options, return values, and includes an example. It lacks details on error conditions beyond 'failed' status and does not explain behavior when the session is not ready, but overall is sufficiently complete for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, so the description must compensate. It does so comprehensively: session_id is described as 'Active session ID with a decision ready', use_trifecta explains the multi-agent pipeline, and quality_target provides explicit options with threshold and iteration details. This adds substantial meaning beyond the schema titles.

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 that the tool executes a MAESTRO session decision to generate design output (HTML, CSS, JS). It is distinct from sibling tools like maestro_get_decision (which retrieves the decision) and design_frontend (which may create standalone designs).

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 requires a decided session before use, mentioning both 'completing the interview' and 'calling maestro_get_decision' as prerequisites. It also details the quality_target options and their implications. However, it does not provide explicit guidance on when not to use this tool or compare it to alternative design tools among siblings.

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/archolet/claude-gemini-bridge'

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