Skip to main content
Glama

Ask the person for their images

ask_for_images

For a picture the person has on their phone or computer and has not attached in the chat: gives a link where they upload it — their logo, photos, a signature scan; also when you see an attached picture but have no file of it. The person opens the link and picks the files; ask_for_images with the upload_id then returns each image's link (with its size and file name), for the document in render_pdf or update_document. The link also accepts the file’s bytes by POST. The link works for 24 hours and takes up to 50 images — photos straight from a phone or a camera too (HEIC, up to 40 MB each; brought to print size, 4096 px on the long side).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ask_for_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWhat to upload, shown to the person on the page, e.g. "Your company logo (PNG with a transparent background is best)". Only for a new link.
upload_idNoThe upload_id of a link you gave: what the person has uploaded to it so far.

Output Schema

NameRequiredDescriptionDefault
notesYes
imagesYes
uploadIdYes
expiresAtYes
uploadUrlYesThe link for the person.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare that this is a non-destructive, non-idempotent, non-open-world write; the description adds the details that actually matter: a 24-hour link lifetime, a 50-image cap, 40 MB per image, HEIC support, 4096 px normalization, and that the link also accepts raw bytes via POST. That is a fuller behavioral profile than the annotations provide.

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 opening condition is front-loaded, which is good, but the prose is a single dense run-on braced by dashes, parentheses, and semicolons, and details like the POST endpoint and pixel dimensions interrupt the core instruction. Every fact is useful, yet the packaging makes it slower to parse than it should be.

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?

For a tool with an output schema, the description supplies everything else an agent needs: when to reach for it, the two-call pattern, where the resulting links are consumed, and the operational limits on the link and files. Nothing material is left to inference.

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 coverage is 100%, so a 3 would be the baseline, but the description adds real meaning by explaining the two-phase flow: upload_id is how you retrieve what was uploaded, and note is surfaced to the person on the page. It does not spell out format or length constraints on either string, which keeps it shy 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?

The description states a specific verb and resource: it gives the person a link to upload an image the agent cannot otherwise obtain, and with an upload_id it returns each image's link. The two modes (create link vs. collect uploads) are stated explicitly, so an agent knows exactly what the tool does 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 Guidelines4/5

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

Clear triggering conditions are given: the person has a picture on a phone or computer not attached in the chat, or the agent sees an attached picture but has no file of it. It also states where the result goes (render_pdf or update_document), which frames the workflow. It stops short of explicitly excluding alternatives, but the conditions are concrete enough to route on.

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.