Skip to main content
Glama

get_comfyui_settings

Retrieve ComfyUI's stored UI settings. List all or get a specific setting by ID to inspect frontend preferences like preview method or link rendering mode.

Instructions

Read the ComfyUI frontend's per-user UI settings (the Comfy.* ids the Settings panel writes, served by the frontend user manager). Read-only. This is NOT get_defaults — get_defaults is our own MCP SQLite store, while these are ComfyUI's own persisted UI settings. Provide id to read one setting's raw stored value; omit id to list all stored settings (optionally narrowed by filter). Known ids include Comfy.Validation.Workflows (boolean; its strictness rejects some custom-node workflows), Comfy.PreviewMethod (auto|latent2rgb|taesd|none), Comfy.LinkRenderMode (0 straight / 1 linear / 2 spline / 3 hidden), Comfy.UseNewMenu, and Comfy.Sidebar.Location. Ids are frontend-defined and stored verbatim; keys never written by the user are absent here and fall back to invisible frontend defaults. Values are surfaced with their raw stored type (no coercion). Requires a reachable local or remote ComfyUI; not available in Comfy Cloud mode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoSetting id, e.g. 'Comfy.Validation.Workflows'. Omit to list all stored settings.
filterNoCase-insensitive substring filter on setting ids when listing (e.g. 'preview'). Ignored when `id` is given.
Behavior5/5

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

No annotations exist, so the description fully bears the burden. It discloses read-only behavior, raw stored type return (no coercion), fallback behavior for absent keys, and the requirement for reachable ComfyUI. No contradictions.

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?

The description is informative and front-loaded with the core purpose. While it is somewhat lengthy, every sentence adds necessary context. Minor redundancy could be trimmed, but it remains efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has only two optional parameters and no output schema, the description fully covers usage, return behavior (raw values, no coercion), limitations (not in Cloud mode), and known ids. It is complete for an agent to use correctly.

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 input schema already has 100% coverage with descriptions for both parameters. The description adds value by providing concrete examples for `id` ('Comfy.Validation.Workflows') and for `filter` ('preview'), and clarifies that `filter` is ignored when `id` is given.

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?

The description clearly states the tool reads ComfyUI frontend's per-user UI settings and explicitly distinguishes it from the sibling `get_defaults`, which is an MCP SQLite store. It lists known setting ids and their types, making the purpose unmistakable.

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?

The description provides explicit usage guidance: read-only, when to provide `id` vs omit it, ability to narrow by `filter`, and states it is not available in Comfy Cloud mode. It also contrasts with `get_defaults`, guiding when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/artokun/comfyui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server