Skip to main content
Glama

prepare_design_agent_brief

Generates a structured design brief with cost controls and compatibility guidance for coding agents tasked with UI design, audit, or refactoring.

Instructions

Prepare a cost-aware design-agent brief before editing UI.

Returns on success: JSON with mission, evidenceCommands, designRules, costControls, compatibility installs, MCP command, Agent Skills command, and handoffChecklist.

Use this tool: as the first MCP call when a coding agent is asked to design, polish, audit, refactor, or generate interface code. It is local-first and does not call Figma, browsers, or models.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoEvidence mode: local, figma, research, or full.local
agentNoAgent stack to prioritize in compatibility guidance, such as codex, hermes, openclaw, cursor, or claude-code.design-agent
intentNoNatural language product/design task to optimize the brief around.
targetNoLocal path or URL the agent should inspect. Defaults to '.'.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses it is local-first and does not call Figma, browsers, or models. It also outlines the return structure. It could mention error handling or permissions, but the provided context is sufficient for understanding scope.

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 purpose and return structure. Every sentence adds value, no filler.

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 has 4 parameters, no output schema, and many siblings, the description provides key context: when to use, what it returns (list of fields), and its local-first nature. It could detail the return JSON fields more, but the current level is adequate for an agent to understand the tool's role.

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 baseline is 3. The description does not add new information about parameters beyond what is already in the schema; it says 'cost-aware' and 'brief' but does not elaborate on parameter usage.

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 tool prepares a cost-aware design-agent brief for editing UI, specifying the return structure (JSON with several fields) and use cases (design, polish, audit, refactor, generate). It distinguishes itself by being the 'first MCP call'.

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?

Explicitly states when to use: 'as the first MCP call when a coding agent is asked to design, polish, audit, refactor, or generate interface code.' However, it does not mention when not to use or provide comparisons to sibling tools like 'analyze_design' or 'audit_interface_craft'.

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/sarveshsea/memi'

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