Skip to main content
Glama

esp_paste

Pastes Unicode text into the active field by updating the clipboard and sending a paste shortcut; cancels if clipboard or focus changes to prevent unintended pastes.

Instructions

Paste text through the clipboard: any Unicode (emoji, other scripts), as fast as one shortcut. Puts the text on the clipboard (excluded from clipboard history) and presses ctrl+v once in the foreground window. The text replaces the user's clipboard and stays there. Off unless the user enabled it (paste_disabled: use esp_type). Nothing is pasted when the clipboard or the foreground window changes first (clipboard_changed, focus_changed). Click into the target field first and check the screen.

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>",
      "control_id": "<control_id>"
    },
    "name": "esp_paste"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to paste, 1..100000 characters, any Unicode (emoji, other scripts). "\n" becomes a line break. It replaces the user's clipboard and stays there.
comboNoThe paste shortcut (esp_keys notation), default "ctrl+v"; e.g. "shift+insert" or "ctrl+shift+v" for terminals that need it.
control_idYesFrom esp_control begin.
request_idNoOptional idempotency key: repeating a call with the same request_id within 5 min returns the first receipt (also an uncertain one) without running the action again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations the description carries the full burden and does well: it discloses that the user's clipboard is replaced and retained, that clipboard history is bypassed, that ctrl+v fires once, that the tool may be disabled entirely, and that nothing is pasted on clipboard_changed or focus_changed. It stops short of describing the returned receipt/status or what an uncertain result looks like, which matters for a side-effecting tool.

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?

Front-loaded with the action and mechanism, followed by side effects, availability, failure modes, and preconditions, each in its own short clause. Minor redundancy between 'Puts the text on the clipboard' and 'The text replaces the user's clipboard and stays there', but every sentence otherwise earns its place.

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 side-effecting, annotation-free tool this covers preconditions, failure modes, clipboard side effects, and the fallback tool, which is most of what an agent needs. The main remaining gap is return/error semantics (receipt shape, what an uncertain or disabled outcome looks like), though there is no output schema to compensate.

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 all four parameters (including combo, control_id and request_id idempotency) are already documented in the schema. The description restates the clipboard-replacement behavior of text and the default shortcut but adds no new format or constraint detail beyond what the schema provides, so baseline 3 applies.

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 concrete verb and mechanism (paste text via clipboard, press ctrl+v once in the foreground window) and names the sibling it replaces when unavailable (esp_type). An agent can distinguish it from esp_type and esp_keys without opening any schema.

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?

Gives explicit when-to-use (any Unicode, emoji, other scripts, one shortcut), an explicit when-not (off unless enabled; on paste_disabled use esp_type), and a precondition ('Click into the target field first and check the screen'). It also hints at the terminal alternative via the combo parameter.

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