Skip to main content
Glama

VTorge Online Print Shop

Upload the print file

upload_layout

Upload the print file (layout) for one order item: a link (direct download link, or a public Yandex Disk / Google Drive file link) or the file content in base64. Two-sided printing needs both sides. Business cards and some flyers are checked automatically: the check server fixes the layout (CMYK, size, bleeds) and makes a preview for approval, returned by check_layout. Accepted: PDF, TIFF, JPG, PNG, CDR, EPS. Returns layout_token for create_order.

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": {
      "item": "<item>"
    },
    "name": "upload_layout"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity name ("Москва", "Kazan", "Almaty") or slug from find_city. Default: Moscow.
itemYes
back_urlNoLink to the back side file (two-sided printing).
back_nameNoFile name for back_base64.
front_urlNoLink to the front side file.
front_nameNoFile name for front_base64, e.g. card.pdf.
back_base64NoBack side file content, base64.
front_base64NoFront side file content, base64 (up to 20 MB). Use instead of front_url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With annotations declaring non-read-only, non-idempotent, open-world behavior, the description still adds real value: the server may alter the uploaded artwork (CMYK, size, bleeds) and produces a preview for approval via check_layout. It omits whether repeated uploads create duplicate layouts (relevant given idempotentHint=false) and whether uploads are permanent.

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?

Front-loaded with the core action and input modes, then workflow and format details. Dense but nearly every sentence carries information; the check-server sentence is slightly compressed and could be split for clarity.

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?

Covers input modes, format constraints, side effects, and the layout_token return that enables create_order, which is complete for a nested 8-parameter upload tool with no output schema. The remaining gap is failure/edge behavior: what happens when the automatic check rejects a layout, and whether non-auto-checked products require a manual check_layout call.

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 88%, so the schema already documents the nested item fields, front/back URLs and base64 variants. The description adds meaning by specifying that URLs may be direct downloads or public Yandex Disk/Google Drive links and by listing accepted file formats, but it does not clarify the front_url vs. front_base64 precedence beyond the schema's note.

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 ('Upload the print file (layout) for one order item') and immediately enumerates the two accepted input modes (link vs. base64). It also distinguishes itself from siblings by naming check_layout and create_order in the workflow.

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?

Explains the two-sided case ('needs both sides'), the automatic validation path for business cards/flyers, and that layout_token feeds create_order. It does not state explicit preconditions (e.g., product/material must come from get_price_table) or what to do when auto-check is not triggered, which leaves a routing gap.

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