Skip to main content
Glama
MyArchitectAI MCP server

MyArchitectAI MCP server

Official

Preview Image

preview_image
Read-only

Load an image from a URL, base64 data URI, or local path and return it inline so you can inspect a generation result before continuing, with an option to open it in the browser.

Instructions

Load an image and return it inline so you (the agent) and GUI clients can actually see it — useful for inspecting a generation result before continuing. Accepts a public HTTPS URL, an inline base64-encoded data:image URI, or a local file path. Optionally also opens it in the default browser when a display is available. Does not charge the API account.

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": {
      "url": "<url>"
    },
    "name": "preview_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesImage to preview: a public HTTPS URL (e.g. a generation output), an inline data:image/<mime>;base64,<payload> URI, or a local file path (absolute, ~, or file://).
openNoAlso open the image in the default browser, if a display is available. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds genuinely new behavior: the image is returned inline (not just fetched), the browser-open side effect, and the notable fact that it 'does not charge the API account'. It omits limits on accepted image size, handling of non-public/failing URLs, and any auth requirements, which keeps it below 5.

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

Conciseness5/5

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

Purpose is front-loaded in the first clause, followed by accepted inputs, then the optional side effect, then the cost note. Four short sentences, each carrying distinct information, with no filler.

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 two-parameter tool with no output schema, the description usefully explains that the return value is the image itself, which the agent needs to know. Remaining gaps are edge-case handling (oversized or unreachable images) rather than anything required to call it correctly.

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 both parameters are already fully documented, including the three accepted input forms and the open default. The description restates those forms and the browser-open semantics rather than adding new detail, so the baseline 3 applies.

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?

States a specific verb and resource ('Load an image and return it inline') plus the reason it exists ('so you and GUI clients can actually see it'), which cleanly separates it from generation, saving, and upscaling siblings. An agent can tell this is an inspection/preview tool without opening the schema.

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 a clear usage context: 'useful for inspecting a generation result before continuing', which tells the agent when to reach for it. It stops short of naming alternatives (e.g. use save_image to persist instead) or stating when not to use it, so it lands at 4 rather than 5.

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