Skip to main content
Glama

get_related_components

Find PrimeReact components related to or similar to a specified component to discover alternatives and comparable UI options.

Instructions

Find PrimeReact components related to or similar to a given component

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": {
      "component": "<component>"
    },
    "name": "get_related_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
componentYesComponent name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses very little. It implies a read-only lookup, but never defines how 'related' is computed, whether results are ranked, how many are returned, or whether an unknown component name yields an error or empty list.

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?

One short sentence, front-loaded with the verb and with zero filler. It is efficient, though its terseness is part of why behavior and alternatives go unstated.

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?

For a one-parameter read tool without an output schema, the description should at minimum state the shape of the result and the meaning of 'similar'. It covers the input well by omission of complexity, but leaves the return value and similarity semantics entirely undefined.

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?

There is a single required parameter and schema description coverage is 100%, so baseline 3 applies. The description refers generically to 'a given component' and adds no format, casing, or naming detail beyond the schema's 'Component name'.

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?

A specific verb ('Find') plus a clearly scoped resource: PrimeReact components related to or similar to a given component. An agent immediately grasps the intent, though the description never distinguishes this from siblings like compare_components, search_components, or find_components_with_feature.

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 by the words 'related to or similar to' – there is no explicit when-to-use, no when-not-to-use, and no named alternative for cases where the agent wants comparison or feature-based search. The agent must guess whether this or compare_components fits its need.

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