Skip to main content
Glama

comfy_set_limits

Adjust VRAMGuard safety thresholds to control warnings, blocking, queue depth, and job timeout. Set values for warn percentage, critical block level, and maximum queue to prevent overload.

Instructions

Update VRAMGuard safety thresholds.

Args: warn_pct: VRAM percentage to trigger warn status (default 80.0) block_pct: VRAM percentage to trigger critical/block status (default 95.0) max_queue: Maximum queue depth before blocking (default 10) timeout: Job timeout in seconds (default 300)

Returns: JSON with updated threshold values

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNo
warn_pctNo
block_pctNo
max_queueNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already convey mutation (readOnlyHint=false) and non-destructiveness. The description adds that it updates warn/block thresholds, max queue depth, and timeout, and returns JSON with updated values. It does not disclose persistence, immediate effect, or scope of the change, so some behavioral ambiguity remains.

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?

The description is compact and scannable: a one-sentence purpose followed by a labeled Args section and a Returns line. Every sentence adds useful information, and no filler is present.

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 simple 4-parameter configuration tool, the description covers purpose, all parameters, defaults, and return behavior. It lacks when-to-use guidance and some context about how long settings persist or whether they apply globally, but an output schema exists and the core usage is well supported.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries full responsibility for parameter meaning. It fully delivers: each of the four parameters maps to a plain-language explanation and a default value (e.g., warn_pct=80.0, block_pct=95.0). This is exactly the compensation needed.

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 opens with 'Update VRAMGuard safety thresholds,' which clearly names the action (update) and the resource (safety thresholds). It distinguishes this from sibling monitoring/recovery tools like comfy_check_vram or comfy_free_vram by framing it as configuration rather than inspection or mitigation.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives, nor any prerequisites or warnings. The description only states the action and parameters, leaving the agent to infer the appropriate context.

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/dreamrec/ComfyPilot'

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