Skip to main content
Glama

Get attachment

jellyfin_get_attachment
Read-onlyIdempotent

Fetch a specific video attachment from Jellyfin by providing the video ID, media source ID, and attachment index.

Instructions

Get video attachment.

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": {
      "video_id": "<video_id>",
      "media_source_id": "<media_source_id>",
      "index": "<index>"
    },
    "name": "jellyfin_get_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes
video_idYes
media_source_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds nothing further: it does not say whether the response is binary content, a redirect/URL, or metadata, nor whether access restrictions apply to attachments.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four words with no padding, so nothing is wasted, but the brevity reflects under-specification rather than efficient communication. There is no structure beyond a bare phrase.

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

Completeness2/5

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

With three mandatory undocumented parameters, no output schema, and an opaque resource name, the description leaves the agent unable to form a correct call or interpret the result. It would need to explain the attachment concept and the role of each identifier.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three required parameters (video_id, media_source_id, index) have 0% schema description coverage, and the description mentions none of them. What the index enumerates, or how media_source_id relates to video_id, is completely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get video attachment" gives a verb and a resource, so the basic operation is identifiable, but it never clarifies what an attachment actually is in this API (subtitle file, font, embedded image) or how the result differs from sibling retrieval tools such as jellyfin_get_additional_part or jellyfin_get_audio_stream.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g., that a video and media source must already be known), and no routing to any alternative tool. The agent must infer everything from the name.

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