Skip to main content
Glama

release_file_reservations

Destructive

Release active file reservations after finishing work so other agents can reserve those paths. Specify paths or reservation IDs to release a subset, or omit them to release all.

Instructions

Release your active reservations when you finish work so other agents can reserve those paths. While work continues, use renew_file_reservations instead. Omit both filters to release all; supply paths or file_reservation_ids for a subset. Empty filters impose no restriction; two nonempty filters must both match. Returns how many were released; zero is not an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsNoOnly your reservations with exactly these patterns.
agent_nameYesYour registered agent name.
project_keyYesAbsolute path of the repository's primary checkout.
file_reservation_idsNoOnly your reservations with these ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.2
    • addedInput schema / properties / file_reservation_ids / description
      Added value: +"Only your reservations with these ids."
    • addedInput schema / properties / paths / description
      Added value: +"Only your reservations with exactly these patterns."
  2. First observedv0.2.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent behavior, so the safety profile is covered. The description adds genuinely non-obvious behavior: the return value semantics ('returns how many were released') and that a zero count is not an error — a real anti-confusion signal. It does not restate that release is irreversible, but that is already implied by destructiveHint.

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?

Front-loaded with the action and the timing rule, then filter semantics, then return behavior. Every sentence carries distinct information; no repetition of the name or schema text.

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 4-param, no-output-schema mutation tool this is nearly complete: it covers when to call, how filters combine, and what the return count means. Minor gaps remain (nothing about reservation expiry or whether release is scoped per-project), but nothing that would cause a misinvocation.

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 baseline is 3, but the description goes further by defining filter interaction semantics the schema does not: empty filters impose no restriction, and two nonempty filters must both match. That clarifies the AND/OR behavior of paths vs file_reservation_ids, which the terse schema strings ('Only your reservations with exactly these patterns') do not.

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?

States a specific verb+resource (release active file reservations) and immediately frames the agent's situation ('when you finish work'). It is cleanly distinguished from the sibling renew_file_reservations, so no schema browsing is needed to tell them apart.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the alternative and the condition that selects it: use renew_file_reservations while work continues, use this when work finishes. It also spells out the filter decision (omit both to release all, supply paths or ids for a subset), leaving nothing to inference.

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