Skip to main content
Glama

clipboard_read

Reads text from the system clipboard—native host on macOS, page context elsewhere—so browser automation workflows can use copied content; optionally target a specific tab.

Instructions

Read system clipboard text (native host on macOS; page context elsewhere).

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
tabIdNoOptional browser tab id to act on instead of the focused tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It correctly signals a read-only operation and adds real behavioral context via the host-vs-page distinction, but omits whether only plain text is returned (no images/HTML), what happens with an empty clipboard, and whether a permission prompt or OS-level consent is required.

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?

One sentence, front-loaded with the verb and resource, and the parenthetical environment nuance is dense but earns its place. No filler or repetition.

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

Completeness5/5

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

For a single-optional-parameter read tool with no output schema and full schema coverage, the definition supplies what an agent needs: what is read and which context it comes from. Remaining gaps (empty-clipboard or permission behavior) are minor for a read operation.

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 single optional tabId is documented in the schema, so the baseline is 3. The description adds nothing about tabId — notably, it does not reconcile 'act on instead of the focused tab' with the macOS native-host behavior, which is the one point where extra meaning would have helped.

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?

Specific verb+resource: "Read system clipboard text" is unambiguous and distinguishable from the clipboard_write sibling by polarity. The parenthetical narrows scope further by naming the environment (native host on macOS vs page context elsewhere), so an agent knows which clipboard surface it touches, though no sibling is named explicitly.

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?

Usage is only implied — the definition never says when to prefer this over clipboard_write or browser_read, nor states any prerequisites such as clipboard-read permissions. The macOS/elsewhere note hints at context selection but leaves the decision to inference.

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