Skip to main content
Glama

get_shot

Retrieves a screenshot image from a session directory using its relative path, enabling AI coding agents to attach visual evidence to recorded utterances.

Instructions

A screenshot image. path is relative to the session dir, e.g. shots/011-mark.jpg

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": {
      "path": "<path>"
    },
    "name": "get_shot"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose a genuinely useful behavioral rule — the path is resolved relative to the session directory — but it never says what is actually returned (inline image bytes, URL, or base64) or what happens if the path does not exist.

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?

Two short, front-loaded fragments with zero filler, and the example is placed where it matters most. The opening noun phrase is slightly clipped for a tool description, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter retrieval tool with no output schema or annotations, the essentials are mostly present: what it returns conceptually and how the path resolves. The return format and error behavior remain undocumented, which is the principal gap for a tool whose whole output is an image.

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 0% for the single path parameter, and the description compensates meaningfully by defining the resolution base (session dir) and giving a concrete example path format. It does not say whether a leading slash or absolute path is accepted, which is the only remaining ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"A screenshot image" names the exact resource returned, and the path example (shots/011-mark.jpg) makes clear this fetches one stored screenshot rather than, say, audio or ASR output like its siblings. It lacks an explicit verb such as "retrieve"/"return", but the function is unambiguous to an agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement of when to call this versus get_dom_state, get_body, or other sibling getters, and no note on prerequisites such as needing a prior capture step. The agent must infer usage entirely from the word "screenshot".

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