Skip to main content
Glama

Release a task lease

release_lease
Destructive

Release your active lease so another participating worker can acquire it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesResource id.
fenceYesFencing number returned by acquisition.
lease_tokenYesSecret proof of lease ownership.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the agent knows this mutates state and is not repeat-safe. The description adds the meaningful consequence that the lease becomes acquirable by another worker, but says nothing about ownership validation, failure modes, or what happens to a released task.

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?

A single front-loaded sentence with no waste; the action and its effect are stated immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need no explanation, and annotations cover the safety profile. However, for a destructive, non-idempotent lease mutation with three required parameters, the description omits error/ownership conditions and the interplay with renew_lease, leaving it only minimally adequate.

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?

Schema description coverage is 100% and the schema itself documents id, fence (fencing number from acquisition), and lease_token (secret proof of ownership). The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 (release) and resource (active lease) plus the effect (another worker can acquire it). It is clearly distinct from claim_task and renew_lease in spirit, though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies the usage context ('your active lease') so the agent understands this applies to a lease it currently holds, but there is no explicit when-to-use versus renew_lease or complete_task, and no stated prerequisites such as needing a valid fence/lease_token.

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.

Resources