Skip to main content
Glama

create_component_recommendation_matrix

Create a recommendation matrix that matches multiple plain-language UI needs to components using deterministic metadata.

Instructions

Creates a generic component recommendation matrix for multiple UI needs using deterministic metadata matching.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uiNeeds": "<uiNeeds>"
    },
    "name": "create_component_recommendation_matrix"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional report title included in the matrix output.
uiNeedsYesPlain-language UI needs to evaluate (2-20 items), not only component names. Each item is matched independently.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one meaningful trait: matching is 'deterministic' metadata matching rather than model-generated, which tells the agent results are reproducible. However, it does not say whether the matrix is persisted or purely returned, nor how items that fail to match are handled, so the read-vs-write profile of 'Creates' remains ambiguous.

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?

A single front-loaded sentence with no filler, and the key scope qualifier ('multiple UI needs') appears early. The adjective 'generic' is slightly vague and does little work, but overall there is no wasted prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (2 parameters, full schema coverage), and the description covers purpose and matching mechanism adequately. The notable gap is the return shape: no output schema exists and the description never describes what a 'matrix' contains, so an agent cannot anticipate the result structure.

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 both `title` and `uiNeeds` are already documented, including the 2-20 bound and the instruction to pass plain-language needs. The description adds nothing beyond the schema, which is the expected baseline when the schema does the work.

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

Purpose4/5

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

The description gives a specific verb+resource ('Creates a ... recommendation matrix') and scopes it to 'multiple UI needs', which implicitly separates it from the single-item sibling recommend_component. It stops short of naming that sibling, so the differentiation must be inferred from the plural framing.

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

Usage Guidelines3/5

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

Usage is only implied: 'for multiple UI needs' signals a batch scenario, and the schema's '2-20 items' reinforces it. There is no explicit statement of when to prefer this over recommend_component or what to do for a single need, leaving the routing decision to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.