Skip to main content
Glama

Coinage

Create photo upload link

create_photo_upload_link

Make a private link where the seller picks photos from their own phone or computer and uploads them straight to the listing. Use it when you cannot pass the photo file to add_listing_photo. Requires scope listings:write. The link works for 30 minutes, only for this listing. Give the person the link and wait for them to say they are done; then call list_my_listings to see the photos and offer to publish. Do not open the link yourself or share it with anyone else.

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": {
      "listingId": "<listingId>"
    },
    "name": "create_photo_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingIdYesThe seller's draft or active listing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The annotations only declare it is a non-destructive, non-idempotent, closed-world write. The description adds substantive behavior the annotations cannot convey: the required listings:write scope, a 30-minute expiry, per-listing scoping, and the human-in-the-loop handoff workflow. These are exactly the operational constraints an agent needs before invoking it.

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?

Four compact sentences, each carrying distinct information: what it makes, when to use it instead of the sibling, the auth/expiry constraints, and the required follow-through. No filler or repetition.

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?

With no output schema, the description implies the return value ('Give the person the link') but does not explicitly state the response shape beyond that. Given the tool's simplicity, the auth scope, expiry, and post-call workflow make it nearly complete.

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 coverage is 100% and the single listingId parameter is already documented as the seller's draft or active listing. The description reinforces scoping ('only for this listing') but adds no new format or constraint details beyond the schema, so the baseline 3 applies.

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 gives a specific verb and resource ('Make a private link where the seller picks photos...') and explicitly distinguishes itself from the sibling add_listing_photo by naming when that one won't work. An agent can tell immediately this is a link-generation tool, not an upload tool.

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

Usage Guidelines5/5

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

It states the exact use condition ('when you cannot pass the photo file to add_listing_photo') and names the alternative, plus explicit prohibitions ('Do not open the link yourself or share it with anyone else'). It also describes the follow-up sequence: wait for confirmation, then call list_my_listings and offer to publish.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources