Skip to main content
Glama
computer
by zznabil

Read clipboard

clipboard_read
Read-onlyIdempotent

Read copied text from the clipboard, or set image to true to retrieve clipboard image data as PNG with a caption and estimated token cost.

Instructions

Read clipboard text; with image: true, the clipboard image as PNG with a caption and estimated token cost.

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

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's credit comes from adding return-shape detail: images come back as PNG with a caption and an estimated token cost. That token-cost note is genuinely useful context an agent can't get from the annotations, though the text path's return shape goes unmentioned.

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?

One compact sentence that front-loads the default behavior and the conditional branch, with no filler or restated name/title text.

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 single optional flag with no output schema, the description covers the default and the image branch well enough to call correctly. The text-mode return value (whether it also reports token cost or truncation) is the only small gap.

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% and the single parameter is optional, so the baseline is already 3. The description adds meaning beyond the schema's 'Read an image instead of text' by describing what the image result contains (PNG, caption, token cost), which the schema does not.

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?

States a specific verb and resource ('Read clipboard text') and immediately qualifies the mode switch, so an agent knows exactly what the tool does. It doesn't name clipboard_write or explain how it differs, so sibling differentiation rests on the name alone.

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

Usage Guidelines3/5

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

The usage distinction given is parameter-level (image: true reads an image instead of text) rather than tool-level guidance about when to reach for clipboard_read over, say, screenshot or element_set_value. Nothing contradicts correct use, but there are no explicit exclusions or prerequisites.

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