Skip to main content
Glama

AI SENSE Free Public Tools

Renew lease

renew_lease

Extend a lease that this caller still owns. Use it before the current TTL ends when work is still running. The owner token is required and must stay secret. Renewal cannot move the absolute 24 hour limit. No authentication is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesWork identity. With a namespace use 1 to 128 URL-safe ASCII characters, starting with a letter or digit. Without one use a caller-generated secret of 32 to 200 ASCII characters from A-Z, a-z, 0-9, dot, underscore, colon, tilde or hyphen, with at least eight distinct characters.
namespaceNoOptional 256-bit namespace from create_lease_namespace. Keep it secret.
owner_tokenYesSecret owner token returned by acquire_lease.
ttl_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
resultNo
statusYes
owner_tokenNo
ttl_secondsNo
completed_atNo
fencing_tokenNo
lease_expires_atNo
absolute_expires_atNo
retry_after_secondsNo
completed_at_timestampNo
lease_expires_at_timestampNo
absolute_expires_at_timestampNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / key / description
      Previous value: -"Work identity. With a namespace it may be a short URL-safe name. Without one it must be a caller-generated high-entropy secret of at least 32 characters."New value: +"Work identity. With a namespace use 1 to 128 URL-safe ASCII characters, starting with a letter or digit. Without one use a caller-generated secret of 32 to 200 ASCII characters from A-Z, a-z, 0-9, dot, underscore, colon, tilde or hyphen, with at least eight distinct characters."
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare non-read-only, non-idempotent, and non-destructive. The description adds important behavioral details: renewal cannot move the absolute 24-hour limit, no authentication is required, and the owner token must stay secret. These go beyond the annotations and help the agent understand side effects and security constraints.

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 three concise sentences, front-loaded with the action and key constraints. No unnecessary words or repetition.

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?

Given the presence of an output schema and detailed annotations, the description covers all necessary usage aspects: when to use, the 24-hour limit, authentication, and owner token security. No critical information for calling the tool correctly is missing.

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 coverage is 75% (key, namespace, owner_token have descriptions; ttl_seconds lacks a description). The description itself doesn't add parameter-specific details beyond what the schema already provides, so it doesn't significantly enhance understanding. Baseline of 3 is appropriate given the high schema coverage.

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 states a specific action ('Extend a lease'), the resource ('a lease that this caller still owns'), and a key constraint ('cannot move the absolute 24 hour limit'). It clearly distinguishes from siblings like acquire_lease, complete_lease, and release_lease by focusing on extension of an existing lease.

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 provides a clear usage condition: 'Use it before the current TTL ends when work is still running.' It also notes that renewal cannot extend beyond the absolute limit. However, it doesn't explicitly mention alternatives like complete_lease or release_lease, though the context implies them.

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.