Skip to main content
Glama

find_reference_components

Read-onlyIdempotent

The canonical reference components as an index: id, label, macrostructure and a note for each hero / pricing / cta / nav / footer archetype. Pick one, then get_reference_jsx(type, id) for its source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoComponent category (hero, pricing, cta, …). Omit to scan all types.
macroNoSubstring match on the component's macro field - e.g. 'Marquee' matches 'Marquee Hero'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive behavior. The description adds useful behavioral context by defining the return shape (an index of id, label, macrostructure, note) and clarifying that this tool does not return source code, which is a separate call.

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

Conciseness5/5

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

The description is two tight sentences with no filler. It front-loads the tool's purpose and output fields, then immediately gives the follow-up action, making every sentence earn its place.

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?

For a simple read-only index tool with optional filters, the description plus schema cover the invocation and return shape well. The only minor gap is the lack of explicit statement about default behavior when no parameters are provided, though the schema does mention 'Omit to scan all types'.

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 parameters are already documented. The description reinforces the macro concept and category context but does not add meaningful parameter-level detail beyond what the input schema provides, so the baseline 3 is appropriate.

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?

The description names a specific resource ('canonical reference components'), states that it returns an index with id, label, macrostructure, and note, and lists the archetype categories. It differentiates itself from get_reference_jsx by explicitly saying that tool provides the source, so an agent can tell the two apart.

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

Usage Guidelines4/5

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

The description gives a clear usage flow: pick a reference component from this index, then call get_reference_jsx(type, id) for the source. It does not explicitly enumerate exclusion criteria or contrast with other siblings like find_components, but the intended workflow is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.