Skip to main content
Glama
MyArchitectAI MCP server

MyArchitectAI MCP server

Official

Change Textures

change_textures

Retexture masked surfaces in an image while keeping the original geometry intact. White mask areas are changed, black are preserved, using either a text prompt or a reference image.

Instructions

Retexture masked surfaces while preserving geometry. Mask white = change, black = keep. Provide exactly one of referenceImage or prompt. Image inputs accept public HTTPS URLs or image data URIs. Charges the API account; cost and balance are in USD.

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": {
      "image": "<image>",
      "mask": "<mask>"
    },
    "name": "change_textures"
  }
}

Input Schema

NameRequiredDescriptionDefault
maskYesMask URL or base64 image: white marks surfaces to change; black preserves them.
imageYesURL of the source image — a sketch, line drawing, 3D/CAD model screenshot, or photo. Either a public HTTPS URL reachable by MyArchitectAI, or an inline data:image/<mime>;base64,<payload> URI for a local file.
promptNoDesired texture; provide exactly one of prompt or referenceImage.
outputFormatNoOutput image format. Defaults to webp if omitted.
referenceImageNoURL of the style reference image whose look is transferred onto the source — a public HTTPS URL reachable by MyArchitectAI, or an inline data:image/<mime>;base64,<payload> URI for a local file.

Output Schema

NameRequiredDescriptionDefault
codeNo
costNo
errorNo
outputNoURLs of generated images, or a video URL for animate.
balanceNo
requestIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, open-world operation, and the description adds the commercially important fact that it charges the API account in USD, which is not derivable from structured fields. It does not say whether re-invoking with identical inputs produces a new charged generation (relevant given idempotentHint=false) or what happens if the mask is entirely black/white.

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?

Five short declarative sentences, front-loaded with the operation and its scoping rule, with no filler. Minor redundancy: the mask white/black rule and the URL/data-URI acceptance are both repeated from the schema, so a sentence could be reclaimed.

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?

With an output schema present, return values need no explanation, and the description covers inputs, the mutual-exclusion rule, and the cost implication. The remaining gap is disambiguation from the sibling style_transfer, which matters because both accept a reference image and could be confused.

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 every parameter, including the white=change/black=keep mask convention and the HTTPS-or-data-URI input forms. The description restates those same facts rather than adding new meaning such as size constraints, mask resolution requirements, or prompt length limits, so baseline 3 is appropriate.

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?

The description gives a specific verb and resource — retexture masked surfaces while preserving geometry — which tells an agent precisely what transformation happens and that only the masked region is affected. It stops short of naming how this differs from the sibling style_transfer, which also transfers look from a reference image, so the boundary is left implicit.

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?

It states the hard input rule 'provide exactly one of referenceImage or prompt', which is genuine usage guidance for invocation. However, it never says when to prefer this over style_transfer, edit_by_prompt, or text_to_image, nor does it state any exclusion or precondition beyond the argument exclusivity.

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