Skip to main content
Glama

Seamless pattern / texture (Pattern AI)

luw_generate_pattern

Generate tileable patterns and textures from a text prompt for wallpaper, fabric, tiles, wood, and stone surfaces ready to repeat.

Instructions

Luw.ai Pattern AI: generate a seamless, tileable pattern or texture — tiles, wallpaper, fabric, terrazzo, wood, stone — ready to repeat across a surface. Costs 1 credit.

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": {
      "prompt": "<prompt>"
    },
    "name": "luw_generate_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNo512 for a small tile; leave it out for the full size. aria: 1024 px small, 2048 px full; symphony: 512 px small, 1024 px full.
imageNoOptional reference image (public https:// link or data: URI; the local npx server also accepts a file path).
engineNoLuw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one.symphony
formatNoOutput image format.
promptYesThe pattern, e.g. "blue and white Moroccan zellige tiles".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.20
    • addedInput schema / properties / engine / default
      Added value: +"symphony"
    • changedInput schema / properties / engine / description
      Previous value: -"Luw.ai model: aria (default) or symphony (Symphony-3)."New value: +"Luw.ai model: symphony (Symphony-3, the default: the higher quality) or aria (quicker, for everyday work). If the user picked a model earlier in this conversation, use that one."
  2. Changed7 schema fields changedv0.3.18
    • removedInput schema / properties / enhance_prompt
      Removed value: -{
      -  "description": "Let Luw.ai's prompt enhancer expand a short prompt.",
      -  "type": "boolean"
      -}
    • changedInput schema / properties / image / description
      Previous value: -"Optional reference image (https:// URL, local file path, or data: URI)."New value: +"Optional reference image (public https:// link or data: URI; the local npx server also accepts a file path)."
    • removedInput schema / properties / size / anyOf
      Removed value: -[
      -  {
      -    "const": 512,
      -    "type": "number"
      -  },
      -  {
      -    "const": 768,
      -    "type": "number"
      -  },
      -  {
      -    "const": 1024,
      -    "type": "number"
      -  }
      -]
    • changedInput schema / properties / size / description
      Previous value: -"Output size in px. aria: 512 or 768 (default); symphony: 512 or 1024 (default)."New value: +"512 for a small tile; leave it out for the full size. aria: 1024 px small, 2048 px full; symphony: 512 px small, 1024 px full."
    • addedInput schema / properties / size / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / size / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / size / type
      Added value: +"integer"
  3. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With annotations already declaring readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, the description correctly adds a concrete behavioral fact the annotations do not: the operation costs 1 credit. However, it says nothing about whether the call returns the image directly or enqueues a job requiring luw_get_result polling, which is the single most important behavioral question for a generation tool in this sibling set.

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 front-loaded sentence that leads with the capability and its domain examples, then closes with the cost. The only waste is the 'Luw.ai Pattern AI:' brand prefix, which restates the title and tool name.

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?

For a five-parameter generation tool with no output schema, the description covers what is produced and its cost, and the schema fully covers inputs. What is missing is the result lifecycle — whether output is returned inline or must be fetched via luw_get_result — leaving an agent unsure how to complete the workflow after invoking it.

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 engine, size, image, format and prompt are all already documented with enums, defaults and size mappings in the schema. The description adds no parameter meaning beyond that, so the baseline 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?

Specific verb and resource ('generate a seamless, tileable pattern or texture') with concrete domain examples (tiles, wallpaper, fabric, terrazzo, wood, stone) that make the output unambiguous. It does not name or contrast with the nearest sibling, luw_generate_image, so an agent must infer that this is the tileable-pattern variant rather than the general image generator.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternatives are named despite luw_generate_image being an obvious candidate. The only decision-relevant signal is the 'Costs 1 credit' note, which hints at a cost tradeoff but never states a rule.

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