Skip to main content
Glama

Set Storage File Description

set_storage_file_description
DestructiveIdempotent

[write] Set the description of one file of a storage account (storages_account_id or storages_account_uuid; file_path is the file's full path inside the zone, as list_storage_files returns it). Up to 500 characters; an empty or missing description removes it. The description shows in list_storage_files and follows the file when it is renamed or moved. The file must exist.

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": {
      "file_path": "<file_path>"
    },
    "name": "set_storage_file_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes
descriptionNo
storages_account_idNo
storages_account_uuidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses what is actually destroyed ("an empty or missing description removes it"), the 500-character limit, and downstream effects ("shows in list_storage_files and follows the file when it is renamed or moved"). That is exactly the extra behavioral context annotations cannot convey.

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?

It is a single dense paragraph with the write intent and core action front-loaded, and no sentence is filler. The heavy parenthetical packing of identifier and path semantics makes it slightly harder to scan than separate clauses would.

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 four-parameter mutation with no output schema, the description covers precondition, limits, null behavior, and downstream visibility. The only real gaps are error behavior on a bad path or an unresolvable account identifier, and whether both account identifiers may be supplied at once.

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?

Schema description coverage is 0%, so the description carries the full burden and does: file_path is defined as the full path inside the zone in list_storage_files format, storages_account_id/storages_account_uuid are presented as alternative account identifiers, and description gains a length cap plus null-is-removal semantics. All four parameters receive meaning the schema lacks.

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 opens with a specific verb+resource ("Set the description of one file of a storage account") plus a [write] tag, and it names list_storage_files as the source of the path format, which anchors it against the storage siblings. An agent can tell exactly what state change this tool causes without opening the schema.

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?

It gives practical preconditions and a discovery path: "the file must exist" and "file_path ... as list_storage_files returns it," which implies listing first. It also explains the null/empty-description case as a removal path. It stops short of naming explicit alternatives or exclusions (e.g., folders, or delete_storage_file for full removal).

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.