Skip to main content
Glama

release_task

Idempotent

Give back a lease when the work is finished or abandoned, so another agent can pick the task up immediately instead of waiting for the lease to expire. Call it as soon as you stop working, including when you stop because the work failed. released=false simply means this session did not hold the lease; it is not an error worth retrying. This does not change the task status or its assignee.

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask whose lease to give back.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by documenting the returned released=false case and telling the agent it is not an error worth retrying, and by explicitly scoping the side effects to the lease only (no status, no assignee change). This is exactly the operational context that readOnlyHint=false, idempotentHint=true, and destructiveHint=false cannot convey on their own.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each load-bearing: purpose first, then timing, then the failure-mode caveat. Slightly dense but no filler; the released=false sentence is the only one an agent might skim past before reading it matters.

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?

With no output schema present, the description compensates by explaining the released flag's meaning and pre-empting the retry mistake. For a one-parameter, idempotent lease operation this covers everything needed to call it correctly.

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

Parameters3/5

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

Only one parameter and schema coverage is 100%, with the schema itself stating 'Task whose lease to give back.' The description adds nothing about the taskId format or source, so it sits at the documented baseline rather than adding value.

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?

Names a specific verb and resource ('give back a lease') and states the immediate payoff ('another agent can pick the task up immediately'). The closing sentence draws a hard boundary against update_task/assign_task by ruling out status and assignee changes, so the agent can distinguish it from the large mutation toolset without inspecting schemas.

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?

Gives explicit timing ('as soon as you stop working') and extends it to the failure case, which is the non-obvious one. It stops short of naming the complementary siblings (claim_task, renew_task_lease), so the when-not-this-tool routing is only implied rather than spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.