Skip to main content
Glama

Bring a picture into the film

fetch_picture

Fetches a picture from a web address into the person's storage and puts it on the video under a name the film finds it by. rights says why the film may use it: "licensed" for one from find_pictures (pass its credit line word for word; it is kept with the picture, and a licence that asks for credit means the credit goes in the captions or an end card), or "own" for a picture the person owns or has the rights to (their own site, their product, a picture they said is theirs). Nothing else may be fetched. PNG, JPG or WebP up to 10 MB, public addresses only. cutout: true then cuts its background away (a few credits); free otherwise. Returns a sheet of the video's pictures.

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": {
      "video": "<video>",
      "url": "<url>",
      "name": "<name>",
      "note": "<note>",
      "rights": "<rights>",
      "credit": "<credit>",
      "cutout": "<cutout>"
    },
    "name": "fetch_picture"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe picture's own address (from find_pictures, or a picture of theirs)
nameYesThe name the film finds the picture by
noteYesWhat it shows, for the sheet and the library
videoYesThe video's id, from start_video
creditYesThe credit line from find_pictures, word for word; empty for the person's own picture
cutoutYestrue cuts its background away and trims it, to move like a paper puppet (a few credits)
rightsYeslicensed: found with find_pictures; own: the person owns it or has the rights

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / cutout / description
      Added value: +"true cuts its background away and trims it, to move like a paper puppet (a few credits)"
    • addedInput schema / properties / name / description
      Added value: +"The name the film finds the picture by"
    • addedInput schema / properties / rights / description
      Added value: +"licensed: found with find_pictures; own: the person owns it or has the rights"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare non-read-only, open-world, non-destructive; the description adds real behavioral context beyond that: accepted formats and 10 MB cap, public addresses only, that the credit line is stored with the picture, that cutout=true costs 'a few credits' while the rest is free, and that it returns the video's picture sheet. The only gap is error/failure behavior for rejected rights or oversized files.

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 core action is front-loaded, but the single dense paragraph packs legality rules, credit handling, format limits and credit cost into long parentheticals, making it heavier than needed for a 7-parameter tool. No sentence is truly wasted, but the structure could be split so the constraints are easier to scan.

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?

For a mutation-style tool with seven required parameters and no output schema, the description covers legality, format limits, cost implications and the return value ('a sheet of the video's pictures'). What remains unstated is what happens on failure (invalid rights, private URL, oversized file), which is a meaningful gap for a non-annotated-as-reversible write path.

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 the schema already documents every parameter, which sets the baseline at 3. The description expands only the rights/credit pairing (licensed requires the credit line word for word; own means empty credit) beyond what the enum text gives, while video, name, note, url and cutout add no meaning beyond their schema descriptions.

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 ('Fetches a picture from a web address') plus the two effects it has: storing it into the person's storage and placing it on the video under a lookup name. It also names the sibling it sources images from (find_pictures), so an agent can distinguish sourcing from fetching.

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?

Explicitly enumerates the two permitted cases via the rights enum ('licensed' for one from find_pictures, 'own' for a picture the person owns or has rights to) and states an exclusion: 'Nothing else may be fetched.' It also gives downstream procedural guidance for licensed images (credit goes in captions or an end card when the licence requires it).

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