Skip to main content
Glama

get_user_preferences

Read-onlyIdempotent

Retrieve user preferences from ComfyUI output history to identify reusable workflow templates, frequently used models, and preferred settings for consistent ComfyUI workflow setup.

Instructions

Get user preferences extracted from analyzing their ComfyUI output history. Returns commonly used workflows (as reusable templates), frequently used models, and preferred settings.

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": "get_user_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelLimitNoMax models to return
includeModelsNoInclude model usage stats
workflowLimitNoMax workflow templates to return
includeSettingsNoInclude common settings
includeWorkflowsNoInclude workflow templates

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so safety is covered. The description does add real value by revealing the data is computed from output-history analysis (inferred preferences, not user-declared settings) and that workflows are returned as reusable templates. It stops short of saying how current the analysis is, whether it is cached, or what an empty history yields.

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, zero filler, and the source of the data (output history) is front-loaded before the list of what is returned. Every clause carries information the caller needs.

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 five optional defaulted parameters, no required inputs, and no output schema, the description does the necessary work by enumerating the three return categories. It is nearly complete; only the freshness or caching behavior of the extracted preferences is left unexplained.

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?

All five parameters carry 100% schema description coverage, so the schema already explains modelLimit, workflowLimit, and the include* toggles. The description's mention of models, workflows, and settings loosely maps to those toggles but adds no new detail on limits, defaults, or interactions, 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?

Specific verb and resource (get user preferences) plus explicit disclosure of the three payload categories returned: workflow templates, models, and settings. It clearly conveys that the data is derived from output-history analysis rather than a raw read, though it never names a sibling (e.g. get_history or list_models) to distinguish itself from.

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 to call this before generating when it wants personalized workflows, models, or settings. There is no explicit when-to-use statement, no prerequisites, and no pointer to alternatives such as get_history for raw data versus this derived view.

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