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

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_secondsNoThe new lease length in seconds from now, 1 to 86400, default 60. It cannot pass the absolute 24 hour limit.

Output 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
    • addedInput schema / properties / ttl_seconds / description
      Added value: +"The new lease length in seconds from now, 1 to 86400, default 60. It cannot pass the absolute 24 hour limit."
  2. 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."
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (which only say this is a non-read-only, non-idempotent, non-destructive local operation), the description discloses the hard 24-hour absolute ceiling that TTL renewal cannot exceed and the secrecy requirement on the owner token. It omits what happens on an expired lease or invalid token, which would complete the picture for a non-idempotent mutation.

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?

Five short sentences, front-loaded with the action and the timing condition, with no filler. The final 'No authentication is required' sentence is useful but sits slightly at odds with the required secret owner token, making the ending a touch abrupt.

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?

With an output schema present, return values need no explanation, and the schema fully documents parameters. For a four-parameter mutation with annotations, the description covers purpose, timing, secrecy, and the renewal ceiling — only failure modes (expired lease, wrong owner) are unaddressed.

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%, so key, namespace, owner_token, and ttl_seconds are all documented in the schema itself. The description only echoes the owner-token secrecy and the 24-hour cap, both already present in the schema text, so it adds little parameter meaning beyond structured data.

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 ('Extend') and resource ('lease') with an ownership qualifier ('that this caller still owns'), which meaningfully separates it from acquire_lease, complete_lease, and release_lease. It does not explicitly name any sibling, so differentiation is inferential rather than stated.

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?

'Use it before the current TTL ends when work is still running' gives a clear triggering condition and implicit exclusion (do not call when work is done — use complete_lease/release_lease instead), but those alternatives are never named.

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.