Skip to main content
Glama

Take Screenshot of a Source or Scene

obs_take_screenshot
Idempotent

Captures the current OBS scene or source as a screenshot, returning the image inline for visual checks or saving it to a specified file path for later use.

Instructions

Capture what a scene or source looks like right now.

Without save_path the image is returned so it can be looked at directly, e.g. to check that the game capture is not black before recording. With save_path OBS writes the image to that file and the path is returned. Defaults to the current program scene.

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

Input Schema

NameRequiredDescriptionDefault
widthNoImage width in pixels; height keeps the aspect ratio. Defaults to 960 inline, source size when saving
overwriteNoAllow replacing an existing file at save_path
save_pathNoAbsolute file path to save to, ending in .png or .jpg. Omit to get the image back inline
source_nameNoScene or input to capture. Defaults to the current program scene

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

The annotations mark this as non-read-only, idempotent, and non-destructive, which reads oddly at first glance; the description resolves the ambiguity by explaining that with save_path OBS writes a file to disk while without it the image is returned for direct inspection. It adds the default target (current program scene), though it does not say what happens if the source is missing or what the returned path looks like.

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?

Three short sentences, front-loaded with the outcome and then the output-mode branch. The parenthetical example earns its place by motivating the inline mode; little is wasted.

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?

With no output schema, the description does the necessary work of explaining what comes back in each mode. Combined with full schema coverage and annotations, an agent has enough to call this correctly; only error behavior (missing source, invalid path) is unspecified.

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 coverage is 100%, so width, overwrite, save_path, and source_name are already documented with defaults and constraints. The description restates the save_path branch and the default scene but adds no new format or value semantics beyond the schema, so baseline 3 applies.

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?

"Capture what a scene or source looks like right now" gives a specific verb, resource, and temporal scope. No sibling tool performs screenshots, so the definition does not need to disambiguate, and the dual inline/file output modes are stated immediately.

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 supplies a concrete when-to-use case: omit save_path to inspect the image inline, e.g. verifying a game capture is not black before recording. It does not enumerate when-not-to-use or name alternatives, but for this tool the main decision point (save vs. inline) is covered.

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