Skip to main content
Glama

Signal agent is working

ping_working

Claim or renew a review lease and signal active work so viewers show 'Agent is working...' instead of a stale stopped hint. Call it after taking the turn and periodically while working.

Instructions

Claim or renew your lease on a review while you hold the turn. Find work by polling list_reviews / get_status for reviews you own with turn=='agent'; on one, call ping_working right away and then periodically while you work, so the viewer shows 'Agent is working…' instead of a stale 'Agent may have stopped' hint. owner is YOUR opaque session id; a review already leased by a DIFFERENT owner returns an error (HTTP 409) — back off and skip it (another agent holds it). Does NOT change whose turn it is. Not available on a kind=latex review: there is no turn baton in latex mode.

Input Schema

NameRequiredDescriptionDefault
ownerYesyour opaque agent/session id; identifies who holds the lease
messageNooptional short status shown in the banner
document_idYesthe review id the comments belong to (the document_id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.4

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnly=false, destructive=false, openWorld=false; the description adds lease ownership semantics, the 409 conflict condition and correct response, the non-effect on turn state, and the UI consequence ('Agent is working…' vs stale stopped hint). That is substantive behavior an agent cannot infer from the structured fields.

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 the action, then discovery, cadence, failure handling, and the latex exclusion in descending order of importance. Every clause carries operational information; nothing restates the title or schema verbatim.

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?

For a lease/heartbeat tool with no output schema and only generic annotations, the description covers acquisition, renewal cadence, conflict handling, failure mode, side effects, and one platform exclusion. An agent has everything needed to call it correctly and to recover from the 409 case.

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 coverage is 100%, so the baseline is 3; the description earns above that by clarifying that `owner` must be YOUR session id and by explaining the cross-owner conflict outcome that makes the parameter's value matter. `message` is only implied ('status shown in the banner'), so it stops short of 5.

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 ('Claim or renew your lease on a review') plus what it is not ('Does NOT change whose turn it is'), which distinguishes it from siblings like hand_back and get_status. It also names the sibling tools used for discovery, so the agent can place it in the workflow without opening schemas.

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?

Explicit lifecycle guidance: poll list_reviews / get_status for reviews with turn=='agent', call this immediately, then periodically while working. It also gives a when-not ('Not available on a kind=latex review') and prescribes the recovery action on 409 (back off and skip).

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