Skip to main content
Glama

Create a share link

create_link

Create a public share link for a file or folder, with an optional password, expiry and download limit.

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": {
      "fileId": "<fileId>"
    },
    "name": "create_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesThe file or folder id
passwordNoA password visitors must type
expiresAtNoWhen the link stops working, an ISO 8601 date
maxDownloadsNoDownloads allowed before it stops

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description adds that the resulting link is publicly accessible and can be constrained by password, expiry and download limit, but says nothing about required permissions, whether repeated calls create duplicate links, or how to revoke one.

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?

A single front-loaded sentence that names the action, the target, and the optional controls with zero filler. Nothing could be removed without losing information.

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

Completeness3/5

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

With four fully documented parameters and no output schema, the main remaining gap is the return value — the description never says the call yields the share URL (and any metadata), which the agent needs since no output schema exists. It is otherwise adequate for a simple creation tool.

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 description coverage is 100%, so every parameter (fileId, password, expiresAt, maxDownloads) is already documented in the schema. The description merely restates those same three optional knobs without adding format, default, or interaction details, so the baseline 3 applies.

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 gives a specific verb and resource ('Create a public share link for a file or folder') plus the optional modifiers, so the agent knows exactly what the tool produces. It does not, however, distinguish itself from the sibling create_upload_link, which an agent could easily confuse with a share-link creator.

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?

Usage is only implied by the phrase 'public share link' — there is no explicit statement of when to use this versus create_upload_link, update_link, or get_download_link, and no prerequisites or exclusions are given. An agent can infer the general context but must guess at the boundaries.

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.

Resources