Skip to main content
Glama
DarCas
by DarCas

Match a brief to Refero styles

refero_match_style

Match a prose design brief to fitting interface styles, returning each match with triggering terms and a short rationale. Use for qualitative requests, not exact style names.

Instructions

Given a design brief in prose, return the styles that best match it, each with the terms that triggered the match and a short rationale. Use this when the request is qualitative ("I need a dense, data-heavy dashboard") rather than a specific name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
briefYesThe design brief, or a description of the interface you are building.
limitNoMaximum matches (default 3).
expandNoPull this many uncached styles into the local index first (default 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It usefully reveals the return shape (matches plus triggering terms and rationale), which is real value, but it says nothing about whether the call is read-only, how caching/`expand` affects latency, or any cost implications.

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?

Two tight sentences with zero filler: the first states what is returned, the second states when to reach for it. The routing condition is front-loaded after the core behavior.

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?

No output schema exists, so the description responsibly summarizes the return (styles, triggering terms, rationale). The remaining gap is the caching/`expand` behavior and any latency or freshness caveat, which the schema alludes to only through a parameter.

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 the schema already documents `brief`, `limit`, and `expand` with defaults and bounds. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

Names a specific verb (match), the input (a prose design brief), and the resource (Refero styles), plus describes the return payload (matched styles with triggering terms and rationale). It does not name the closest sibling (refero_search_styles) directly, so the differentiation is implied rather than explicit.

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?

Gives a clear selection condition: use it when the request is qualitative ("I need a dense, data-heavy dashboard") rather than a specific name. This implicitly routes name-based lookups elsewhere, but it never names the alternative tool or states explicit when-not conditions.

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