Skip to main content
Glama

Get image result

var2_get_image_result
Read-only

Status check for an IMAGE (picture / photo). "Is it ready / done yet?" / "check on it" / "where is my …" + placeholder_id or var2 link, media word = an IMAGE (picture / photo) → THIS tool. Status question with an id/link: NEVER answer null — one var2_get_*_result always matches; pick by MEDIA WORD. Action verbs ("animate it", "upscale", "extend it", "make a 3d model from it") → the matching create/modify tool with that url/id, NOT a status tool. Pair: var2_create_image / var2_modify_image. One immediate snapshot, never loop. The chat's preview polls every creation by itself - never poll. A status tool is called at most ONCE per creation, only when the user asks or a next call needs the finished URL (then with wait_seconds: 40). If that one check says it is still generating, stop: carry on without it and end your turn; check again only after the user's next message.

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": {
      "placeholder_id": "<placeholder_id>"
    },
    "name": "var2_get_image_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
inline_mediaNoDefault true. Pass false to skip the inline base64 payload and rely on the resource_link + structured URL only. ALWAYS pass false when the user already saw this asset (repeat status checks, chaining into another tool) — never re-render the same media twice.
wait_secondsNoOnly when a next call needs the finished file URL: this ONE check waits up to this many seconds (at most 40; clients drop longer calls) and returns as soon as the asset is ready. One check per creation - never a loop.
placeholder_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / wait_seconds / description
      Previous value: -"Only when you need the finished file URL for a next step: the call waits up to this many seconds and returns as soon as the asset is ready (images ~90, video / audio / 3D ~240). One waiting call - never check in a loop."New value: +"Only when a next call needs the finished file URL: this ONE check waits up to this many seconds (at most 40; clients drop longer calls) and returns as soon as the asset is ready. One check per creation - never a loop."
    • changedInput schema / properties / wait_seconds / maximum
      Previous value: -240New value: +40
  2. Changed1 schema field changed
    • addedInput schema / properties / wait_seconds
      Added value: +{
      +  "description": "Only when you need the finished file URL for a next step: the call waits up to this many seconds and returns as soon as the asset is ready (images ~90, video / audio / 3D ~240). One waiting call - never check in a loop.",
      +  "maximum": 240,
      +  "minimum": 0,
      +  "type": "number"
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnly/destructive/openWorld; the description adds genuinely new behavioral facts — one immediate snapshot, never loop, the chat preview auto-polls so polling must not be duplicated, and what to do if the asset is still generating (stop and end the turn). These are operational constraints the annotations cannot convey.

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 routing rule first, then exclusions, then operational limits, which is the right order for a status tool. It is dense and slightly repetitive in restating the no-polling rule across several sentences, but every sentence carries a decision-relevant constraint.

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?

With no output schema, the description covers the decision-critical return states (ready vs still generating) and the wait behavior, which is enough to act. It stops short of describing the snapshot's payload structure, though the inline_media parameter hint implies an inline payload plus resource link.

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

Parameters4/5

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

Schema coverage is 67%, and the description compensates: it clarifies that placeholder_id may be a var2 link/URL, and reinforces wait_seconds semantics (40s cap, single wait, returned as soon as ready). It does not explain inline_media's base64/resource_link tradeoff, leaving that to the schema.

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+resource ('Status check for an IMAGE (picture / photo)') and explicitly names the discriminating rule against siblings: pick among var2_get_*_result tools by MEDIA WORD. It also names the sibling tools it is NOT (create/modify) for action verbs, so an agent can route without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use triggers ("is it ready", "check on it", "where is my …" plus placeholder_id or var2 link), explicit when-not-to-use (action verbs like 'animate it' or 'upscale' go to create/modify), and names the concrete alternatives (var2_create_image / var2_modify_image). It further bounds usage with a hard rule: at most one check per creation.

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