Skip to main content
Glama

Medallion Rug Gallery

Search the rugs in stock

search_rugs
Read-onlyIdempotent

Search the hand-woven rugs in stock at Medallion Rug Gallery (Redwood City, California; a family rug business since 1907): Persian and Oriental, antique and palace-size, silk and modern. Every filter is optional and values are not case-sensitive; separate several values with commas. Gives each rug’s name, SKU, size, origin, pile, collection, colors and page.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_rugs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1.
pileNoWool, Silk, Silk & Wool, Flat Weave and others.
sizeNoXS, Small, Medium, Large, XL or Runner; or a size in feet such as "8x10", for rugs about that size either way round (within 9 inches on each side).
sortNonewest (the default), size_desc (largest first), size_asc or sku_asc.
colorNoColors: beige, brown, gray, black, red, pink, rust, gold, green, blue, purple, multicolor.
queryNoWords to search: a design (Heriz, Tabriz, Kazak, Serapi), colors, a material, an origin (Persian, Turkish, Indian), a shape (round), "runner", or a size in feet ("9x12"). Example: "red persian 9x12".
shapeNoround, square, oval or hexagon (most rugs are rectangles).
designNoPart of a design name.
originNoWhere the rug was woven: Persian, India, China, Pakistan, Turkey, Afghan, Nepal, Tibet and others (list_rug_options has them all).
per_pageNoRugs a page, up to 100 (default 24).
collectionNoTraditional, Modern or Collectible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds value beyond them: filter optionality, case-insensitivity, comma-separated multi-values, and the exact fields returned per rug (name, SKU, size, origin, pile, collection, colors, page).

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?

Front-loaded with purpose, then filter semantics, then return shape — a sensible order. The parenthetical gallery biography ('a family rug business since 1907') is atmospheric rather than functional and could be trimmed.

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 an 11-parameter, no-required-parameter search with no output schema, the description covers what is searched, how filters combine, and what each result contains. Paging behavior and sort defaults live in the schema, which is sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description earns an extra point by supplying cross-parameter conventions the schema cannot express (all filters optional, case-insensitive matching, comma-separated multiple values). Page/per_page paging mechanics remain documented only in the schema, which is acceptable.

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?

Opens with a specific verb+resource ('Search the hand-woven rugs in stock') and scopes the catalog by type, era and material. It does not explicitly contrast itself with get_rug or list_rug_options, so sibling differentiation is only implied.

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?

The description tells the agent that all filters are optional and how to combine values with commas, which is real usage guidance. It never states when to prefer this over get_rug (single-rug lookup) or list_rug_options, so routing is left to inference.

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.

Resources