Skip to main content
Glama

Share a file with a temporary link

share_storage_file
Idempotent

A private download link for one file that anyone holding it can open, valid for expires_hours (1 to 168, default 24). Use it to share a file with someone outside the account. The customer approves the exact file and lifetime first (confirm: true).

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": {
      "service_id": "<service_id>",
      "region": "<region>",
      "bucket": "<bucket>",
      "key": "<key>"
    },
    "name": "share_storage_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
bucketYesBucket name (3-63 lowercase letters, digits, dots, hyphens).
regionYesRegion code from storage_plans or storage_overview, e.g. fra (Frankfurt), usa (Virginia), sgp (Singapore).
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
service_idYesObject Storage service id, as returned by the matching list tool.
expires_hoursNoHow long the link works (default 24).

Output Schema

NameRequiredDescriptionDefault
urlNo
expires_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The description adds real behavioral context beyond the annotations: the link is bearer-token style ('anyone holding it can open'), bounded to 1-168 hours, and gated on explicit customer approval. With readOnlyHint=false and idempotentHint=true already supplied, the remaining gaps are about lifecycle (can a link be revoked, what happens on repeat calls) and these are left implicit.

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?

Three short clauses, front-loaded with what the link is and who can open it, with no filler. The opening sentence is a noun phrase rather than a verb phrase, which slightly slows an agent looking for the action verb, but nothing is wasted.

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 6-parameter mutation with full annotation coverage and an output schema, the description covers purpose, exposure model, lifetime bounds, and the confirm gate, which is sufficient to call it safely. It omits revocation and repeat-invocation behavior, which would matter for an agent managing link lifetimes.

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 83%, so the schema already documents every parameter, including the expires_hours 1-168 range and the confirm const. The description mostly restates those facts, adding only the workflow ordering that the customer approves the exact file and lifetime before confirm is set. That is a modest gain over the schema baseline.

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?

The description names the concrete artifact produced (a private download link for exactly one file) and its access model (anyone holding it can open), which is specific enough for an agent to recognize the operation. It does not, however, distinguish this from a close sibling such as storage_file_link, so the agent must infer the split.

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 a clear selection condition: 'Use it to share a file with someone outside the account.' It also states a prerequisite gate (customer approval before setting confirm: true). It stops short of naming when-not-to-use cases or a specific alternative tool for internal sharing or other link types.

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.