Skip to main content
Glama

Create product views

create_product_views
Destructive

Buy nine product photos from one source photo. This is a paid operation, separate from the free 3D preview. Query product_views_credits with get_credits and obtain authorization. On timeout recover the existing set using list_product_views before retrying.

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": {
      "max_credits": "<max_credits>"
    },
    "name": "create_product_views"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
promptNo
image_urlNoPublic HTTPS JPEG, PNG or WebP URL; up to 4 MiB
upload_idNoOwner-scoped id from authenticated POST /api/uploads; expires after one hour
max_creditsYesMaximum credits explicitly authorized for this action
content_typeNo
image_base64NoCanonical base64, at most 3129344 decoded bytes; requires content_type

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
errorYes
linksYes
viewsYes
promptYes
statusYes
creditsYes
renderIdYes
createdAtYes
viewCountYes
readyCountYes
buildCreditsYes
polishCreditsYes
upscaleCreditsYes

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?

Annotations already declare destructive=true, non-idempotent, and open-world, so the description adds real value by disclosing that credits are consumed (a paid operation), that authorization is required, and that timeouts are possible with a defined recovery path. It does not say whether credits are consumed or refunded on failure, nor what the destructive aspect concretely destroys.

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?

Three tight sentences, front-loaded with the outcome before operational preconditions and recovery advice. 'Query product_views_credits with get_credits' is slightly awkward phrasing but no sentence is wasted.

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?

An output schema exists, so return shape need not be described. For a destructive, credit-consuming operation the description covers cost, authorization, and timeout recovery; only failure/refund semantics and input-source selection remain unaddressed.

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 coverage is 57%, and the description only adds meaning for max_credits (an authorization ceiling) and the single 'source photo' input, without clarifying the mutually exclusive image_url / upload_id / image_base64 alternatives or the roles of name and prompt. That leaves a meaningful portion of the 7 parameters undocumented in both places.

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?

The opening sentence states a specific verb ('Buy'), resource ('nine product photos'), and input ('from one source photo'), so the agent knows exactly what the call produces. It also distinguishes the operation from the free 3D preview path, separating it from render_3d-style siblings.

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 concrete preconditions: query credits with get_credits, obtain authorization, and on timeout recover existing sets with list_product_views before retrying. It also implicitly steers free/preview use elsewhere by noting this is paid and separate from the free 3D preview. No explicit 'do not use when' clause beyond that contrast.

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.