Skip to main content
Glama

Generate a prop reference

generate_prop_image
Destructive

A reference image of a story prop (the object alone on a pure white background), used whenever a scene includes it. Costs credits (see estimate_cost); the result arrives as a take: poll with get_jobs or wait_for_jobs.

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": {
      "prop_id": "<prop_id>"
    },
    "name": "generate_prop_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoA model id from list_models; omitted = the drama's default for this kind
notesNoExtra direction for this generation only (not saved to the story)
prop_idYesThe prop id (prp_…), from get_drama_context.
idempotency_keyNoAny unique string you choose; resending the same key returns the first job instead of paying twice
reference_asset_idsNoUploaded reference images (create_upload_url), e.g. a face to match

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Beyond the annotations, the description discloses two behaviors an agent would otherwise miss: the call consumes credits and the output is asynchronous, arriving as a take that must be polled. Those are exactly the operational facts that drive correct invocation. It does not explain what 'destructive'/open-world annotation actually means in practice or whether a failed job still charges credits.

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: the first defines the artifact and its visual constraints, the second covers cost and async retrieval. The cost warning is front-loaded before the polling instruction, and nothing is padded.

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 credit-consuming async generation tool, the description covers the essential call-and-collect loop, and an output schema exists so return shape needn't be explained. The only gap is preconditions such as whether the prop must already exist in the drama context before generating.

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 100%, so the meaning of prop_id, model, notes, idempotency_key, and reference_asset_ids is already documented in structured fields. The description adds no parameter-level detail (e.g. how notes interacts with the prop's saved description), so the baseline 3 applies.

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?

The description states a specific verb and resource ('A reference image of a story prop') and pins down the visual contract ('the object alone on a pure white background'), which an agent can distinguish from character/location generation siblings. It stops short of naming the siblings it differs from, so it is clear but not fully differentiated.

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?

'Used whenever a scene includes it' supplies a concrete trigger condition for calling the tool, and the text routes the agent to estimate_cost for pricing and to get_jobs/wait_for_jobs for retrieval. It offers no explicit when-not guidance (e.g. reusing an existing take before regenerating), so it falls short of a full 5.

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.