Skip to main content
Glama

get_listing_file

Read-only

Retrieves a single file attached to a digital Etsy listing by shop, listing, and file ID. Use it to fetch digital product files; physical listings return an empty result.

Instructions

Retrieves a single file associated with the given digital listing. Requesting a file from a physical listing returns an empty result.

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": {
      "shop_id": "<shop_id>",
      "listing_id": "<listing_id>",
      "listing_file_id": "<listing_file_id>"
    },
    "name": "get_listing_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
shop_idYesThe unique positive non-zero numeric ID for an Etsy Shop.
listing_idYesThe numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction.
listing_file_idYesThe unique numeric ID of a file associated with a digital listing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.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 one genuinely useful behavioral fact beyond that — a file requested from a physical listing returns an empty result rather than an error — but says nothing about the returned file object's fields, size limits, or URL/auth requirements.

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

Conciseness2/5

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

The substantive content is two efficient sentences, but they are buried behind raw HTML banner markup (release badge, bug-report link, production-ready notice) that is pure noise and precedes the actual purpose. The front-loading is therefore poor even though the prose itself is tight.

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 three-required-parameter read with no output schema, the definition covers the core behavior and one important edge case, but leaves the shape of the returned file undocumented — no output schema exists to fill that gap. It is adequate but not self-sufficient.

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%, and all three IDs (shop_id, listing_id, listing_file_id) are documented in the schema itself. The description adds no meaning beyond the schema — it does not, for example, explain how listing_file_id is obtained or whether the file must belong to the given listing.

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?

"Retrieves a single file associated with the given digital listing" gives a specific verb and resource, and the word "single" implicitly distinguishes it from the sibling get_all_listing_files. It stops short of naming that sibling, so the differentiation requires a small inference.

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: fetch this when you need one specific file rather than the whole set. The note that physical listings yield an empty result is a useful precondition, but there is no explicit when-to-use/when-not-to-use guidance or named alternative.

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