Skip to main content
Glama
computer
by zznabil

Read clipboard

clipboard_read
Read-onlyIdempotent

Reads clipboard text, or retrieves the clipboard image as PNG when image is true, enabling desktop automation to inspect copied content.

Instructions

Read clipboard text; with image: true, the clipboard image as PNG 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": "clipboard_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNoRead an image instead of text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare this as a read-only, idempotent, non-destructive operation. The description adds important behavioral context by specifying the default return type (text) and the alternate return format (PNG image), though it does not cover edge cases like an empty clipboard.

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?

The description is a single compact sentence with the primary behavior front-loaded. Every clause contributes to explaining the default and image modes.

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 simple one-parameter read tool with annotations covering safety, the description is nearly complete. It explains both output modes but leaves out minor edge cases such as what happens when no clipboard content is available.

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%, and the parameter's schema description already says it reads an image instead of text. The description adds only the PNG output detail, which is useful but minimal beyond the structured schema.

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 states a specific verb and resource: read clipboard text. It also clearly distinguishes the image mode by saying image: true returns the clipboard image as PNG, so the tool's behavior is identifiable 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?

The description gives clear conditional guidance for the image parameter: use image: true to retrieve an image rather than text. It does not explicitly name when not to use this tool or point to the sibling clipboard_write, but the read versus write distinction is obvious.

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