Skip to main content
Glama

MCPFax Agent Continuity

Extend a lease you hold

lease_renew
Idempotent

Extend a lease you still hold, using the fence token you were given. FREE. Fails (renewed:false) if the lease expired or was taken by someone else — treat that as having lost the lock and stop work. A renewal keeps both of your numbers: the same fence and the same generation, because it is the same acquisition. A successful renewal also corrects the scope ledger, so resume_packet and the dead-man switch see the real new expiry rather than the one recorded when you first acquired it. FREE — this tool never charges. Authenticate with Authorization: Bearer , or pass agent_key as an argument if your host cannot set headers. Equivalent HTTP route: POST /v1/lease/renew.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe leased key. Example: 'queue/orders'.
fenceYesThe fence token from lease(). Required, and only the caller lease() handed it to has it — it is drawn independently for each acquisition, so it cannot be derived from an earlier one and the example below is a shape, not a usable value. Example: '3170294857216913'.
holderYesThe same holder id you acquired with. Example: 'worker-3-6f2a91'.
agent_keyNoYour agent_secret, if your MCP host cannot set the Authorization header. Prefer the header.
ttl_secondsNoNew lifetime from now. Default 60, max 3600. Example: '60'.

TDQS

A4.5/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: failure mode (renewed:false if lease expired/taken), preservation of fence and generation, side-effect on the scope ledger ('corrects the scope ledger, so resume_packet and the dead-man switch see the real new expiry'), cost (FREE), authentication method, and equivalent HTTP route. These are not present in the annotations and significantly help an agent understand side effects and failure handling.

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?

The description is mostly efficient and front-loaded with the core purpose. Minor redundancy occurs with 'FREE' appearing twice and the sentence 'FREE — this tool never charges.' being repeated. However, given the complexity of the tool's behavior, each other sentence earns its place. The slight redundancy keeps it from a 5.

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 no output schema, the description does well by mentioning the failure field (renewed:false), the side-effect on the ledger, and authentication. It does not describe the success response structure (e.g., new expiry value), but the description provides enough for an agent to understand the behavior and expected result. Slightly incomplete regarding return details.

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 coverage is 100%, so the baseline is 3. The description adds extra meaning by clarifying the fence token is from lease() and unique per acquisition ('it is drawn independently for each acquisition, so it cannot be derived from an earlier one'), and that holder must be the same as originally used. It also explains the agent_key param context (when headers cannot be set). These additions go slightly beyond the schema descriptions.

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 clearly states the tool's function: 'Extend a lease you still hold, using the fence token you were given.' It uses a specific verb (extend) and resource (lease), and distinguishes itself from sibling tools like lease_release (ending a lease) and lease (acquiring a lease). No ambiguity about what this tool does.

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?

The description gives clear context for when to use the tool: when you hold a lease and want to extend it. It also provides failure semantics ('Fails (renewed:false) if the lease expired or was taken by someone else — treat that as having lost the lock and stop work.'), which implicitly guides when not to proceed. It does not explicitly name alternatives, but the conditional and the 'same acquisition' wording make the use case clear.

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.

TDQS

A4/5.0
Disambiguation5/5

Every tool targets a clearly distinct mechanism—barriers, budgets, checkpoints, claims, heartbeats, inboxes, leases, work queues, etc. Even closely related pairs like claim/complete, work_done/inbox_ack, and barrier_status/work_status are explicitly differentiated in their descriptions, so an agent can reliably select the right tool.

Naming Consistency4/5

The dominant pattern is object_verb (e.g., checkpoint_get, work_push, seen_add, lease_release), which is consistent and readable. A few single-word verbs (claim, complete, send) and noun-only names (resume_packet, retry_state, whoami) break the pattern, but they are few and still intuitive.

Tool Count2/5

With 33 tools, the surface is well beyond the 25-tool threshold for 'too many' and will feel heavy for agents to explore, even though the tools are organized into subdomains. The scope is broad, but the sheer number makes the server less approachable and increases the chance of misselection.

Completeness5/5

The tool set provides thorough lifecycle coverage across its domains: checkpoints get/put, work queue push/take/done/fail/status, inbox poll/ack/nack/schedule, lease acquire/renew/release, barrier create/signal/status, dedup add/check, watermark get/set, retry state, budget check/record, and idempotency claim/complete. There are no obvious dead ends or missing essential operations.

Resources