Skip to main content
Glama
IrisRainbowNeko

hierarchical-codex

Renew task lease

task_heartbeat

Renew an active lease to prevent expiration during long operations, ensuring uninterrupted worker execution.

Instructions

Renew an active lease. Use this during long tool calls; an expired lease may be reclaimed by another worker.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskIdYes
workerIdYes
leaseTokenYes
leaseSecondsNo
idempotencyKeyYes
expectedVersionYes
Behavior3/5

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

No annotations are provided, so the description must carry behavioral disclosure. It mentions the consequence of an expired lease (reclaimed by another worker), which is useful. However, it does not disclose that this operation modifies state, bumps version, or handles idempotency, leaving some behavioral aspects implicit.

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 two short sentences with no extraneous filler. Every word adds value, stating purpose and usage timing efficiently.

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?

With six parameters, no annotations, and no output schema, the description is incomplete. It explains the core purpose but omits return values, error conditions, parameter semantics, and lifecycle details needed for correct usage.

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 provides no parameter explanations. The tool has six parameters including leaseToken, expectedVersion, and idempotencyKey, but the description does not clarify their purpose or required formats, leaving the agent to guess.

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 renews an active lease, using a specific verb (renew) and resource (active lease). This distinguishes it from sibling tools like task_release, task_fail, or task_block, which handle other lifecycle actions.

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?

It explicitly says to use during long tool calls to prevent lease expiry, which is a clear when-to-use context. It does not name alternatives or exclusion conditions, but the context is unambiguous for an experienced agent.

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/IrisRainbowNeko/codex-on-rails'

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