Skip to main content
Glama

get_paste_item

Read-onlyIdempotent

Retrieve the full content and metadata of a clipboard history item by its numeric ID, as provided by clipboard search or add operations.

Instructions

Return the full content and metadata of one clipboard history item by its numeric ID. Read-only. IDs come from search_clipboard results or from add_to_clipboard. Output is plain text: a header (ID, type, source app, favorite flag, size, creation time, whether it came from a remote device) followed by the content: the text of text/html/rtf items, the URL and page title of links, hex and RGBA values of colors, or the file names of file/image items (binary data is not returned). Returns an error if 'id' is missing, not a number, or matches no existing item. Use search_clipboard first when the ID is not known.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesNumeric ID of the clipboard item, as reported by search_clipboard or add_to_clipboard

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.1
    • changedInput schema / properties / id / description
      Previous value: -"The paste item ID"New value: +"Numeric ID of the clipboard item, as reported by search_clipboard or add_to_clipboard"
  2. First observedv2.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly/idempotent/non-destructive), and the description goes well beyond them with output shape per item type, the explicit exclusion of binary data, and the exact error conditions. This is real added disclosure rather than restating annotations.

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?

Purpose, ID sourcing, output format, errors, and the search fallback are packed densely and front-loaded, with no filler sentences. It is on the long side for a single-parameter getter, so it isn't maximally tight, but every clause carries information.

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?

With no output schema, the description takes on the return-value burden and does so by type (text/html/rtf, links, colors, files/images) plus the header fields and error behavior. An agent can call this and interpret the result without further documentation.

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%, so baseline is 3; the description adds value by explaining where valid IDs originate and enumerating the invalid cases ('missing, not a number, or matches no existing item'). It stops short of describing ID ranges or reuse semantics.

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 ('Return the full content and metadata of one clipboard history item by its numeric ID'), which cleanly separates it from list/search siblings. The singular 'one ... item' plus the ID keying makes the retrieval-vs-search distinction unambiguous.

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?

Explicitly names the sources of the ID (search_clipboard results or add_to_clipboard) and gives a routing rule: 'Use search_clipboard first when the ID is not known.' That is a concrete when-to-use and alternative in one line.

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