Skip to main content
Glama

Renew File Reservations

renew_file_reservations

Extend active file reservation expiries for an agent without reissuing them, optionally limiting renewals by path pattern or reservation ID.

Instructions

Extend expiry for active file reservations held by an agent without reissuing them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_key": "<project_key>",
      "agent_name": "<agent_name>"
    },
    "name": "renew_file_reservations"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsNoRestrict renewals to matching path patterns.
formatNo
agent_nameYesAgent identity who owns the reservations.
project_keyYesProject slug or human key.
extend_secondsNoSeconds to extend from the later of now or current expiry (min 60s).
registration_tokenNo
file_reservation_idsNoRestrict renewals to matching reservation ids.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.3.5
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / agent_name / description
      Added value: +"Agent identity who owns the reservations."
    • addedInput schema / properties / extend_seconds / description
      Added value: +"Seconds to extend from the later of now or current expiry (min 60s)."
    • addedInput schema / properties / file_reservation_ids / description
      Added value: +"Restrict renewals to matching reservation ids."
    • addedInput schema / properties / paths / description
      Added value: +"Restrict renewals to matching path patterns."
    • addedInput schema / properties / project_key / description
      Added value: +"Project slug or human key."
  2. First observedv0.3.4

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that only 'active' reservations are extended and that no new reservations are created. It omits permission/identity requirements (agent_name plus an undocumented registration_token), what happens for expired or missing reservations, and any maximum expiry cap.

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?

A single tight sentence with the action and scope front-loaded and no filler. Its brevity is efficient, though some of the space saved could have been spent on usage or parameter guidance.

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

Completeness2/5

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

For a 7-parameter mutation tool with no annotations, a single sentence is thin — identity/auth prerequisites, filtering behavior via paths and ids, and edge cases are unaddressed. The presence of an output schema reduces the need to explain return values, but not the operational gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description mentions no parameters at all — not extend_seconds, paths, file_reservation_ids, or agent_name. With schema description coverage at 71% (not high enough for the baseline-3 rule), the description adds no meaning beyond the schema and leaves the undocumented parameters (e.g. format, registration_token) unexplained.

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 and resource ('Extend expiry for active file reservations') plus scope ('held by an agent'), and the phrase 'without reissuing them' distinguishes it from acquisition tools like file_reservation_paths. It does not explicitly name the sibling tools it differs from, so it stops short of a 5.

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?

'Without reissuing them' implicitly contrasts renewal with re-acquisition, implying when to pick this over acquiring reservations again. However, there is no explicit when-to-use, when-not-to-use (e.g. expired or foreign reservations), or named alternative such as release_file_reservations.

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