Skip to main content
Glama

同步额度窗口预热状态

quota_resumer_set_prewarm_state
Idempotent

Sync control center state after a prewarm heartbeat is created, paused, or fails, ensuring accurate status for automated task resumption.

Instructions

在预热 heartbeat 创建、暂停或失败后,同步控制中心状态。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
stateYes
nextRunAtNo
lastMessageNo
automationIdsNo
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, readOnlyHint=false, and destructiveHint=false. The description adds that this is a synchronization step following lifecycle events, but it does not describe what 'sync' means in terms of side effects, how state transitions map to parameters, or what happens on failure. This is acceptable but not rich.

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 a single, compact sentence with no filler. It front-loads the trigger condition and states the action clearly. Conciseness is excellent, even though other dimensions lack depth.

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

Completeness2/5

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

For a tool with five parameters and no output schema, the description is too thin. It omits parameter semantics, the meaning of state values, how nextRunAt/lastMessage/automationIds are used, and what the synchronization outcome looks like. An agent would need additional documentation or inference to call this correctly.

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

Parameters1/5

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

Schema description coverage is 0%, and the description does not explain any of the five parameters: id, state, nextRunAt, lastMessage, or automationIds. The schema provides types and enums, but the description adds no meaning to any parameter, forcing the agent to guess at semantics.

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 identifies a specific action—synchronizing control center state—and a clear trigger context: after a prewarm heartbeat is created, paused, or fails. The prewarm vs policy distinction from sibling tools like quota_resumer_set_policy_state is implied by the resource focus, though the tool name carries much of this differentiation.

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?

The description explicitly states when this tool should be used: after prewarm heartbeat creation, pause, or failure. It does not mention alternative tools or exclusions, but the event-driven context is specific enough to guide selection.

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

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/cher9lie/quota-aware-resumer'

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