Skip to main content
Glama
pebblehost-mcp
by numycode

Get a download link for a file

get_file_download_link
Read-only

Generate a one-time browser download link for a file on a hosted Minecraft server by providing its relative path and optional server identifier.

Instructions

Returns a one-time link to download a file from the server in a browser.

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": {
      "path": "<path>"
    },
    "name": "get_file_download_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile path, relative to the server's root directory, such as "server.properties" or "plugins/LuckPerms/config.yml".
serverNoServer identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds the useful behavioral detail that the link is single-use and browser-oriented. It does not disclose link expiry, authentication requirements, or whether the URL is signed/short-lived, which matter for a one-time credential-bearing response.

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?

A single front-loaded sentence with no filler; the key fact (one-time link) appears immediately. It is arguably over-terse given the omitted guidance, but nothing is wasted.

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?

For a simple two-parameter read-only tool with full schema coverage and no output schema, the description is minimally sufficient: the agent knows it yields a one-time download link. It stops short of describing what the return value looks like (URL string) or how long the link remains valid, which are the details an agent would need to use the result correctly.

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%, with both 'path' and 'server' fully documented including examples and the PEBBLEHOST_ALLOW_ALL_SERVERS restriction, so the schema carries the parameter burden. The description adds nothing about either parameter, which is acceptable at baseline 3.

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?

States a specific verb and resource: returns a one-time download link for a file on the server. The 'one-time' qualifier and 'in a browser' delivery are distinguishing details, but it does not differentiate itself from the sibling get_backup_download_link, which reads similarly.

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

Usage Guidelines2/5

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

No explicit when-to-use or when-not-to-use guidance. It implies a browser-download scenario but never says how this differs from read_file (view contents) or get_backup_download_link (backup artifacts), leaving the agent to infer routing from the name alone.

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