Skip to main content
Glama

get_listings_inventory_by_listing_ids

Read-only

Retrieves inventory records for specified Etsy listing IDs in bulk, enabling stock and SKU checks across up to 100 listings per request.

Instructions

Retrieves the inventory record for each listing referenced by listing ID. Requires the listings_r OAuth scope. Limit 100 listing IDs per request. All requested listing IDs must exist — if any single ID is not found, the entire request returns a 404. SKUs within product records are only returned for listings owned by the authenticated user; they are stripped (returned as empty string) for listings owned by other sellers.

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_ids": "<listing_ids>"
    },
    "name": "get_listings_inventory_by_listing_ids"
  }
}

Input Schema

NameRequiredDescriptionDefault
listing_idsYesThe list of numeric IDS for the listings in a specific Etsy shop.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior5/5

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

Goes well past the readOnlyHint/openWorldHint annotations with genuinely decision-relevant behavior: all-or-nothing semantics (a single missing ID fails the whole request with 404) and SKU stripping to empty string for listings owned by other sellers. These are non-obvious traits an agent could not infer from the schema or annotations.

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?

The substantive prose is dense and front-loaded with the right facts, but the description opens with two blocks of raw HTML banner markup and a bug-report link that carry zero value for tool selection. That boilerplate occupies roughly the first third of the text.

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 single-parameter read tool with full schema coverage and no output schema, the description covers auth scope, batch limit, failure semantics, and field-level filtering — nearly everything needed to call it correctly. Only a brief hint about the returned shape (per-listing inventory records with products/SKUs) is left implicit.

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

Parameters4/5

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

With one parameter at 100% schema coverage the baseline is a 3, and the description earns a bump by adding a constraint the schema lacks — the 100-ID-per-request limit (the schema declares minItems but no maxItems). It does not add ID format or ordering detail, so it stops short of a 5.

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

Purpose5/5

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

States a specific verb and resource ("Retrieves the inventory record for each listing referenced by listing ID") and makes the batch-by-IDs scope explicit, which distinguishes it from get_listing_inventory (single listing) and from get_listings_by_listing_ids (listing data, not inventory). An agent can select it without opening the schema.

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 gives prerequisites and hard constraints (listings_r OAuth scope, 100-ID cap, all IDs must resolve) but never states when to prefer this over the single-listing sibling or what happens with mixed valid/invalid input beyond the 404 note. Usage is implied by the constraints rather than routed explicitly.

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