Skip to main content
Glama

Ręczniki Haftowane

list_designs

Read-onlyIdempotent

Wyszukuje aktywne wzory haftu (filtr liczy sklep). Filtry opcjonalne: tags (identyfikatory wyłącznie z list_design_tags, do 10; w grupie OR, między grupami AND), motif_match any|all (all = wszystkie motywy na jednym wzorze), persons 1|2|initials (liczba imion/inicjały), category (nazwa lub slug), query (nazwa wzoru, do 100 znaków), ids (do 20), sort default|popular, limit (domyślnie 10, maks. 20) i offset. Wynik: total, has_more, applied_filters, empty_reason i relaxations (przy total=0 tylko propozycje poluzowania: powiedz klientowi, który warunek poluzowano; nie przedstawiaj ich jako spełnienia konkretnego motywu). Każdy wzór ma tags, personalization, texts (slot_key, label, max_chars) i match. Pole id to drawing_id używane przez kreator. WAŻNE: pokaż klientowi podgląd wzoru jako obraz - wstaw preview_markdown (nazwa) do odpowiedzi, nie podawaj samego linku; gdy preview_markdown jest null, wzór nie ma podglądu.

Input Schema

NameRequiredDescriptionDefault
idsNo
sortNo
tagsNoIdentyfikatory tagów z list_design_tags
limitNo
queryNo
offsetNo
personsNo
categoryNo
motif_matchNo

Output Schema

