Skip to main content
Glama

umlforge_frontend_components

Read-only

Map frontend component hierarchies and data flow for React, Vue, Angular, or Svelte features. Identify prop drilling and god components from props and state management patterns.

Instructions

Design a frontend component tree and interaction flow for a UI feature.

USE THIS WHEN:

  • You are designing or documenting a React, Vue, Angular, or Svelte feature

  • You want to see component hierarchy, props flow, and state management

  • You need to identify god components or prop drilling issues

NOT FOR:

  • Backend service interactions → use umlforge_api_sequence

  • Full codebase including frontend → use umlforge_reverse_engineer

  • Overall system architecture for stakeholders → use umlforge_stakeholder_arch

Produces:

  • Component hierarchy graph: parent-child, props (downward arrows), events/callbacks (upward dashed arrows), state store connections, API origins

  • Interaction sequence diagram: most complex user flow — loading, success, error

  • Component responsibility table: responsibilities, state owned, reusability flag

  • Accessibility note: ARIA roles needed, keyboard nav, WCAG risks

  • God component flags (⚠️) for components with too many responsibilities

  • (report_mode=True) Component Analysis Notes: coupling risks, refactoring quick wins

Args: feature_description: The UI feature or page to diagram. framework: Frontend framework (default: React). state_management: State approach — Redux, Zustand, Context API, Pinia (optional). interactions: Key user interactions (optional — improves sequence diagram). report_mode: True → also produce Component Analysis Notes. Pro/Team/Enterprise only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameworkNoReact
report_modeNo
interactionsNo
state_managementNo
feature_descriptionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. Description adds behavioral details beyond annotations: lists six specific outputs (hierarchy graph, interaction sequence, responsibility table, etc.) and notes report_mode limitations. No contradictions.

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

Conciseness4/5

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

Well-structured with clear sections, front-loaded purpose. Some redundancy (e.g., 'Arg' list duplicates schema names). Overall efficient but not minimal.

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 5 parameters, 0% schema coverage, and existence of output schema, description adequately covers tool behavior: when to use, outputs, and parameter list. Could add more detail on parameter semantics but outputs are well-described.

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

Parameters2/5

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

Schema description coverage is 0%, so description must compensate. However, it only lists parameters in an 'Args' section without explaining their purpose beyond what schema titles show. No additional semantic details about format, constraints, or relationships.

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?

Clear verb+resource: 'Design a frontend component tree and interaction flow'. Distinguishes from siblings with explicit 'USE THIS WHEN' and 'NOT FOR' sections listing specific alternatives.

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

Usage Guidelines5/5

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

Explicit when-to-use (React/Vue/Angular/Svelte feature design, component hierarchy, prop drilling) and when-not-to (backend uses, full codebase, stakeholder arch) with sibling tool names. Provides clear context and exclusions.

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/dave1362/umlforge-connector'

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