Skip to main content
Glama
askadvaith

MCP State Sidecar Server

by askadvaith

lease_renew

Renew an active lease by extending its TTL to prevent expiration during long-running tasks. Requires matching holder ID.

Instructions

Extend an existing lease's TTL while still holding it.

Call this periodically from long-running agents to prevent their lease from expiring mid-execution. The holder_id must match the current holder.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
holder_idYes
resource_idYes
ttl_secondsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
renewedYes
expires_atNo
resource_idYes
Behavior3/5

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

No annotations provided, so description must cover behavioral traits. It mentions TTL extension and holder_id matching, but does not describe error behavior, idempotency, or effect on lease duration. Adequate but incomplete.

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?

Two sentences, no redundancy, front-loaded with key action. Every sentence adds value.

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?

For a simple renew tool with output schema present, description covers purpose, usage, and parameter constraint. Could mention what happens on failure (e.g., mismatched holder), but overall sufficient.

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 0%, so description must compensate. It adds meaning by linking holder_id to the current holder and ttl_seconds to the new TTL, but does not detail each parameter's format or allowed values. Baseline 3 due to low 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 clearly states 'Extend an existing lease's TTL while still holding it,' which specifies the verb (extend), resource (lease), and differentiates from siblings like lease_acquire and lease_release.

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?

Provides explicit when-to-use guidance ('Call this periodically from long-running agents to prevent their lease from expiring mid-execution') and a key constraint ('holder_id must match the current holder'). Lacks explicit when-not-to-use but context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/askadvaith/MCP-State-Sidecar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server