Skip to main content
Glama
HLH2023
by HLH2023

terminal.paste

Paste text into a terminal session with safeguards for large pastes and secret detection. Confirm large pastes over 2000 characters.

Instructions

Paste text into a terminal session with large-paste and secret detection safeguards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSession ID from terminal.start — use exact value
textYesText to paste into the terminal
confirmLargePasteNoRequired when text length is greater than 2000 characters
modeNoPaste mode: bracketed, line-by-line, or raw
Behavior2/5

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

Without annotations, the description carries full burden. It mentions 'safeguards' but does not detail what occurs when a secret is detected or what threshold defines a large paste, lacking specific behavioral disclosure.

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?

Single sentence with front-loaded purpose ('Paste text into a terminal session') followed by concise qualifiers. No redundant or unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 4 parameters, no output schema, and no annotations, the description is too brief. It omits explanations of paste modes, how confirmLargePaste interacts with safeguards, and error handling, leaving significant gaps for safe usage.

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 100%, so baseline is 3. The description adds context about large-paste and secret detection but does not elaborate on parameters like confirmLargePaste or mode beyond what the schema already provides.

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 description clearly states the verb 'paste' and the resource 'terminal session', and distinguishes itself from siblings like terminal.type by mentioning safeguards for large pastes and secrets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool (when pasting text that may be large or contain secrets) but does not explicitly contrast with alternatives like terminal.type or terminal.keys, leaving usage guidance vague.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HLH2023/terminal-use-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server