Skip to main content
Glama

Get style reference image

get_style_reference
Read-onlyIdempotent

Fetch a style reference by id and return its image (PNG/JPEG/WebP/GIF) so you can visually pick among list_style_references results. Does not spend credits. Pass the same id as style_reference_id to generate_pixel_art / apply_with_ai / generate_variants.

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": {
      "style_reference_id": "<style_reference_id>"
    },
    "name": "get_style_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
style_reference_idYesStyle reference id from list_style_references or upload_style_reference.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds real value: zero credit cost, supported image MIME types, and the fact that the id is reusable across three generation tools. The one gap is that it never says whether the image comes back as inline bytes, a URL, or an attachment reference — relevant since there is no output schema to fall back on.

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-loading the action and return type, then the workflow hook, then the reuse rule. No restatement of the title and no filler; each sentence carries a distinct, actionable fact.

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?

For a single-parameter read tool with no output schema, the description covers purpose, cost, formats, and downstream use. It falls just short of full completeness by omitting the shape of the returned image payload and any size/type fallback behavior.

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 100% and the parameter already documents its provenance, so the baseline would be 3. The description earns a bump by clarifying that this same value is passed as style_reference_id elsewhere, which makes the id's role in the wider pipeline concrete rather than just a UUID field.

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 ('Fetch a style reference by id'), plus the concrete return payload ('its image (PNG/JPEG/WebP/GIF)'). It explicitly positions itself against the sibling it complements ('so you can visually pick among list_style_references results'), so an agent can separate inspection from enumeration without reading either 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 an explicit workflow trigger — call this after list_style_references to visually choose — and names the downstream consumers (generate_pixel_art / apply_with_ai / generate_variants) with the id-mapping rule. It also pre-empts a cost concern with 'Does not spend credits', which removes the main hesitation an agent might have about calling it repeatedly.

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