Skip to main content
Glama

clipboard

Idempotent

Read or write copied text for a target Chrome tab. Use read to check what a Copy button saved; use write to replace it, but this overwrites the user's copy. For form fields, use type_text instead.

Instructions

Read or write the system clipboard (text). Activates the tab and focuses its window first. write overwrites whatever the user had copied, which is not recoverable. To fill a field use type_text instead of write and paste; read checks what a Copy button copied, and an empty clipboard returns text "".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoFor write
actionYeswrite takes text; read returns the current clipboard contents
tab_idNoTarget tab; omitted = last tab navigated in this session, else the active one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.10.0
    • addedInput schema / properties / action / description
      Added value: +"write takes text; read returns the current clipboard contents"
    • addedInput schema / properties / tab_id / description
      Added value: +"Target tab; omitted = last tab navigated in this session, else the active one"
  2. First observedv1.8.0

TDQS

A3.7/5.0
Behavior1/5

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

The description states write 'overwrites whatever the user had copied, which is not recoverable' — a non-additive, irreversible replacement of existing data — while the annotations declare destructiveHint=false. Despite the otherwise valuable side-effect disclosure (tab/window activation, empty-clipboard behavior), the description directly contradicts the destructive annotation.

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?

Dense, front-loaded, and free of filler: purpose first, then side effects, then the routing advice. Tight overall, though the 'its window' antecedent is slightly loose and it packs several directives into one sentence.

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 usefully covers read's return edge case (empty clipboard -> ''), tab/window activation, and overwrite risk. It still says nothing about write's return value, but for a 3-param tool this is largely complete.

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 description coverage is 100% (action enum, text 'For write', tab_id fallback are all documented in the schema), so the baseline is 3. The description adds only one behavioral detail relevant to parameters (empty clipboard returns text ''), not additional semantics for text or tab_id beyond what the schema already says.

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 opening sentence gives a precise verb+resource ('Read or write the system clipboard') and scopes it to text, immediately distinguishing it from text-input siblings like type_text. An agent knows exactly what this operates on.

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?

It explicitly routes the agent: 'To fill a field use type_text instead of write and paste,' and explains the read use case ('checks what a Copy button copied'). This is an explicit when-to-use / when-to-use-something-else statement, not just implied context.

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