Skip to main content
Glama

reeflip

Start uploading a photo

app_start_photo_upload

Called by Reeflip's app in the chat, never by you. Step 1 of an upload in the app: a signed link for one photo of this type and exact size, for 15 minutes. The browser sends the file with method to url with headers, then calls app_finish_photo_upload with photo_id. The link is a password to the upload while it works: never show or keep it.

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": {
      "content_type": "<content_type>",
      "size": "<size>"
    },
    "name": "app_start_photo_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeYesThe file's exact size in bytes; up to 25 MB.
content_typeYesThe type the file will be sent as: image/jpeg, image/png, image/webp, image/avif or image/heic.

Output Schema

NameRequiredDescriptionDefault
urlYes
methodYes
headersYesSend these exactly. The browser sets Content-Length from the file.
photo_idYesThe photo's id, for addPhoto.
expires_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover readOnly/destructive/idempotent hints, while the description adds the details that matter for this tool: the link is scoped to one photo of an exact type and size, expires in 15 minutes, must be treated as a secret, and must not be retained. It also describes the return shape (url, method, headers, photo_id), which is behavior an agent needs beyond the annotation flags. Nothing conflicts with the non-read-only, non-idempotent annotations.

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?

The description is front-loaded with the most important qualifier ('never by you') and then walks the flow in order. It is dense but nearly every clause carries information. The only minor cost is that the security warning and the flow steps share one long sentence, which slightly blurs the structure.

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?

An output schema exists, so return values need not be enumerated, yet the description still explains how to use url/method/headers and what to pass to the next call. For a two-parameter, single-purpose step in a multi-call flow, this is complete: an agent knows when to call it, what to send, and what to do afterward.

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 the schema already documents size and content_type, and that sets the baseline at 3. The description adds meaning beyond the schema by tying the two parameters together: the link is bound to one photo of that exact type and exact size, so a mismatch will break the upload. That is a real constraint the schema does not state.

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 produces a signed upload link for exactly one photo of a given type and size. It also positions the tool in the flow ('Step 1 of an upload in the app') and names the follow-up tool app_finish_photo_upload, so an agent can distinguish it from the other photo-upload siblings without opening a 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?

It gives an explicit exclusion ('Called by Reeflip's app in the chat, never by you') and an explicit sequence: obtain the link here, then have the browser PUT/POST the file to url with headers, then call app_finish_photo_upload with photo_id. The when-to-use and what-to-do-next conditions are both spelled out, not implied.

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