Skip to main content
Glama
LibreDesk MCP

LibreDesk MCP

by Passe12345

serve_media

Retrieve uploaded media by UUID, including thumbnails or forced downloads, while enforcing public, authenticated, or signed-URL access rules.

Instructions

Serve Media Public media is served without authentication. Private media requires authentication with access to the linked record, or a valid signed URL. Private media not yet attached to a record is served only to the user who uploaded it. GET /uploads/{uuid} Tags: Media

Input Schema

NameRequiredDescriptionDefault
expNoExpiry unix timestamp of a signed media URL. (query parameter)
sigNoSignature of a signed media URL. Used together with `exp`. (query parameter)
uuidYesMedia UUID. Prefix with `thumb_` to get an image thumbnail. (path parameter)
downloadNoPass `1` to force a download instead of inline display. (query parameter)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does so well: it discloses the authentication/authorization model, the signed-URL path, and the special case of orphaned private media. It is silent on response characteristics (binary vs redirect, content type, caching), which keeps it out of the top band.

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?

Four short sentences, no filler, and the critical access rules are stated before the endpoint notation. The opening 'Serve Media' duplicate of the tool name is wasted space, and the endpoint string would be better placed at the top than the bottom.

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 read-only media-serving call with full schema coverage and no output schema, the description covers the one thing an agent genuinely needs to know before calling: whether it will be authorized. Only minor omissions (response form, redirect behavior) remain.

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 uuid, exp, sig and download are already fully documented in the schema, and the description adds nothing further about them. Baseline 3 applies, though the auth paragraph indirectly motivates the exp/sig pair.

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 'GET /uploads/{uuid}' line plus the auth paragraph make clear this fetches/returns media for a given UUID, which is concrete enough for an agent to select it. The leading 'Serve Media' heading is essentially a restatement of the name, and no sibling (e.g. media_upload, download_conversation_transcript) is mentioned for contrast, so it stops short of a 5.

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?

The description does spell out the access conditions under which the call succeeds or fails (public media unauthenticated, private media needing record access or a signed URL, unattached private media restricted to the uploader), which is genuinely useful when-to-use context. However, it gives no explicit routing guidance against alternatives such as media_upload or the transcript download tool.

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

Deploy Server

Other Tools