NameRequiredDescriptionDefault
errorNoTylko przy isError: { code, message, ... }
itemsNo
limitNo
totalNoLiczba wszystkich pasujących wzorów (przed limitem i offsetem)
offsetNo
has_moreNoCzy są kolejne wzory po tej stronie (zwiększ offset)
relaxationsNoPropozycje poluzowania filtra przy total=0 (action, relaxes, total, label); tylko propozycje, powiedz klientowi co poluzowano
empty_reasonNono_match | no_match_query przy total=0
sort_appliedNoZastosowane sortowanie (popular może działać jak default)
applied_filtersNoFiltry zastosowane przez sklep: tags, absorbed_tags, motif_match, persons, category, query
dictionary_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / error / properties / details
      Added value: +{
      +  "description": "Powody odrzucenia kolorów (invalid_input z get_creator_link)",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "allowed_option_ids": {
      +        "description": "Aktywne option_id typu slotu; wybierz jedno z nich",
      +        "items": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        "type": "array"
      +      },
      +      "asset_type_id": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "field": {
      +        "description": "Np. slots[0].option_id",
      +        "type": "string"
      +      },
      +      "given": {
      +        "description": "Podany option_id",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "reason": {
      +        "enum": [
      +          "unknown_option",
      +          "inactive",
      +          "type_mismatch",
      +          "slot_out_of_range",
      +          "no_color_choice"
      +        ],
      +        "type": "string"
      +      },
      +      "slot_position": {
      +        "description": "Pozycja slotu 1-based",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "field",
      +      "slot_position",
      +      "asset_type_id",
      +      "reason",
      +      "given",
      +      "allowed_option_ids",
      +      "message"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed22 schema fields changed
    • addedInput schema / properties / ids
      Added value: +{
      +  "items": {
      +    "maximum": 9007199254740991,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 10,
      +  "maximum": 20,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / motif_match
      Added value: +{
      +  "enum": [
      +    "any",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / persons
      Added value: +{
      +  "enum": [
      +    "1",
      +    "2",
      +    "initials"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "enum": [
      +    "default",
      +    "popular"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / tags
      Added value: +{
      +  "description": "Identyfikatory tagów z list_design_tags",
      +  "items": {
      +    "maxLength": 100,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
    • addedOutput schema / properties / applied_filters
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Filtry zastosowane przez sklep: tags, absorbed_tags, motif_match, persons, category, query",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / dictionary_version
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "number"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / empty_reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "no_match | no_match_query przy total=0"
      +}
    • addedOutput schema / properties / error / properties / hint
      Added value: +{
      +  "description": "Wskazówka naprawy (invalid_input), np. lista nieznanych tagów",
      +  "type": "string"
      +}
    • addedOutput schema / properties / has_more
      Added value: +{
      +  "description": "Czy są kolejne wzory po tej stronie (zwiększ offset)",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / items / items / properties / match
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "type: id|name|filter oraz matched_tags"
      +}
    • addedOutput schema / properties / items / items / properties / personalization
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "persons (1|2|null), kind (single|couple|initials|unknown), text_fields"
      +}
    • addedOutput schema / properties / items / items / properties / tags
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / items / items / properties / texts / items / properties / slot_key / description
      Previous value: -"Klucz pola tekstowego (klucz texts w linku do kreatora); brak dla ogólnego pola tekstowego"New value: +"Klucz pola tekstowego (klucz texts w linku do kreatora)"
    • changedOutput schema / properties / items / items / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "type",
      -  "categories",
      -  "texts",
      -  "preview_image_url",
      -  "preview_markdown"
      -]New value: +[
      +  "id",
      +  "name",
      +  "type",
      +  "tags",
      +  "categories",
      +  "personalization",
      +  "texts",
      +  "match",
      +  "preview_image_url",
      +  "preview_markdown"
      +]
    • addedOutput schema / properties / limit
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / offset
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / relaxations
      Added value: +{
      +  "description": "Propozycje poluzowania filtra przy total=0 (action, relaxes, total, label); tylko propozycje, powiedz klientowi co poluzowano",
      +  "items": {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sort_applied
      Added value: +{
      +  "description": "Zastosowane sortowanie (popular może działać jak default)",
      +  "type": "string"
      +}
    • changedOutput schema / properties / total / description
      Previous value: -"Liczba pasujących wzorów"New value: +"Liczba wszystkich pasujących wzorów (przed limitem i offsetem)"
  3. Changed4 schema fields changed
    • addedOutput schema / properties / error / properties / cause
      Added value: +{
      +  "pattern": "^(timeout|http_\\d{3}|matomo_error|invalid_response|not_configured|matomo_method_unavailable)$",
      +  "type": "string"
      +}
    • changedOutput schema / properties / error / properties / code / enum
      Previous value: -[
      -  "invalid_input",
      -  "not_found",
      -  "shop_unavailable"
      -]New value: +[
      +  "invalid_input",
      +  "not_found",
      +  "shop_unavailable",
      +  "analytics_unavailable"
      +]
    • changedOutput schema / properties / error / properties / retry_after_seconds / description
      Previous value: -"Po ilu sekundach ponowić żądanie (shop_unavailable)"New value: +"Po ilu sekundach ponowić żądanie (niedostępność źródła)"
    • addedOutput schema / properties / error / properties / status
      Added value: +{
      +  "description": "Status błędu analityki; report_unavailable oznacza brak raportu/konfiguracji",
      +  "enum": [
      +    "report_unavailable",
      +    "error"
      +  ],
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • changedOutput schema / properties / items / items / properties / texts / items / properties / slot_key / description
      Previous value: -"Klucz pola tekstowego (klucz texts w linku do kreatora)"New value: +"Klucz pola tekstowego (klucz texts w linku do kreatora); brak dla ogólnego pola tekstowego"
    • changedOutput schema / properties / items / items / properties / texts / items / required
      Previous value: -[
      -  "slot_key",
      -  "label",
      -  "max_chars"
      -]New value: +[
      +  "label",
      +  "max_chars"
      +]
  5. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile, and the description adds substantial behavior beyond them: the result envelope (total, has_more, applied_filters, empty_reason, relaxations), the zero-result relaxation protocol, and the mandatory preview-rendering rule plus the null-preview fallback. This is exactly the extra context annotations cannot express.

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

Conciseness3/5

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

Purpose is front-loaded, but the rest is one dense, unstructured run-on mixing filter semantics, result shape, and response-formatting instructions. Every element is relevant, yet a short bullet split or paragraph break would make it far more scannable without losing content.

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 9-parameter search tool with an output schema, the description covers filtering, empty-result handling, field meanings (id = drawing_id for the creator) and presentation. It re-states some output-schema fields (total, has_more, applied_filters), which is minor redundancy rather than a gap.

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 description coverage is only 11%, so the description must compensate and largely does: tags OR-within/AND-across, motif_match any vs all, persons 1|2|initials, category as name or slug, query/ids caps, limit default and max. Offset and sort get no semantics beyond the enum/default already in the schema.

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?

Opens with a specific verb+resource: 'Wyszukuje aktywne wzory haftu', and immediately narrows scope ('filtr liczy sklep'). An agent knows this is the design-search entry point, distinct from list_design_tags / list_design_categories which only supply filter vocabulary.

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 explicit routing for tag IDs ('wyłącznie z list_design_tags'), explains AND/OR group interplay, and prescribes behavior at total=0 (offer relaxations, don't claim motif match). Missing only explicit when-not-to-use guidance versus siblings like search_products.

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