Skip to main content
Glama

update_progress

Update a task's progress field with an absolute value during long-running work. Smaller values are rejected; repeated calls are idempotent, so agents can report progress and avoid stall detection.

Instructions

推进某个任务的进度字段(长耗时任务用)。进度只增不减:传入比当前更小的值会被显式拒绝并告诉你当前值是多少(对齐 MCP 规范 progress 语义)。current 传绝对值而非增量,因此重复调用是幂等的、重试不会推两遍。建议长任务周期性上报 —— 否则会被 list_stalled 判定为停滞。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doneNo显式标记该项已完成
actorNo操作者标识,默认 agent
fieldNo要推进的 progress 字段 key;省略则用第一个
totalNo总量;省略则沿用任务上已有的 total
currentYes已完成的量(绝对值)。必填
messageNo当前在干什么,人类可读,如「上传中:第 300 个」
task_idYes任务 id(必填)
weight_bytesNo本项的权重(字节)。批量搬运场景下用它实现「按字节加权」——大的文件走得慢时进度条不会假装很快

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

With zero annotations, the description carries the full load and does so richly: monotonic-only semantics with explicit rejection of lower values plus the error returning the current value, idempotency via absolute values, and retry safety. These are exactly the non-obvious behaviors an agent needs.

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?

Front-loaded with purpose, then the critical monotonic constraint in bold, then idempotency, then the operational recommendation. Every sentence carries distinct information with no redundancy.

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 an 8-param, no-annotation, no-output-schema mutation tool, the description covers the crucial behavioral contract (monotonicity, rejection, idempotency, stalling). It doesn't describe the return payload beyond the rejection case, but the schema fully documents the remaining parameters, so coverage is nearly complete.

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?

Schema description coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the field docs by clarifying that current is absolute rather than a delta and drawing the idempotency consequence. That is a semantic contribution the schema does not spell out.

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?

States a specific verb+resource (推进进度字段) and scopes it to long-running tasks, with the parenthetical (长耗时任务用) routing the agent away from the general update_task sibling. An agent can identify the operation and its domain without opening the schema.

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?

Clearly states when to use it (long-running tasks) and adds an operational directive (report periodically) tied to a concrete consequence (being flagged by list_stalled). It stops short of explicitly naming update_task or get_task as alternatives, so it's clear context but not full when/when-not/alternative routing.

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