Skip to main content
Glama

get_component_pt

Retrieve Pass Through (PT) options for a PrimeReact component to customize its DOM elements, enabling targeted styling and attribute changes.

Instructions

Get Pass Through (PT) options for a PrimeReact component to customize DOM elements

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_component_pt"
  }
}

Input Schema

NameRequiredDescriptionDefault
componentYesComponent name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does convey the conceptual content (PT option definitions used to customize DOM elements), which implies a read-only documentation lookup. However, it says nothing about what is actually returned (a code snippet, an object map, or prose), nor about side effects or permissions.

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 compact sentence with the resource front-loaded and no filler. A slight inefficiency is the parenthetical plus trailing clause, which are both needed but leave the sentence on the vague side.

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?

This is a simple one-parameter lookup with no output schema and no annotations, so the description should ideally say something about return shape and whether it is a safe read. It covers purpose and scope adequately for a simple tool but leaves the return value and behavioral profile underspecified.

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% for the single 'component' parameter, so the schema already documents it. The description reinforces the scope ('for a PrimeReact component') but adds no format, casing, or example details beyond that baseline.

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 ('Get') and a specific resource ('Pass Through (PT) options for a PrimeReact component'), and clarifies what PT means ('to customize DOM elements'). That is enough to separate it from get_component_props or get_component_styles, though it never explicitly distinguishes itself from the sibling guide tool get_passthrough_guide.

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?

Usage is only implied by the trailing phrase 'to customize DOM elements'; there is no explicit when-to-use statement, no mention of prerequisites, and no reference to the alternative get_passthrough_guide or to get_component_props when the agent wants prop data instead. An agent must infer the selection criteria from sibling names alone.

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