Skip to main content
Glama

get_clipboard

Read-only

Reads device clipboard content to verify copy-to-clipboard features, such as tracking codes and share links, confirming copied text on Android or iOS.

Instructions

Read the device clipboard content. Useful for verifying copy-to-clipboard features (tracking codes, share links). Works best on emulators/simulators; Android 10+ physical devices restrict clipboard access.

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": "get_clipboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true), and the description adds genuine behavioral context the annotation cannot: emulator/simulator reliability and the Android 10+ physical-device access restriction. It does not cover what is returned when the clipboard is empty or inaccessible, which keeps it off a 5.

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?

Two short sentences: purpose first, then the verification use case and the environment caveat. No filler, no restated name, nothing to trim.

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 only two optional parameters, a fully described schema, and a read-only annotation, the description supplies enough to invoke this correctly, including the primary failure mode on physical Android devices. The only looseness is the return/empty-clipboard behavior, which is minor given the tool's simplicity.

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%, so both parameters (platform, device_id) are already fully documented, including the inference behavior. The description adds no parameter-level detail beyond an incidental platform caveat, which is the expected baseline when the schema carries the load.

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?

States a specific verb and resource ('Read the device clipboard content') rather than restating the name, and the read framing cleanly separates it from the complementary set_clipboard sibling.

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?

Gives a concrete use case ('verifying copy-to-clipboard features (tracking codes, share links)') and a platform caveat, so the agent knows both when it is useful and where it is likely to fail. It stops short of naming an alternative tool or stating when not to reach for it at all.

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