Skip to main content
Glama

release_file

Destructive

Release a session file and delete it from the server to free disk space. Use when finished processing an uploaded file.

Instructions

Release a session file and delete it from the server.

Call this when you are done with a file to free server disk space.

Args: session_id: The session_id returned by upload_file.

Returns: dict: A mapping containing: - success (bool): Whether the file was successfully released. - message (str): Human-readable result description.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false. The description adds valuable context by specifying the deletion target ('from the server') and the consequence ('free server disk space'), which goes beyond the generic destructive hint. The return value disclosure also aids transparency.

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?

The description is concise and well-structured: a one-sentence summary, a usage guideline, an args section, and a returns section. Every sentence adds value, and the format is easy to parse.

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

Completeness5/5

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

Despite having no output schema and only one parameter, the description covers all essential aspects: what the tool does, when to use it, how to get the parameter, and what the return value will be. This is complete for a simple, single-purpose tool.

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

Parameters5/5

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

The schema only labels the parameter 'session_id' with a type of string. The description enriches this by explaining that it is 'The session_id returned by upload_file,' which is critical for correct use. With 0% schema coverage, this fully compensates for the lack of built-in documentation.

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: 'Release a session file and delete it from the server.' The verb 'release' combined with the resource 'session file' and the deletion consequence precisely defines its purpose, distinguishing it from sibling tools like upload_file and download_file.

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 provides an explicit usage trigger: 'Call this when you are done with a file to free server disk space.' While it doesn't list when-not-to-use or alternative tools, the context of being done with a file is unambiguous and sufficient for most use cases.

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/mbeps/excel-mcp'

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