Skip to main content
Glama

Attach picture

attach_picture

Attach a screenshot or short screen recording to a Goal, step, or hand test so the Developer can view and enlarge it on the dashboard instead of opening a named file in chat.

Instructions

Show the Developer a screenshot or a short screen recording on the dashboard instead of naming a file in chat. It is copied (not moved) next to the plan, stays on this computer and out of git, and appears on the Goal, on the step or on the hand test you name; the Developer clicks it to enlarge. Allowed: .png .jpg .jpeg .webp .gif and .webm .mp4, up to 10 MB, with a short caption. To take one back, pass remove with its ID (such as 'p2') instead.

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

Input Schema

NameRequiredDescriptionDefault
goalNoThe claimed Goal's ID, such as 'ship-oauth-login'. Needed only when this Session holds several Goals.
pathNoThe file's path, absolute or from the project's folder.
taskNoThe ID of the Task it is about, such as 't3'.
removeNoThe ID of a picture to remove (such as 'p2'), instead of attaching one.
captionNoWhat it shows, in a few plain words (up to 200 characters).
hand_testNoThe ID of the hand test it is about, such as 'h2'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that the file is copied not moved, that it stays local and out of git, where it appears (Goal, step, or hand test), that the Developer can enlarge it, and the accepted formats and 10 MB limit. It leaves out error behavior and what is returned on success, though the mention of picture IDs like 'p2' implies one.

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

Conciseness5/5

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

Three sentences, front-loaded with the purpose and the alternative it replaces, then constraints, then the removal path. Details such as 'the Developer clicks it to enlarge' are short and each sentence adds distinct information; nothing is redundant with the schema.

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 six-parameter, annotation-free, no-output-schema tool, the description is close to sufficient: it covers the artifact's lifecycle, placement, constraints, and removal. The remaining gap is failure modes (wrong format, file too large, unknown picture ID), which an agent would otherwise have to discover by trial.

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 baseline is 3, and the description adds real meaning the schema does not: that the path must resolve to one of the enumerated image/video formats under the size cap, that the caption should be short, and that remove is a mutually exclusive mode rather than an extra field. It does not clarify how goal, task, and hand_test interact if more than one is passed.

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 names a specific verb and resource ('Show the Developer a screenshot or a short screen recording on the dashboard') and immediately distinguishes it from the default behavior it replaces ('instead of naming a file in chat'). An agent can tell what this tool produces and where the artifact lands 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?

It states the condition that selects this tool ('instead of naming a file in chat') and covers the inverse mode explicitly ('To take one back, pass remove with its ID (such as p2) instead'). What's missing is any guidance on when not to attach, e.g. sensitive content or oversized files beyond the stated 10 MB cap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.