Skip to main content
Glama

Paste

paste

Inserts long text into a page via Ctrl+V from the browser’s own clipboard, optionally targeting an element first, so editors such as Google Docs receive it at the caret.

Instructions

Pastes text with Ctrl+V from the browser's own clipboard (the machine's clipboard is never touched), clicking into the element first when an id is given. Faster than type for long text; the page sees a real paste of plain text, which an editor such as Google Docs gives the formatting at the caret.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "paste"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoAn element id from a listing, such as a12.
textYes
quietNoAnswer without the changed elements (what opened on top, the focus and announcements stay); for pages such as Google Docs where every key changes much of the listing.
expect_focusNoSend nothing unless this element has the keyboard focus right before the first key (in Google Docs, the "Document content" textbox); a refusal names what has the focus. On a Chromaphore newer than release 2.0.0, type also stops when the focus leaves it midway and says what went out; older builds check once and cannot read a frame of another site or origin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.2
    • addedInput schema / additionalProperties
      Added value: +{}
    • addedInput schema / properties / expect_focus
      Added value: +{
      +  "description": "Send nothing unless this element has the keyboard focus right before the first key (in Google Docs, the \"Document content\" textbox); a refusal names what has the focus. On a Chromaphore newer than release 2.0.0, type also stops when the focus leaves it midway and says what went out; older builds check once and cannot read a frame of another site or origin.",
      +  "type": "string"
      +}
    • addedInput schema / properties / quiet
      Added value: +{
      +  "description": "Answer without the changed elements (what opened on top, the focus and announcements stay); for pages such as Google Docs where every key changes much of the listing.",
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the safety burden and does well: it discloses that the host machine clipboard is untouched, that an extra click into the element precedes the paste, and that the page receives a genuine plain-text paste event. It does not cover prerequisites such as needing a focused tab or what failure looks like, though the schema's expect_focus text partially fills that gap.

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?

Two dense, front-loaded sentences with the mechanism stated first and the sibling comparison second; nothing is redundant. The trailing clause about Google Docs applying formatting 'at the caret' is slightly tangled prose but still carries useful information.

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 4-parameter interaction tool with no output schema and no annotations, the description covers the mechanism, the clipboard side effect and the element-targeting behavior, which is the bulk of what an agent needs. Gaps remain around prerequisites (focused tab, page state) and failure modes, which are only indirectly covered via the expect_focus parameter description.

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 75%, so the schema already documents id, quiet and expect_focus, giving a baseline of 3. The description adds real meaning only for id (the element gets clicked before pasting) and leaves quiet and expect_focus entirely to the schema, so it does not meaningfully exceed the baseline.

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 ('Pastes text with Ctrl+V from the browser's own clipboard') and immediately frames the mechanism differently from a system-clipboard tool ('the machine's clipboard is never touched'). The clause 'Faster than type for long text' explicitly separates it from the type sibling, so an agent can pick between them without reading either schema.

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 clear selection rule against a named sibling ('faster than type for long text') and states the condition that triggers element focusing ('clicking into the element first when an id is given'). It stops short of naming when not to use it (e.g. for rich/HTML content or when the clipboard sibling is the right call), so it sits at a strong 4 rather than a 5.

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