Skip to main content
Glama

get_artwork

Read-onlyIdempotent

Check a generated artwork's status and retrieve its asset URL when ready; poll every 15 seconds or slower. Failed jobs refund generation credits; the URL requires your private API key.

Instructions

Check an artwork state after generation. Poll every 15 seconds or slower. Failed jobs refund generation credits. The asset URL requires your private API key.

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_artwork"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior, so the safety profile is covered. The description adds real value beyond that with the credit-refund-on-failure rule, the polling cadence, and the note that the asset URL needs a private API key. It does not say what states are possible or what a failed job response looks like.

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?

Three short sentences, front-loaded with the purpose, then operational constraints. No filler and nothing repeated from structured fields.

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

Completeness3/5

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

With no output schema, the description carries the burden of explaining the return value, and "artwork state" is left undefined: no enumeration of states, no indication of how a completed asset is delivered beyond a URL note. It is adequate to start polling but incomplete for interpreting the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description never mentions the single id parameter. It is ambiguous whether that id is an artwork id, a generation job id, or a model-scoped reference, which matters for calling the tool correctly.

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?

Names a specific verb and resource: "Check an artwork state after generation." That makes it distinguishable from mutating siblings like create_artwork, though it never explicitly contrasts itself with read siblings such as list_artworks or get_credits.

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?

The phrase "after generation" plus "Poll every 15 seconds or slower" tells the agent exactly when and how often to call it, which is unusually actionable. It stops short of naming an alternative (e.g., a webhook or a blocking create) for callers who want to avoid polling.

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