Skip to main content
Glama

List the reference roles generate_image accepts

list_reference_roles
Read-only

Lists the fixed roles a reference photo can have (pose, product, jewelry...) and what each means.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_reference_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
rolesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safe-read profile is covered. The description does add one useful behavioral fact beyond that: the role set is 'fixed' and each entry carries meaning, telling the agent the output is a stable, finite enumeration. It says nothing further about output shape, but the output schema is present so that burden is lifted.

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?

A single sentence with the core action and scope front-loaded, examples in a compact parenthetical, and the value proposition ('what each means') at the end. No filler, nothing redundant with the title.

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 static zero-argument enumeration with an output schema, the description covers everything needed to select and call it. The only missing piece is an explicit pointer that the returned roles feed generate_image / reference-photo workflows, which exists only in the title.

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?

The tool takes zero parameters, so per the baseline this scores 4. The description adds no parameter meaning because there is none to add, and the empty schema is consistent with the described no-argument lookup.

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 (lists the fixed roles a reference photo can have) and grounds it with concrete examples (pose, product, jewelry) plus the promise of meanings. An agent can distinguish it from list_reference_images or browse_presets because the examples make the 'role taxonomy' nature explicit. It stops just short of naming the consumer tool (generate_image) in the description body, which is why this is a 4 rather than a 5.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it should call this before/while assigning a role to an uploaded reference. There is no explicit statement of when to call it versus alternatives, and no mention of companion tools such as upload_reference_image, list_reference_images, or generate_image where the roles are consumed. Adequate but leaves routing to inference.

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