Skip to main content
Glama

analyze_pareto_principle

Apply the Pareto Principle to identify the 20% of UI components causing 80% of issues. Analyze code across all platforms to prioritize optimization efforts.

Instructions

🔍 Principio de Pareto (Pareto Principle)

El principio de Pareto establece que, para muchos eventos, aproximadamente el 80% de los efectos provienen del 20% de las causas.

Analiza código o componentes UI según esta ley para CUALQUIER PLATAFORMA: Web, iOS, Android, Flutter, Desktop, CLI, Voice UI, Games, AR/VR.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoCódigo del componente UI a analizar (HTML, JSX, Swift, Kotlin, Dart, C#, etc.)
component_descriptionNoDescripción del componente o interfaz a analizar
platformNoPlataforma objetivo: web-react, ios-swiftui, android-compose, flutter, cli, voice-alexa, game-unity, ar-vr, etc. Usa "auto" para detectar automáticamente.
contextNoContexto adicional sobre el uso del componente
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool 'analyzes' but doesn't describe what the analysis entails - whether it's a read-only inspection, generates reports, suggests optimizations, or has any side effects. It mentions 'ANY PLATFORM' but doesn't clarify limitations or prerequisites for different platforms. The description adds minimal behavioral context beyond the basic action.

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

Conciseness3/5

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

The description is reasonably concise with three sentences, but it's not optimally structured. It starts with an emoji and definition of the Pareto Principle before stating the tool's function. The platform list in the last sentence is somewhat redundant given the detailed platform enum in the schema. While not verbose, the structure could be more front-loaded with the tool's 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?

Given this is an analysis tool with 4 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the analysis produces, what format results come in, or what insights users can expect. For a tool that presumably performs complex analysis across multiple platforms, the description lacks sufficient context about the tool's capabilities and limitations.

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 all four parameters thoroughly with descriptions and enum values for 'platform'. The description adds no additional parameter semantics beyond what's in the schema - it doesn't explain how parameters interact, provide examples of valid inputs, or clarify the relationship between 'code' and 'component_description' parameters. Baseline 3 is appropriate when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool 'analyzes code or UI components according to the Pareto Principle' which provides a general purpose, but it's vague about what specific analysis it performs. It doesn't specify what output or insights are generated, nor does it clearly distinguish this Pareto analysis from other analysis tools in the sibling list like 'analyze_fitts_law' or 'analyze_hicks_law' beyond mentioning the Pareto Principle itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions analyzing 'code or UI components for ANY PLATFORM' and lists many platform options, but provides no guidance on when to use this tool versus alternatives. It doesn't specify scenarios where Pareto analysis is appropriate (e.g., identifying critical 20% of code causing 80% of issues) or when other sibling tools might be better suited for different analytical needs.

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/Agencia-Tecnologica-Multiverse-Limitada/UX-UI-MCP'

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