Skip to main content
Glama

Import a photo

import_photo

Use this when the user wants a photo brought into RipClip to edit it: "edit my picture", "fix the colors on this image". Up to 24 MB, kept at its own size. Returns job_id; job_status's clip_ids then holds the photo's id for the edit tools. Not for: videos (import_video) or changing what is in the picture, such as removing a person. Free.

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": "import_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNohttps link to a .jpg, .png or .webp picture, or a Google Drive, Dropbox or OneDrive share link open to anyone with the link. Empty if file is given.
fileNoA picture the user attached in the chat, passed by the assistant. Give this or url.

Output Schema

NameRequiredDescriptionDefault
nextYes
noteYes
job_idYes
statusYes
editor_urlYes
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / file / default
      Removed value: -null
    • removedInput schema / properties / url / default
      Removed value: -""
  2. Changed4 schema fields changed
    • addedInput schema / properties / file / description
      Added value: +"A picture the user attached in the chat, passed by the assistant. Give this or url."
    • addedInput schema / properties / url / description
      Added value: +"https link to a .jpg, .png or .webp picture, or a Google Drive, Dropbox or OneDrive share link open to anyone with the link. Empty if file is given."
    • removedInput schema / properties / url / title
      Removed value: -"Url"
    • removedInput schema / title
      Removed value: -"import_photoArguments"
  3. Changed1 schema field changed
    • addedInput schema / properties / file / type
      Added value: +"object"
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: discloses the 24 MB size cap, that the image keeps its own dimensions, that the call is free, and that it returns a job_id whose clip_ids in job_status carries the photo's id for downstream edit tools. That async workflow chain is exactly the kind of behavior an agent cannot infer from readOnlyHint/openWorldHint.

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-loaded with the use case, then scope exclusions, then the return/workflow note. Density is good, though the trailing one-word sentence 'Free.' reads as a fragment bolted onto the end rather than integrated information.

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 2-param import tool with a nested file object and an existing output schema, the description covers size limits, source formats, scope boundaries, cost, and the follow-up call needed to obtain the resulting clip id. Nothing an agent needs to invoke it correctly is missing.

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%, so url and file are already fully documented, including supported formats and the 'give this or url' exclusivity. The description adds only the 24 MB limit and size-preservation constraint, which is supplementary rather than parameter-level meaning.

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 action and resource ('a photo brought into RipClip to edit it') and anchors it to concrete user phrasings such as 'edit my picture' and 'fix the colors on this image'. It also names a sibling it is not (import_video), so an agent can distinguish it 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?

Explicit 'Use this when...' trigger conditions with example utterances, plus an explicit 'Not for:' clause routing videos to import_video and out-of-scope edits like removing a person elsewhere. Both the positive selection signal and the exclusion are present.

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