Skip to main content
Glama

get_listing

Read-only

Retrieves an Etsy listing record by listing ID, returning details for active listings and owner-authorized access to inactive, draft, or expired listings.

Instructions

Retrieves a listing record by listing ID. Inactive, draft, and expired listings are visible only to the listing's owner, using an access token with the listings_r scope.

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": {
      "listing_id": "<listing_id>"
    },
    "name": "get_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
includesNoAn enumerated string that attaches a valid association. Acceptable inputs are 'Shop', 'Images', 'User', 'Translations', 'Videos', 'Personalization' and 'BuyerPrice'.
languageNoThe IETF language tag for the language of this translation. Ex: `de`, `en`, `es`, `fr`, `it`, `ja`, `nl`, `pl`, `pt`.
listing_idYesThe numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction.
allow_suggested_titleNoThis parameter will include in the response a suggested title for the listing, if one is available. Since suggestions are only available to the listing's owner, client must submit an oauth_access_token scoped to the owner of the listing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/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 genuine behavioral context beyond that: inactive, draft, and expired listings are only visible to the owner and require a token with listings_r scope. It still omits return format, error behavior, and how the 'includes' associations interact with visibility.

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 definition opens with two full div blocks of HTML styling, a 'Report bug' link, and a 'General Release' badge before any substantive content. The two meaningful sentences are efficient, but the response-tag markup is pure noise that should not appear in an agent-facing description.

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?

There is no output schema, so the description carries some burden of explaining return values, and it says nothing about the listing record's shape or what the includes associations return. It does cover the critical access-control caveat, making it minimally adequate for a simple read tool despite the markup clutter.

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 the input schema already documents listing_id, includes enum values, language, and the allow_suggested_title owner-token requirement. The description adds no parameter-specific detail, so the baseline 3 applies. Note that the owner-scope caveat in the description parallels the schema's allow_suggested_title note but never names that parameter.

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 operative sentence 'Retrieves a listing record by listing ID' gives a specific verb and resource, distinguishing it from plural/sibling tools like get_listings_by_listing_ids and get_listing_image. However, this clarity is buried beneath two blocks of HTML badge/banner markup that precede and dilute the actual purpose statement.

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?

The description never says when to call this tool versus alternatives (e.g., bulk lookups via get_listings_by_listing_ids, or sub-resource tools like get_listing_inventory). The only routing-adjacent information is the visibility rule for inactive/draft/expired listings, which is a precondition rather than guidance between tools.

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