Skip to main content
Glama

get_component

Retrieves detailed documentation for a named PrimeReact component, covering props, events, and examples so you can implement the component correctly.

Instructions

Get detailed information about a specific PrimeReact 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": {
      "name": "<name>"
    },
    "name": "get_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesComponent name (e.g., 'DataTable', 'Button')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses nothing about what 'detailed information' includes, the response shape, or what happens with an unknown or mis-cased component name.

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, front-loaded sentence with no filler or redundancy. It is efficient, though its brevity reflects missing content rather than disciplined editing.

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?

For a tool sitting among ~10 sibling component-detail tools, with no annotations and no output schema, the description leaves the agent guessing about scope and result format. Something needs to explain what the 'detailed information' comprises.

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% and the single parameter is documented with examples ('DataTable', 'Button'), so the schema already does the work. The description adds no meaning beyond 'specific component', which matches the baseline of 3.

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 a verb (get) and a resource (information about a specific PrimeReact component), which is clear enough on its own. However, it never distinguishes this from the many specialized siblings (get_component_props, get_component_events, get_component_styles, etc.), so an agent cannot tell whether this returns an overview, an aggregate of all sub-topics, or something else.

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?

There is no when-to-use guidance and no mention of alternatives. With siblings covering props, events, styles, slots, tokens, and more, the missing routing signal (e.g., 'use this for an overview, use get_component_props for prop details') is a real gap.

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