Skip to main content
Glama

Get a picture upload link

get_picture_upload_link

Makes a link where the person adds their own photos to a website from their phone or computer, so the photos never pass through the conversation. Give them uploadUrl: it takes up to 10 photos of up to 20 MB each and works for 24 hours. Each photo is saved as images/, made smaller to suit a web page. When the person says they are done, list_website_files shows the saved paths to use as the src of an in the pages. Making the link changes nothing on the website. For photos already passed to you as files, save_website_pictures saves them directly.

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": {
      "websiteId": "<websiteId>"
    },
    "name": "get_picture_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
editKeyNoThe editKey start_website returned, which proves the website is the caller's. Leave it out for a website in the connected account.
websiteIdYesThe websiteId start_website returned, or one list_sites shows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: capacity of up to 10 photos at 20 MB each, a 24-hour lifetime, storage path pattern images/<file name>, and automatic downscaling for the web. It also addresses the readOnlyHint=false ambiguity by stating plainly that making the link changes nothing on the website. Only minor gaps remain, such as what happens to expired links or whether the URL is single-use.

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

Conciseness4/5

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

Front-loads the purpose and the actionable instruction ('Give them uploadUrl') before the limits and the follow-up flow. The sentences are dense and each carries real information, though the closing alternative-tool sentence could be tightened without loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 still explains what the caller receives (uploadUrl), its constraints, where files land, and how to consume the results via list_website_files as an img src. That is enough for an agent to run the full upload-and-embed workflow correctly.

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 both parameters carry their own descriptions explaining editKey's role as proof of ownership and websiteId's origin. The description adds no parameter-level detail of its own, which is acceptable given the schema already does that work.

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 — it makes a link where the person uploads their own photos to a website — and immediately scopes it against the alternative path of passing photos through the conversation. An agent can distinguish this from save_website_pictures and list_website_files without opening any schema.

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?

Gives explicit routing: use this when the person adds their own photos from phone or computer, use save_website_pictures when the photos were already passed as files, and use list_website_files once the person says they are done. Both the when and the when-not are named with their conditions.

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.