Skip to main content
Glama

release_task

Release a leased task by providing its lease generation, ensuring the task cannot be released by an outdated owner. Set final status for hand-back or completion.

Instructions

Give up the caller's lease on a TASK. lease_generation is required so a reaped-and-reassigned task cannot be released out from under its new owner.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoRecorded in the LEASE_RELEASED event.
statusNoTASK status to set on release. 'planned' is a voluntary hand-back.planned
task_idYes
binding_tokenNoOpaque token returned by this agent's join_session or plan_session. Required for reliable identity when logical agents share an MCP connection.
lease_generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are present, so the description carries the burden. It does disclose the critical race-condition guard (lease_generation protects against releasing a reaped-and-reassigned task), but doesn't explain side effects, idempotency, failure behavior, or what happens to the task after release.

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?

Two short sentences, front-loaded with the core action and then the single most important caveat. No filler or repeated schema content.

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 lease-release operation, the description plus schema covers the required identifiers and the safety guard, and status/note semantics are in the schema. It doesn't describe response/return value, but that appears acceptable given the tool's simplicity.

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 covers note, status, and binding_token well; the description adds crucial semantic context for lease_generation, which the schema leaves as a bare integer, by explaining its safety role.

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?

States a specific verb ('Give up') plus the target ('a TASK') and the lease relationship. It clearly distinguishes the action from general task updates, though it doesn't explicitly name sibling alternatives.

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?

Clear context: the caller is releasing its own lease, and the lease_generation requirement prevents releasing a task that was reassigned. It doesn't explicitly steer the agent to alternatives like renew_lease or update_task, but the operation's scope is unambiguous.

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