Skip to main content
Glama

ebay_create_document_from_url

Create an eBay listing document from an HTTPS URL in PDF, JPEG, or PNG format up to 10 MiB. Verify document acceptance with get_document before attaching it to a listing.

Instructions

Create a listing document from an HTTPS URL: PDF, JPEG/JPG or PNG up to 10 MiB. Check ebay_get_document for ACCEPTED before attaching it to a listing. Requires sell.inventory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languagesYeseBay LanguageEnum values, e.g. ENGLISH
documentUrlYes
documentTypeYeseBay DocumentTypeEnum, e.g. USER_GUIDE_OR_MANUAL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations show it is a mutating but non-destructive call; the description adds the sell.inventory OAuth scope, 10 MiB size cap, and the acceptance-check workflow. No contradiction. It does not describe response or failure modes, but the valuable context goes beyond structured annotations.

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

Conciseness5/5

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

Two compact sentences front-load the core action and constraints, then give the required follow-up. No filler.

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?

Covers the operation, formats/size, required scope, and next step via ebay_get_document, which is enough to invoke it correctly. The only notable omission is the exact return shape/document ID, but the get_document handoff partially compensates for the missing output schema.

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?

Schema already describes languages and documentType with examples; the description adds important semantics for documentUrl by declaring accepted remote file types and size, which the schema does not cover. It doesn't enumerate valid enum values, but the examples plus URL constraint provide a workable baseline.

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?

The description names a concrete operation (create), a resource (listing document), and a distinctive input source (HTTPS URL). It also enumerates accepted formats and size, making it easy to distinguish from sibling create/upload tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear context: use when you have a supported URL and need a document for a listing, and explicitly prescribes checking ebay_get_document for ACCEPTED before attaching. It stops short of naming the preferred alternative (e.g., ebay_create_document) or saying when not to use it.

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