Skip to main content
Glama

Get product views

get_product_views
Idempotent

Read your product-view set’s state, quality flags, follow-up costs and authenticated ZIP URL. Poll until ready or failed.

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": {
      "id": "<id>"
    },
    "name": "get_product_views"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

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

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

The annotations already establish idempotent=true, destructive=false and openWorldHint=true, so the description's real contribution is the async lifecycle disclosure (state transitions to ready or failed) and the fact that the response carries an authenticated ZIP URL, meaning a credential is needed to actually download. Minor tension: the verb "Read" frames this as purely passive while readOnlyHint=false implies side effects, but since polling a job often triggers server-side work this reads as framing rather than a real conflict.

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?

Two sentences, both earning their place: the first enumerates the returned data and the second gives the polling contract. The most actionable instruction is front-loaded with zero 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?

An output schema exists, so enumerating every return field is unnecessary, and the description covers the async behavior an agent must handle. The remaining gap is operational detail — no polling interval or backoff guidance and no indication of how long a set typically takes to reach a terminal state.

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 0% and the single required `id` parameter is undocumented in the schema, so the description must carry the burden. "Your product-view set's state" only indirectly implies that `id` identifies the product-view set; it adds nothing about format, length, or where to obtain the id.

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?

"Read your product-view set's state" names a specific retrieval target and then enumerates what the payload contains (state, quality flags, follow-up costs, authenticated ZIP URL), so the agent knows exactly what it gets back. It never distinguishes this from siblings like list_product_views or get_render, which is why it stops at 4 rather than 5.

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?

"Poll until ready or failed" gives a concrete usage pattern plus the terminal conditions that end the polling loop, which is the key operational guidance for an async job tool. It provides no exclusions or named alternatives (e.g., use list_product_views to enumerate sets), so it falls short of the when/when-not bar.

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