Skip to main content
Glama
MyArchitectAI MCP server

MyArchitectAI MCP server

Official

Text to Image

text_to_image

Generate architectural images from text descriptions with configurable dimensions and PNG, JPG, or WebP output for design visualization and presentations.

Instructions

Generate an architectural image from text. Choose width and height (128–2048 pixels) and png, jpg or webp format. 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": {
      "prompt": "<prompt>",
      "outputFormat": "<outputFormat>",
      "outputWidth": "<outputWidth>",
      "outputHeight": "<outputHeight>"
    },
    "name": "text_to_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesText description of the architectural image to generate.
outputWidthYesOutput image width in pixels (128–2048).
outputFormatYesOutput image format: png, jpg, or webp (avif is not supported for text-to-image).
outputHeightYesOutput image height in pixels (128–2048).
negativePromptNoOptional text describing elements to exclude from the output.

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.8/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true and destructiveHint=false, so the bar is lower, and the description still adds a genuinely useful fact beyond them: the call charges the API account and costs are denominated in USD. It does not state latency, whether generation is synchronous, or how failures are billed. The sentence about image inputs accepting HTTPS URLs or data URIs is confusing noise here, since this tool's schema has no image-input parameter.

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?

Short and front-loaded, with the core action first and billing context last where it belongs. The image-URL/data-URI sentence does not earn its place for a text-only generation tool and slightly dilutes focus.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need no explanation, annotations cover the safety profile, and the description adds the one thing structured fields cannot convey — that the call is billed in USD. The only gaps are the unmentioned negativePrompt and the stray image-input sentence, both minor for a 5-parameter tool with full schema coverage.

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 baseline is 3; the schema already documents prompt, width/height bounds, and the png/jpg/webp enum including the avif exclusion. The description restates the dimension range and formats without adding new meaning, and it never mentions the optional negativePrompt parameter.

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?

States a specific verb and resource: 'Generate an architectural image from text', plus the controllable output dimensions and formats. This clearly separates it from mutation-style siblings like edit_by_prompt or style_transfer, though it never names an alternative explicitly.

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?

Usage is implied by 'from text' — use it when starting from a prompt rather than an existing image — but there is no explicit when-to-use/when-not guidance and no named alternative for cases like editing an existing render or previewing before committing.

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