Skip to main content
Glama
baho0

capture-and-slack-mcp

by baho0

capture_window_and_post

Capture a screenshot of an app window and post it to Slack as a review. Use when no offscreen render exists.

Instructions

Screenshot the running app window (X11/KDE) and post it to Slack as a review. Use only when no offscreen render exists; otherwise prefer send_to_slack with a repro-rendered PNG.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trimNoAuto-crop a uniform border/background before posting.
titleNoTask/review title: the card header AND the file title in Slack. Defaults to the file name.
windowNoWindow title substring to capture (default CAPTURE_WINDOW_TITLE, e.g. 'Clonify'). Use 'active' for the focused window, or 'full'/'root' for the whole screen.
channelNoDestination (C.../D.../U...); defaults to SLACK_DEFAULT_CHANNEL.
messageNoCaption shown with the upload.
thread_tsNoReply into an existing review thread (pass an earlier `review_id`); omit to start a new one.
echo_imageNoAlso return the posted image so you can confirm what was sent.
allow_fullscreenNoPermit the whole-screen fallback when the window title can't be matched. Off by default so a missed match errors (NO_WINDOW_MATCH) instead of silently posting your whole desktop to Slack.
Behavior4/5

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

No annotations are provided, so the description carries full burden. It details key behaviors: fallback to fullscreen (with allow_fullscreen parameter explaining error vs silent posting), default window title via environment variable, and that thread_ts is for replying. Minor omission is the exact return value, but echo_image parameter partially addresses output.

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?

The main description is two concise sentences. Parameter descriptions are detailed but not verbose. Overall well-structured and easy to parse, though slightly longer due to complete parameter documentation.

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?

Given 8 parameters, no output schema, and no annotations, the description covers the tool's purpose, use case, and parameter details well. However, it does not explicitly describe the return value when echo_image is false (e.g., whether it returns a review_id or just posts), leaving some ambiguity.

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%, but the description adds value beyond schema. For example, title parameter explains its dual role as card header and file title, window parameter explains default env var and special values like 'active', and allow_fullscreen explains error behavior. This extra context justifies above baseline 3.

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 clearly states 'Screenshot the running app window (X11/KDE) and post it to Slack as a review.' It provides a specific verb, resource, and action, and explicitly distinguishes from sibling tool send_to_slack by specifying when to use each.

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?

The description explicitly states when to use this tool ('only when no offscreen render exists') and when to prefer the alternative ('otherwise prefer send_to_slack with a repro-rendered PNG'). This is strong usage guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/baho0/capture-and-slack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server